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 ForumsRepositoryRepositoryUsing TITLE as DOWNLOAD link...?Using TITLE as DOWNLOAD link...?
Previous
 
Next
New Post
11/22/2008 12:52 PM
 

We have customized a template and everything is fine...except for one issue.  In our article systems and other aspects of our site designs, usually the TITLE of something serves as the link. Using the repository, there are two tokens (TITLE and DOWNLOAD) which we would like to combine. In another posting in this forum, the response was that by using FILEURL as the src, you could use the TITLE as the link but that it did not update the click count. We want to use TITLE and update the click count.

Is there a way around this?

 
New Post
11/22/2008 8:31 PM
 

yep, edit your template.xml file and change the [TITLE] token settings to look like this... pay attention to the case of the setting name and value they are case sensitive

<Object>
    <Token>[TITLE]</Token>
    <Settings>
        <Setting>
            <Name>DOWNLOAD</Name>
            <Value>true</Value>
        </Setting>
    </Settings>
</Object>
 
New Post
11/22/2008 10:52 PM
 

Thanks Steve!

Unfortunately right after I posted this I started getting the Redirect Loop issue on my whole installation (all Portals)...so now I am completely down (nothing with Setting works (Settings (module), Site Settings (Admin), or Host Settings (Host))...

After a 14 hour session to meet a deadline, I am about ready to shoot the whole thing...!!!

However...if I ever get it working again, I will know how to fix this issue...again...Thanks!

Roy

 
New Post
11/25/2008 8:33 AM
 

Does this same method work to make the title the permalink?  I'd like to make the title the permalink instead of including it in the content.

 

Steve Fabian wrote

yep, edit your template.xml file and change the [TITLE] token settings to look like this... pay attention to the case of the setting name and value they are case sensitive

<Object>
    <Token>[TITLE]Token>
    <Settings>
        <Setting>
            <Name>DOWNLOADName>
            <Value>trueValue>
        Setting>
    Settings>
Object>

 
New Post
11/25/2008 8:50 AM
 

No, I'm sorry, there's no way that I can think of in the current version to use the PERMALINK as the title.  The PERMALINK token generates a hyperlink control with static text, it doesn't support dynamic text ( ie: the item title )

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUsing TITLE as DOWNLOAD link...?Using TITLE as DOWNLOAD link...?


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