Author |
Topic |
|
savvymedias
VP-CART New User
191 Posts |
Posted - November 06 2009 : 00:44:04
|
Has anyone removed the dynamic metas from sessions, or made their own SEO mods? I am having some issues, as someone who does primarily SEO, with the way that things are handled in VP ASP, but I am not a programmer (nor would I like to be) and can't seem to figure out how to call what I want in the templates.
I already made the mods I want to the database, I just need to get them into the templates... |
|
devshb
Senior Member
United Kingdom
1904 Posts |
|
savvymedias
VP-CART New User
191 Posts |
Posted - November 06 2009 : 11:09:54
|
Thanks, Simon, you are always helpful. I had already looked at that. I am using my own solution, but the shopheaders.asp only allows the data to be called once.
I really want to remove the call from sessions and just call the tags where and how I need them to be called, multiple times, throughout the page.
I think this is really my only functional complaint about the cart. |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - November 07 2009 : 06:10:28
|
It depends whereabouts you want them to be shown/used I guess, and what they're for and how they're stored/constructed, as to what the approach would be.
If it's just a direct copy of the relevant column that you want to be shown in a product chunk, then you can just call the column with a square bracket in the relevant part of the template file; that'll work for custom-created columns as well as normal columns.
eg say you had a dedicated title tag column on products called "seo_title" and you wanted that to also be shown within the product page as text then you'd just change tmp_product.htm (product-detail) or tmp_productformat.htm (product-summary) to add:
$[seo_title]<br />
somewhere in the file (the $ meaning only show the other html on that physical template line if that seo_title field isn't blank, and the square brackets meaning it's a column name or a special-template-field)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on November 07 2009 06:30:03 |
|
|
savvymedias
VP-CART New User
191 Posts |
Posted - November 07 2009 : 10:56:45
|
I have done that. :)
Is there a way to call them in the template file though? If I call with a straight call from the database, I get the variable is not defined. I have defined it and when I look at the code, I see that it is calling * from products, categories, content, so it should be pulling all the columns.
I named the columns all the same, and have them for content, products, categories, etc. and I would like to call them for each page.
Simon, maybe we can go 50/50 on a hack -- I am raising $$ for my daughter's medical treatments (www.curinglauren.org). ;) |
|
|
|
Topic |
|