 |


 |
 |
marty.net message board
« All Tags »
|
Welcome, Guest. Please Login or Register.
09/02/10 at 15:09:56
|
|
|
Author
|
Topic: All Tags (Read 8110 times) |
|
Nathan
Guest
|
 |
All Tags
« on: 03/27/03 at 12:17:01 » |
|
Is there a listing of all the data tags for CPShop, such as <[content]>? I know there are some that are not listed in the installation FAQ since I can see them in the admin screen!
nathan
|
|
Logged |
|
|
|
Marty
Administrator Dragon
    
Gender: 
Posts: a whole lot

That's me. :)
|
 |
Re: All Tags
« Reply #1 on: 03/27/03 at 23:40:36 » |
|
I think this is all of them.
Template Tags: <[content]> - The main cpshop content. <[title]> - The title of the current page. <[breadcrumb]> - Breadcrumb navigation link trail. <[prev]> - "Previous" text (as set on admin screen), linked to previous item in store. <[next]> - "Next" text (as set on admin screen), linked to previous item in store. <[prevname]> - Linked name of previous product in store. <[nextname]> - Linked name of next product in store. <[storeid]> - Store ID for current store. <[productnumber]> - storeid.productnumber of current product (product page only). <[productno]> - Product number only of current product (product page only). <[productname]> - Product name of current product (product page only). <[productcost]> - The price of the product (product page only). <[storename]> - Name of current store. <[cpshop]> - URL of script. <[cart]> - "View Cart" link. <[alias]> - Current store ID alias. <[keywords]> - Keywords for current store. <[description]> - Description of current store.
Thumbnail Cell Template Tags: <[linkstarts]> - Opening <a> tag for link to product. <[linkends]> - </a> tag. <[thumbnail]> - Thumbnail image for section/product. <[thumbsrc]> - URL of thumbnail image for section/product <[storename]> - Name of current store. <[storeid]> Store ID of current store. <[costconvert]> - Adds a link to a currency conversion page <[teaser]> - Inserts the section teaser below the section thumbnail title <[parentsectionno]> - The section number in which the current product/section resides <[alias]> - The current store ID entry alias (or CRC number if no alias was entered) <[productypeno]> - The product type number of the product (for product thumbnails only) <[productstoreid]> - The store ID of the product (for product thumbnails only) <[productnumber]> - storeid.productnumber of the product (for product thumbnails only) <[productno]> - The product number of the product (for product thumbnails only) <[producttext]> - The product description (for product thumbnails only) <[sectionstoreid]> - The store ID of the section (for section thumbnails only)
|
| « Last Edit: 05/26/07 at 11:30:19 by Marty » |
Logged |
-- Regards, Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
|
|
|
Nathan Rudy
Guest
|
 |
Re: All Tags
« Reply #2 on: 07/30/03 at 11:42:30 » |
|
I'd like to suggest a tag for those of us using Premium Shops
<[section]>
This would be the section name we are in, so that you can have that as your title or in the page somewhere without having it look like breadcrumbs.
|
|
Logged |
|
|
|
Tony
Guest
|
 |
Re: All Tags
« Reply #3 on: 10/29/04 at 06:28:31 » |
|
We should sticky this topic
|
|
Logged |
|
|
|
Tony
Gold Dragon
   
Gender: 
Posts: 85

Hello? Where am I?
|
 |
Re: All Tags
« Reply #4 on: 12/03/04 at 15:33:58 » |
|
Besides product name and number, is there a chance to have tags for each of the items on the product pages? Like <[cpproddescription]>, <[proddescription]>, <prodthumbnails]>, <[extrapics[>, or something like this? I was hoping to really customize the product page template. I know the admin page lets you customize some of it, like having images in 2x2 and so on, but was wondering if I could put them in places I wanted to.
If not, I'll add it to a feature request list
|
|
Logged |
---------------- http://www.astphotos.com
|
|
|
BrattyTees
Gold Dragon
   
Posts: 216

ack!
|
 |
Re: All Tags
« Reply #5 on: 10/24/05 at 07:52:49 » |
|
I agree 110% with Tony's request above. All we can really seem to do is dump the CP output via the Content tag. It would be really, really, really nice to be able to put individual things where we would like.
BTW, is there an update to the above posted tags from 2003, or is that it?
|
|
Logged |
|
|
|
Simon
Gold Dragon
   
Gender: 
Posts: 51

Go Scots!
|
 |
Re: All Tags
« Reply #6 on: 02/09/06 at 12:19:23 » |
|
Look at the bottom of Martys post, it currently reads:
Last Edit: 31.01.2006 at 07:37:25 by Marty
which means the list is very much up to date at the time I'm writing this...
Besides, I like Tonys idea of being able to make our own product page by haveing tags for everything!
Simon
|
|
Logged |
Byholm - Casual Clothing and Gifts Photos from Finland
|
|
|
Marty
Administrator Dragon
    
Gender: 
Posts: a whole lot

That's me. :)
|
 |
Re: All Tags
« Reply #7 on: 02/09/06 at 12:50:35 » |
|
The product page is much more complicated to configure than thumbnail pages, because the elements are constantly changing, and they all have different content (sizes, colors, stamp values, etc.).
For now, the ability to customize them is highly limited. If I can think of a way to make it less so, I'll implement it.
|
|
Logged |
-- Regards, Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
|
|
|
Simon
Gold Dragon
   
Gender: 
Posts: 51

Go Scots!
|
 |
Re: All Tags
« Reply #8 on: 02/10/06 at 04:46:29 » |
|
I realize it could be more work than I'm actually willing to take on, to have to update that product page if CafePress chages option, which make cpshop update the interface, which in turn will force me to do some instant tweaking to keep the website running.
It's really great to have you do all the updating for us Marty.
I think one way to do the templated product page is to have a separate tag for size selector, color selector, stamp value selector, printing method and all other selectables.
We would put all those tags into the template and then if that option is not selectable for a product it would simply be left out.
Alternatively there could be the option to have a separate template for different product categories, or even separate for every product type for those that have enough time to maintain that.
Ok, I'm not in a hurry to get these changes, so don't feel any pressure. I will have a lot to do in our greenhouse until August.
Simon
|
|
Logged |
Byholm - Casual Clothing and Gifts Photos from Finland
|
|
|
brickholius
Silver Dragon
  
Posts: 42

Go Scots!
|
 |
Re: All Tags
« Reply #10 on: 01/29/07 at 14:04:04 » |
|
What about title without breadcrumbs. I have <[title]> that shows the breadcrumbs but how can i show title on the page of just the section without the breadcrumbs as a section header?
brick
|
|
Logged |
|
|
|
mayur
Silver Dragon
  
Gender: 
Posts: 31

|
 |
Re: All Tags
« Reply #11 on: 03/22/07 at 12:45:04 » |
|
You missed one:
<[productcost]> - Product cost (doi!) on thumbnail page
|
|
Logged |
http://desirage.com/
|
|
|
Marty
Administrator Dragon
    
Gender: 
Posts: a whole lot

That's me. :)
|
 |
Re: All Tags
« Reply #13 on: 10/15/07 at 01:38:15 » |
|
What would it refer to? The product's parent section number, or the product's parent section's parent section number?
|
|
Logged |
-- Regards, Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
|
|
|
|
marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)
Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.
|
|
|
|