Results 1 to 10 of 361

Hybrid View

  1. #1
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    ok its been about amonth I know but here it is.
    let me know what you think

    sang_embed.zip

  2. #2
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Easy embed template

    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

  3. #3
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    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?
    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.
    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.
    On the style sheets, are they in addition to the Zen Cart ones or instead of?
    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?

  4. #4
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Easy embed template

    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

  5. #5
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    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.
    well it is running on detoximin.com it live but there you go

    JOsh

  6. #6
    Join Date
    May 2004
    Posts
    766
    Plugin Contributions
    0

    Default Re: Easy embed template

    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

  7. #7
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    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.

    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?
    how does thos work you ask.
    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,
    1. the head information like javescript and style sheet links.
    2. stuff that goes in to the body tag like onload commands.
    3. body Mark up that goes before the zen cart
    4. 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

 

 

Similar Threads

  1. Embed php template within another php template based on drop-down menu selection?
    By mcqueeneycoins in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Jan 2012, 06:44 PM
  2. Embed cart button to old site is easy! if no atributes
    By medragon in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Jun 2009, 06:21 AM
  3. How easy is it to install a zen-cart template?
    By ssbeats in forum Addon Templates
    Replies: 1
    Last Post: 22 Nov 2007, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg