- First of all, if there is a skinning guide, please redirect me.
- Can I take a CSS template and make it a CS-cart template with ease?
- I have all the blocks I want, but I want to move and resive a couple of items. Namely, the search box and shopping cart icons are in the wrong place. I want to move them in the header aboce top-menu, but I cannot figure out how to do this. Obviously I need to shorten the search input box. Any suggestions?
- No
- No
- Depending on your verision, you can use a hook to re-do the header area and change the location of the elements to your liking.
See: [url]http://www.ez-ms.com/customizing_your_store.pdf[/url]
It’s an older document, but the concepts still apply.
Have fun.
Thanks again for this reply. The link you provided is not working. In the meantime, I’ll dig through your site to see if I can find it.
also, “documentation” is misspelled in your quick links on your site. Not being rude, I just thought you would want to know.
[quote name=‘tbirnseth’]1) No
2) No
3) Depending on your verision, you can use a hook to re-do the header area and change the location of the elements to your liking.
See: [url]http://www.ez-ms.com/customizing_your_store.pdf[/url]
It’s an older document, but the concepts still apply.
Have fun.[/QUOTE]
Dear Osu9400,
you’ll have to edit .tpl file anyway, try to have a look at this one
\skins\basic\top.tpl
Thanks for replies. I apologize for all the typos, this ipad is not the awesome device all the tv commercials make it out to be. :rolleyes:
[quote name=‘Alt-team’]Dear Osu9400,
U
you’ll have to edit .tpl file anyway, try to have a look at this one
\skins\basic\top.tpl[/QUOTE]
[quote]
“documentation” is misspelled in your quick links on your site.
[/quote]
Got it thanks…
[quote]
you’ll have to edit .tpl file anyway
[/quote]
Not true.
[quote name=‘tbirnseth’]
Not true.[/QUOTE]
Dear tbirnseth,
Do you know another way to move the search box and shopping cart icons in the header above top-menu?
Regards, Alt-team
Yes, use the index:main_content hook. Pre, post or override depending on your needs.
Always use a hook if possible. And if there’s none there, create one. Much easier to maintain across upgrades.
I wish some of the larger tpls had hooks
Like a custom index hooks to customize columns.
for example, if you want a footer that has a 100% background, you have to hack tpls.
Because footer.tpl is buried inside the container you need to edit divs and it cannot be done with hooks out of the box.
Agreed… But consider this.
Is adding a {hook name=“index:footer_1”}{/hook}
to bottom.tpl and then going off and doing your actual changes in the hook a better alternative than embedding your changes inside a template that is going to get stomped on in the next upgrade?
You can do that and request that they add the hook to the standard product (though user voice would probably be useless here and that seems to be the sole means now to get attention - unless you’re an internal developer and think the thing you’re playing with is cool).
At least then all you have to do is add the one or two lines associated with the hook back, not re-integrate the code.
I usually just make a custom tpl like
custom_footer.tpl and include it in bottom.tpl
my custom_footer.tpl wont get touched by the upgrade and i still have to touch bottom.tpl on upgrades.
So i guess its 50/50?
Just what I’m used to doing prior to hook system.
Xcart and CS v1
That works as well when you have to modify the original template.
Dear tbirnseth,
[quote name=‘tbirnseth’]Yes, use the index:main_content hook. Pre, post or override depending on your needs.
Always use a hook if possible. And if there’s none there, create one. Much easier to maintain across upgrades.[/QUOTE]
We just meant that there is no way to change it with shop’s interface.
It stands to reason that it’s possible replace the content of .tpl files using hooks.
Regards, Alt-team