Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHow can I link directly to a pageHow can I link directly to a page
Previous
 
Next
New Post
11/4/2009 7:56 AM
 

Hi miken,

Not quite, actually its the other way round. I want to put a link within the repository which when clicked is either directed to an external site, or a page within the DNN site. I'm not bothered about showing the picture on another page. I just want the link to be wrapped around the image. In this case the link which I can choose or enter manually when uploading a new repository item. Look at it this way. Just an example. I create a news repository where I have a thumb image, brief text and say a read more link. The read more link needs to be linked to either an existing page on my site or it could be an external link. And the same link needs to be wrapped around the image. Hope that makes sense. So I could use that [URL] token to add my link, however as I mentioned before, it does not allow me to choose any existing page.

So all I want to know is, if there is another token which i'm not aware of, that allows me to select an existing page or enter url manually. Just like in the FCK editor, when you add a link and click browse server, you have an option of entering an external resource or an existing page. So I want something exactly like that. Is that possible?

Thanks

 
New Post
11/4/2009 11:18 AM
 

An easy solution is to put the link in the description and have it show.  You enter the description when you add an item so you could add the link there along with any text you wanted.  Not as elegant as adding it to the image, but it would work.

On a side note, the example you mentioned above is exactly how the announcement module works.  You enter announcements and pick links for the read more (a page or a url).  But you don't get the nice searching capabilities that you have in the Repository module.

 
New Post
11/5/2009 4:31 AM
 

Yes currently I have put the link in my description. But can't figure out how to put it around the image. Well one way is to just forget about the image as a seperate thing and rather put the image within the description, but that would require some html knowledge for the editor. Anyway I guess there is no such link token at the moment where I can select an existing page. I'll just have to live with the [URL] token where i'll have to manually type in the page url.

Will be glad if there are any more suggestions. By the way is there an updated version of the documentation for the latest Repository module, where I can see the available tokens?

 
New Post
11/5/2009 12:57 PM
 

ok, try this...

Edit your form.html file, change any [FILE] tokens to [URLCONTROLFILE], and any [IMAGE] token to [URLCONTROLIMAGE]

Then, edit the form.xml settings file, add tokens and settings for each token.  By default, you will be able to choose from an existing file on your server, or a link to a web page.  In order to allow you to select a 'page' on your web site, add a ShowTabs settings and set it to True

   1:  <Object>
   2:      <Token>[URLCONTROLFILE]</Token>
   3:      <Settings>
   4:          <Setting>
   5:              <Name>ShowTabs</Name>
   6:              <Value>True</Value>
   7:          </Setting>
   8:      </Settings>
   9:  </Object>
 
New Post
11/10/2009 4:25 PM
 

Hi Steve,

Thanks for your reply. I have followed your steps and used the [URLCONTROLFILE] token to select my page, however I don't know how to put that link in my template.html page. I tried using the [FILEURL] token but that doesn't work. Any other suggestion?

Thanks,
Wasim

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHow can I link directly to a pageHow can I link directly to a page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out