PDA

View Full Version : How to put the Homepage Name after Article Name in page title


vicelover
04-10-2010, 02:37 PM
Hi, guys

The default order of vBulletin is : Homepage Name before the Article Name in page title.
We can check one article on vb.com CMS. (http://www.vbulletin.com/forum/content.php?163)
https://vborg.vbsupport.ru/external/2010/04/52.jpg (http://www.vbulletin.com/forum/attachment.php?attachmentid=44439&d=1270906849)
And I want to change the order, put the Homepage Name after the Article Name.

How to solve it? Thanks in advance.

---------- [vb version: 4.0.2 ]---------------

Best Regards,
vicelover

Vaupell
04-10-2010, 07:10 PM
admincp > styles and templates > style manager > (dropdown) edit styles > vbulletin CMS templates > vbcms_page

find

<title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if> - {vb:raw html_title}</title>

replace with


<title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.bbtitle}<vb:else />{vb:raw vboptions.cmstitle}</vb:if> - {vb:raw html_title}</title>


but that only changes the order on articles!
you have to do that on all the templates you which to reverse the title on!

vicelover
04-11-2010, 03:31 AM
admincp > styles and templates > style manager > (dropdown) edit styles > vbulletin CMS templates > vbcms_page

find

<title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.cmstitle}<vb:else />{vb:raw vboptions.bbtitle}</vb:if> - {vb:raw html_title}</title>replace with


<title><vb:if condition="$vboptions['cmstitle']">{vb:raw vboptions.bbtitle}<vb:else />{vb:raw vboptions.cmstitle}</vb:if> - {vb:raw html_title}</title>
but that only changes the order on articles!
you have to do that on all the templates you which to reverse the title on!

Hi, Vaupell. It works greatly.
And it not only works on articles, but also section and category in CMS. :up: