Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Formating question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Steve2507
VP-CART Expert

590 Posts

Posted - February 17 2007 :  14:00:55  Show Profile  Reply with Quote
Hi,

All over the templates I see various formatting keywords e.g. FORMATHYPERLINKS, FORMATIMAGE.

Where on earth do you change the format of the keywords, they are not in the css file, so where are they?

Thanks

Steve

devshb
Senior Member

United Kingdom
1904 Posts

Posted - February 17 2007 :  17:32:34  Show Profile  Visit devshb's Homepage  Reply with Quote
The code for those keywords are (mostly) in the shopfileio.asp file.

But, what we usually do is delete those particular template-fields (which are sort of wrapper template fields which do lots of different things) in the template files, and replace them with the corresponding detailed html/template-fields for the appropriate bits.

For example, we might change this in our tmp_productformat.htm template file:

[FORMATIMAGE SUB]

to have this instead:

<a href="shopexd.asp?id=[catalogid][add_websesslink]">
$<img src="[cimageurl]" border="0"><br>
more...</a>

Most of the relevant html/template-fields for the sub-bits that you'd want to show are in the tmp_product.htm file, so you can copy the relevant bits from that too if you like, eg:

<a href="shopreviewadd.asp?id=[catalogid]">~langratingwrite^</a> | <a href="shopreviewlist.asp?id=[catalogid]">~langratingread^</a><br>
[add_ratingsummary]

<a href="shoptellafriend.asp?id=[catalogid][add_websesslink]">~langtellafriendheader^</a>

we usually change the templates to have as much html/low-level fields as we can in the templates, and if we need complex conditional logic which isn't already available via a vpasp template-field then we use our "extra template-fields" addon to help build new ones, see also:

http://www.bigyellowzone.com/shopexd.asp?id=42

that addon is included for free in any of our template-field-related addons, so if you do want the template-field addon then check to see if you'd find any of our template-field addons useful first:
http://www.bigyellowzone.com/softwareversions.asp#BYZ034S

on a related topic, here's some help/notes:
1) How to hide surrounding labels/html when a corresponding value in the database is null:
http://www.bigyellowzone.com/support/issue_view.asp?ID=223&CATE=8

2) Searching for text strings (very important; windows/xp search is dangerously bad) -
http://www.bigyellowzone.com/support/issue_view.asp?ID=220&CATE=8

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on February 17 2007 17:42:05
Go to Top of Page

Steve2507
VP-CART Expert

590 Posts

Posted - March 08 2007 :  09:50:09  Show Profile  Reply with Quote
Hi,

I asked this question ages ago, but still haven't received an answer that I can use.

I basicaly want to make the text larger in the shopdisplaycategories.asp page, so I have to change the formatting of FORMATIMAGE and/or FORMATHYPERLINKS. How the hell do I do it?

Please don't say look in this file or look in that file as I feel I have been through every single file available. Is there anyone out there that can tell me exactly where to look?

Thanks

steve
Go to Top of Page

support
Administrator

4679 Posts

Posted - March 11 2007 :  19:57:45  Show Profile  Visit support's Homepage  Reply with Quote
Hi Steve,

What version are you using? If you can point us to a url as well it would be helpful and some of the developers on here who often help out will be able to point you in the right direction nice and quickly.

Thanks
Cam

VP-ASP Support
Go to Top of Page

vukodalk
Starting Member

9 Posts

Posted - March 20 2007 :  20:36:20  Show Profile  Reply with Quote
Aren't text sizes all cutomised in the shop.css file (thinking out loud)

Mario
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00