Author |
Topic |
|
SimonHodgkiss
Starting Member
United Kingdom
4 Posts |
Posted - January 11 2010 : 10:37:40
|
I was wondering if anyone could help me change the dynamic title of the page.
I want it to display the Product name / Cat name before it displays the Store name.
<title>%shopdynamictitle "title"%>/title>
Thanks
Simon |
|
g3nnin
VP-CART Super User
209 Posts |
Posted - January 11 2010 : 14:58:27
|
Hi,
in version 7, the dynamic title for categories is located in this code in shopheaders.asp:
# line 106 & 111: SetSess "Dynamictitle",GetConfig("xtitle") & " - " & RemoveHtmlheaders(tempname, "<br />")
Try to change it into this code:
SetSess "Dynamictitle",RemoveHtmlheaders(tempname, "<br />") & " - " & GetConfig("xtitle")
As for the product page, it's located in this code:
#line 182: SetSess "Dynamictitle",GetConfig("xtitle") & " - " & tempname
Try to change it into the following code:
SetSess "Dynamictitle", tempname & " - " & GetConfig("xtitle")
Hope this helps. |
|
|
SimonHodgkiss
Starting Member
United Kingdom
4 Posts |
Posted - January 11 2010 : 15:38:26
|
Any chance this will work on version 6.5?
Thanks
Simon |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - January 12 2010 : 05:18:51
|
This link explains it in detail (this is relevant to 6.5), you can just ignore the bits which mention addons, those are just mentioned in passing, the notes are relevant to generic vpasp....
How can I set/change the title/description meta tags on my product/category/content pages?:
http://www.bigyellowzone.com/support/issue_view.asp?ID=1465
g3nnin's reply explains the syntax you'd use to swap the title/name round the other way and is basically what you're after, our page/link explains more details about how it all works and exactly which bits to change for which types of pages and how to create an extra fall-through etc.
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on January 12 2010 05:23:08 |
|
|
SimonHodgkiss
Starting Member
United Kingdom
4 Posts |
Posted - January 13 2010 : 17:21:08
|
It worked fine.
Many thanks.
Simon Hodgkiss |
|
|
|
Topic |
|