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 ForumsBlogBlogDNN Blog Using tokens for URL replacementDNN Blog Using tokens for URL replacement
Previous
 
Next
New Post
9/13/2013 6:24 PM
 

Hello all,

I am currently working with the blog module on two different pages on a site. They use the same posts, but the home page is set to a theme that shows summary, and the actual page displays a theme that shows the full content. Basically, I am wondering if there are any tokens I can use to help to guide the url for "Read More" to my second page, and not on the current page. Right now:

 http://example.domain.com/press-releases/tabid/271/my-blog-post.aspx?Post=1322

is the exact link to an example post. I am currently trying to get my template to replace the title and post number so that it works with any post. Right now I have something like the following:

 http://example.domain.com/press-releases/tabid/271/[Post:localizedtitle].aspx?Post=[post:Blogid]

and it results in:

 http://example.domain.com/press-releases/tabid/271/my%20blog%20post%20.aspx?Post=3 

 which appears to be an equivilent of example.domain.com/press-releases, when I am trying to get to the post specifically.

 Does anybody have any ideas, or know of a token I could use to fashion the url to something like "?Post=1322 "

 Thanks,

 Bruce

 

 
New Post
9/13/2013 11:22 PM
 
This could not work, about the Content (Posts) are all on the other Portal.  Have you read the Manual ?
 
New Post
9/19/2013 4:49 PM
 

Okay, I figured it out. After reading the following thread:

http://www.dnnsoftware.com/forums/forumid/92/threadid/490621/scope/posts

 it lead me to the Latest Posts template, which uses the following token: [post:contentitemid]

Now when I use

http://example.domain.com/press-releases/tabid/271/[Post:localizedtitle].aspx?Post=[post:contentitemid]

I get the URL I was interested in, namely:

http://example.domain.com/press-releases/tabid/271/my-blog-post.aspx?Post=1322

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsBlogBlogDNN Blog Using tokens for URL replacementDNN Blog Using tokens for URL replacement


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