Page 7 of 37 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 361
  1. #61
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    they easiest way to get back to the home page is to put a link to it in the template say to the /index.html.
    as for brian21's post different strokes you know. the reason I don't have one static page that you edit is because I have written the Sanguine Easy Embed for more then just zen cart. I have mods for Phorum, Drupal, and Gallery 2. it works so that I can control all of the templates w/ one document. other wise it would be easy to just say edit the template.php file.
    happy hacking,
    JOsh

  2. #62
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    they easiest way to get back to the home page is to put a link to it in the template say to the /index.html.
    as for brian21's post different strokes you know. the reason I don't have one static page that you edit is because I have written the Sanguine Easy Embed for more then just zen cart. I have mods for Phorum, Drupal, and Gallery 2. it works so that I can control all of the templates w/ one document. other wise it would be easy to just say edit the template.php file.
    happy hacking,
    JOsh

    JOsh

    Thats what I thought, link back to the index page I just wanted to make sure the cart would close cleanly and all files would be correct. I will turn this over to her as she is better versed than myself as you can judge. I would like to ask one more question I followed the instructions about removing the zen cart logo completely but a red x appears where the image should be is there a way to eliminate this.

    Thank you for your patience and help

    Charles

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

    Default Re: Easy embed template

    you know I have been meaning to post this for a while but wanted to add more before I did it.
    here you go. it is a newer version of the easy embed template w/out a place for the banner and more neutral css. also be careful as I added language files that I am always having to copy anyways.

    this should help you out chas1. Please ask your wife to review my read me file. and post her thoughts.
    Attached Files Attached Files

  4. #64
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    you know I have been meaning to post this for a while but wanted to add more before I did it.
    here you go. it is a newer version of the easy embed template w/out a place for the banner and more neutral css. also be careful as I added language files that I am always having to copy anyways.

    this should help you out chas1. Please ask your wife to review my read me file. and post her thoughts.

    if you follow the readme instructions and download the incudes folder into the zen cart folder you end up with two includes folders, one with the new sang_embed and another that has under it templates and languages and the admin cannot find the sang_embed folder. I follow the instructios as written to preclude problems on my part.

    Gisela Denton

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

    Default Re: Easy embed template

    that confuses me. you mean to tell me that your computer will allow two folders of the same in a directory? or do you now have a directory structure that looks like, yourZenCartFolder/includes/includes folder? I meant for it tell you so that you just have one includes folder. want to offer better wording?
    (in open source, even the read me files are up for community improvement)

    JOsh

  6. #66
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    that confuses me. you mean to tell me that your computer will allow two folders of the same in a directory? or do you now have a directory structure that looks like, yourZenCartFolder/includes/includes folder? I meant for it tell you so that you just have one includes folder. want to offer better wording?
    (in open source, even the read me files are up for community improvement)

    JOsh

    JOsh

    After copying the includes from the sang_embed folder on this machine you end up with a path C:\htdocs\store\includes\includes\templates\sang_embed now if you follow the path from the first includes: includes\templates\template_default. the folder store is the name of the 1.37 installation. if you delete the orginal includes folder all the folders below it are deleted aren,t they? Hope this helps.

    Charles

  7. #67
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by chas1 View Post
    JOsh

    After copying the includes from the sang_embed folder on this machine you end up with a path C:\htdocs\store\includes\includes\templates\sang_embed now if you follow the path from the first includes: includes\templates\template_default. the folder store is the name of the 1.37 installation. if you delete the orginal includes folder all the folders below it are deleted aren,t they? Hope this helps.

    Charles

    JOsh

    I have thru the admin changed the template to sang_embed and the folder
    sang_embed is a sub folder of the includes/templates/template_default/sang_embed and it contains all the folders in your zip file in the correct location.

    In the html file
    where I want the cart to start I have the following:

    <body>
    <div = "contents">
    <-- start embed --->
    <-- end embed -->
    </div>
    some more html content
    </body>
    </html>


    the problem is still the correct placement of the html file can it be inside the common folder or should it be elsewhere.

    chas1

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

    Default Re: Easy embed template

    Quote Originally Posted by chas1 View Post
    HTML Code:
                  <-- start embed --->
                  <-- end embed -->
    your html comments are done wrong. the should be proper comments. Also the comments are case sensitive.
    HTML Code:
    <!-- START EMBED -->
    <!-- END EMBED -->
    Quote Originally Posted by chas1 View Post
    the problem is still the correct placement of the html file can it be inside the common folder or should it be elsewhere.
    You can put the html. file any where you want as long as you can point to it in the embed_config.php

    JOsh
    Last edited by sanguisdesign; 22 Jun 2007 at 08:38 PM. Reason: adding tags

  9. #69
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    your html comments are done wrong. the should be proper comments. Also the comments are case sensitive.
    HTML Code:
    <!-- START EMBED -->
    <!-- END EMBED -->

    You can put the html. file any where you want as long as you can point to it in the embed_config.php

    JOsh
    JOsh

    I didn't mean to mislead you, I cut and pasted the html code from the installation guide exactly . I was just giving an example.

    This is what I have:

    <html>
    <head>
    sytle sheet and java

    </head>

    <body>
    <div id=”content”>
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>

    footer
    </body>
    </html>

    I am going to place the html file in the common folder and I can do this, is this correct.

    The template file in the common folder I can use: DIR_FS_CATALOG.DIR_WS_TEMPLATES."sang_embed/common/GFlowers.htm”
    is this correct? Is this part inclosed by quotes ?"sang_embed/common/GFlowers.htm”


    Now if I run the html page in a browser when it reaches the <--- START EMBED ---> the cart should be read in, is this correct and when the cart is read in it will function the same as a normal zen cart with theme that I style with the css and do I need to use a info page to leave the cart and return to the home page?

    chas1
    Last edited by chas1; 22 Jun 2007 at 10:40 PM.

  10. #70
    Join Date
    May 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by chas1 View Post
    JOsh

    I didn't mean to mislead you, I cut and pasted the html code from the installation guide exactly . I was just giving an example.

    This is what I have:

    <html>
    <head>
    sytle sheet and java

    </head>

    <body>
    <div id=”content”>
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>

    footer
    </body>
    </html>

    I am going to place the html file in the common folder and I can do this, is this correct.

    The template file in the common folder I can use: DIR_FS_CATALOG.DIR_WS_TEMPLATES."sang_embed/common/GFlowers.htm”
    is this correct? Is this part inclosed by quotes ?"sang_embed/common/GFlowers.htm”


    Now if I run the html page in a browser when it reaches the <--- START EMBED ---> the cart should be read in, is this correct and when the cart is read in it will function the same as a normal zen cart with theme that I style with the css and do I need to use a info page to leave the cart and return to the home page?

    chas1
    I have this working part way, my cart is "mystore" on a local machine running in xampp with apache2 and I have the files set up correctly (I think!!) but when I run localhosts/mystore the html file is loaded and then the cart loads on top of it, how do I have the html page load and then the cart should load underneath the header I thought. Lets say you have a 5 page html website and you want the cart to load on the third page (name of third page would be cart.htm) the <div> would be on this page also and I would guess that the config file would have to point to this page, if so how does the site function. I thought the purpose of this embed was to enable someone to place a zen cart or wrap the zen cart within the website and the cart would show up where you wanted it to while at the same time you keep the look and feel of your website theme and then you would change the css file in the cart to match your theme as close as possible, am I wrong? Maybe I am confused about the way this works but from the post it seems to imply this. Sorry for the bother but I would like to see this work. do you have a reference live site with zen 1.37 so I could see it.

    thank you
    chas1

 

 
Page 7 of 37 FirstFirst ... 5678917 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR