ok its been about amonth I know but here it is.
let me know what you think
sang_embed.zip
ok its been about amonth I know but here it is.
let me know what you think
sang_embed.zip
Hi Josh,
I downloaded your mod. and I have a couple of questions.
When you say you can create a template and insert Zencart into it, does that mean (for example) I could buy a template from a template site for a music downloads store (not built for a cart) and Zencart would take on the look of this site?
On the stylesheets, are they in addition to the Zencart ones or instead of?
Thank You,
betty
what it means is you could buy said template and very easily make a copy of it (the html) and out zen cart in the content section of the template. in a lot of cases w/ sites that were done w/o a catalog initially can have a zc added in w/ out any big lay out changes.When you say you can create a template and insert Zen Cart into it, does that mean (for example) I could buy a template from a template site for a music downloads store (not built for a cart) and Zen Cart would take on the look of this site?
SO the site would surround it.
As for it just taking on the look of the rest of the site that depends, on how the rest of the site looked. if it was made w/ good styles (CSS) you could expect a good amount of things to change, like the standard font and link color how tables and divs are handled.
one thing I should pint out is this template is no match for a good css tweaking afterwards, and a good Graphic designer to tweak your site this just makes it hell easier to maintain a consistent looking web site. it was made w/ dreamweaver designers in mind because if they just put the <!-- START EMBED -->, <!-- END EMBED --> in to a dreamweaver editable area in a dream weaver template file, then when ever they make up dates to the whole site they make updates to the zen cart as well.
instead of.On the style sheets, are they in addition to the Zen Cart ones or instead of?
just unzip the contents of the .zip into you template directory and you have all the basics of the template.
in the zen cart back end select sang_embed as your template and start dong more tweaks.
does this clarify things?
Yes it does Josh, thank you.
It will be a while before I can actually use it, but I will let you know how it came out and definitely will post any issues I have with it![]()
It would also help if sometime you apply it to a non-live v1.35 site so we could peak at the source and see it in action. Kind of a visual how to.
thanks again,
betty
well it is running on detoximin.com it live but there you goIt would also help if sometime you apply it to a non-live v1.35 site so we could peak at the source and see it in action. Kind of a visual how to.
JOsh
Hiya Josh,
I'm having a bit of trouble trying to figure out how to install this and make it work.
In the brief instructions it says to put the full path to my template in the embed_config.php in the common folder. But how does the html template know where any of the embed files are and visa versa?
There is nothing that tells me where to put what, so instead the store has a funky looking template now with purples, yellows, etc. on it and nothing from the html file/template/pages.
thank you,
betty
Bettysue,
I have a question, is the site that you are making suposed to only be a zen cart so that the ZC is in the root dir or is it a section of the site?
the reason that I ask is aloot of the regular expressions used in the config file are to make your template that is designed for links that notmal go to pages of the same level to go to links one folder level back.
how does thos work you ask.In the brief instructions it says to put the full path to my template in the embed_config.php in the common folder. But how does the html template know where any of the embed files are and visa versa?
well it takes the file that you have poitned to and reads it in to thme memory.
then it goes through and loks for various patterns like the <body> tag, the <! START/STOP EMBED --> comments, or thins like doc type and strips them or modify them to work w/ the new directory.
it them looks for paqterns to splith the one big html template in to 4 separate varibles,
- the head information like javescript and style sheet links.
- stuff that goes in to the body tag like onload commands.
- body Mark up that goes before the zen cart
- body mark up that goes after the zen cart
then it just echos the varibles in the aproprate places.
It knows where the embeded files (I am assuming that you mena like incase and styles sheets, and moyby flash links) are becasue you put them in that template file.
please include a link tp ypu site nad of you would a link to the raw template file in your next post.
JOsh