Hey,
Could you guide me on how to choose a thumbnail, put the thumbnail on top of the main page and in all categories, link this exact thumbnail with a sponsor's URL, i.e. make a spot?
Thanks!
Spots in SmartCJ
Re: Spots in SmartCJ
Hi!
you can just hardcode it into template and that's it
you can just hardcode it into template and that's it
Don't forget to run script update
Re: Spots in SmartCJ
Hardcoding is the solution for any issue How can I do it with SmartCJ script?
Re: Spots in SmartCJ
Or otherwise please just tell me how can I put specific thumbnail on top (1st) on all pages?
Re: Spots in SmartCJ
Well, there 2 options
1. we can add like 10 db fields (what thumbnail, where to add, permanently or not and so on)
then each time we generate a page - we make a couple of extra requests into DB so check if we have a special thumb to place somewhere and so on
2. or we can just add few lines into template and that's it
what's the point to add load for DB here?
1. we can add like 10 db fields (what thumbnail, where to add, permanently or not and so on)
then each time we generate a page - we make a couple of extra requests into DB so check if we have a special thumb to place somewhere and so on
2. or we can just add few lines into template and that's it
what's the point to add load for DB here?
Don't forget to run script update
Re: Spots in SmartCJ
all pages: you can for example create a template "superthumb" and then add something like
<!--INCLUDE_TEMOPALTE_superthumb-->
where you need it
this way you can change it for all templates all together
<!--INCLUDE_TEMOPALTE_superthumb-->
where you need it
this way you can change it for all templates all together
Don't forget to run script update