Community Blog app - How to set the name of HTML page title to be the same as the title of the post in single post view page

Author Message
georgeatha 24 Jun 2010 18:46 no-new-comments

User avatar

Joined:
19 Nov 2009
Location:
 
 

This is the situation Tom Swift and I get into two days ago:

Both of us installed the Blog application (we will put the procedure we followed in writing and publish it together with our experience/adventures while we installed and worked with the Clean Install to create a simple corporate website from scratch).

After we installed the created and isntalled the up, we realised that when you are looking at a post in a single Post view mode - the HTML Title pf the page is ViewPost and not the title of the post. How can we change that?

Boz Zashev 14 Jul 2010 14:20 {{new_comments_class}}

User avatar

Joined:
17 Dec 2008
Location:
Plovdiv
Bulgaria

The article presenting webframe ITBrix.Blog.ViewPost has a specific setting to set the title of the post it is presenting in the page context as a data variable. (eg. $_post-title ). Once set the value (the post title) is available to all other webframes and the platform via its data variable key (eg. $_page-title ).

Now when it is available you will need to navigate to your page management screen -> meta tags tab and find a way to get and present it as the page's meta title. To get a data variable value with a functional tag and present it you need to use the "content" functional tag (eg. {{content: data-variable $|$ $_post_title}}  )

This functional tag will be replaced by the system with the current value of the $_post-title data variable.

Delete comment thread
[x close]
Are you sure you want to delete this comment?
Please Login to create a comment

Add new comment

Please Login to create a comment