Page 23 of 37 FirstFirst ... 13212223242533 ... LastLast
Results 221 to 230 of 361
  1. #221
    Join Date
    Sep 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Easy embed template

    A Discovery!
    Whenever I attempt to put any html involving a display of images or text AFTER the code
    <div id="content">
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>
    --whether it is in table or css format, this Mod duplicates the additions and it not only puts them where they are suppose to go, but it also puts them at the beginning of the template, as well. Bummer.

    So my conclusion is this is not a true "wrap around" to the ZenCart shopping cart embedded with an html page - it can only display a top and a left side that is different than the ZenCart shopping cart itself.

    If I could get it to display a right side and a bottom, then this would be the ideal template to embed the ZC shopping cart in.

    Unless someone can point out how to do this differently.
    Work when you have to. Play when you can!

  2. #222
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by fiddler View Post
    A Discovery!
    Whenever I attempt to put any html involving a display of images or text AFTER the code
    <div id="content">
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>
    --whether it is in table or css format, this Mod duplicates the additions and it not only puts them where they are suppose to go, but it also puts them at the beginning of the template, as well. Bummer.

    So my conclusion is this is not a true "wrap around" to the ZenCart shopping cart embedded with an html page - it can only display a top and a left side that is different than the ZenCart shopping cart itself.

    If I could get it to display a right side and a bottom, then this would be the ideal template to embed the ZC shopping cart in.

    Unless someone can point out how to do this differently.
    I have to say I disagree with your theory.. If that was the case then my site would never have worked.. I have images across the top of my embed file, and images on the bottom of my embed file.. Not sure what's going on with your template, but I would suggest starting over step by step and trying to troubleshoot where things are going wrong.. If I had to hazard a guess, I'd say it sounds like you might want to start with your config.php settings..

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

    Default Re: Easy embed template

    fiddler,
    It looks to me as if you are having doctype issues.
    please read this http://www.alistapart.com/articles/doctype/ written by Jeffry Zeldman, who is considered by a lot of professional web developers to be the best web site engineer in the world.
    You problem seem to me that your mark up file breaks when the easy embed template reapplies your mark up as a xthtml 1.0 file and not the html 4.0 that you made it. By the way you should really make sure that you have working mark up to begin with. When I looked at your template in the w3 validator I got 13 errors when I ran it. http://validator.w3.org/check?verbos...on%2Fshop.html

    You should update you mark up to match the xhtml 1.0 transitional standard. because that is how zen cart tells you browser to parse it.

  4. #224
    Join Date
    Sep 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    fiddler,
    It looks to me as if you are having doctype issues.
    please read this http://www.alistapart.com/articles/doctype/ written by Jeffry Zeldman, who is considered by a lot of professional web developers to be the best web site engineer in the world.
    You problem seem to me that your mark up file breaks when the easy embed template reapplies your mark up as a xthtml 1.0 file and not the html 4.0 that you made it. By the way you should really make sure that you have working mark up to begin with. When I looked at your template in the w3 validator I got 13 errors when I ran it. http://validator.w3.org/check?verbos...on%2Fshop.html

    You should update you mark up to match the xhtml 1.0 transitional standard. because that is how zen cart tells you browser to parse it.
    Thanks for the heads up on that problem! Your comments and links were most helpful. I went in and corrected the code, but even with the 100% validation now, it still duplicates the images that are suppose to appear after the <div id="content">
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>

    It puts the images where they belong, but it also puts the image at the very beginning of the template.

    This is the html code now:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content=
    "text/html; charset=us-ascii" />
    <meta name="Author" content="H and H Press" />
    <title>Tabbi Tails</title>
    </head>
    <body text="#408080" bgcolor="#408080" link="#408080" vlink=
    "#20BD9D" alink="#CC33CC">
    <center><img src="images/top.jpg" alt="" /></center>
    <center>
    <table border="0" width="750" bgcolor="#FFFFFF">
    <tr>
    <td valign="top" width="67">
    <center><img src="images/left.jpg" alt="" /></center>
    </td>
    <td valign="top" width="80%">
    <center>
    <table border="0" cellspacing="0" cellpadding="0" width="95%">
    <tr>
    <td valign="top"></td>
    </tr>
    <tr valign="top">
    <td>
    <div id="content"><!-- START EMBED -->
    <!-- END EMBED --></div>
    </td>
    <td></td>
    </tr>
    </table>
    </center>
    </td>
    </tr>
    </table>
    </center>
    <center><img src="images/bottom.jpg" alt="" /></center>

    </body>
    </html>

    The path of the html file is:
    http://tabbitails.com/cart/includes/...mon/quilt.html
    (yes, I duplicated your files and renamed them to a new template - in an effort to find out how to fix what now seems to be the unfixable).

    You can see this duplication by going to:
    http://tabbitails.com/cart
    The very bottom graphic, which is the third line up from the bottom of the html page --
    <center><img src="images/bottom.jpg" alt="" /></center>
    also appears directly above what is actually suppose to be the first image: <center><img src="images/top.jpg" alt="" /></center>.

    So even though the page validates now, it still doesn't work the way I believe it should.
    Work when you have to. Play when you can!

  5. #225
    Join Date
    Sep 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quote Originally Posted by DivaVocals View Post
    I have to say I disagree with your theory.. If that was the case then my site would never have worked.. I have images across the top of my embed file, and images on the bottom of my embed file.. Not sure what's going on with your template, but I would suggest starting over step by step and trying to troubleshoot where things are going wrong.. If I had to hazard a guess, I'd say it sounds like you might want to start with your config.php settings..
    I appreciate your comments, and I looked at my config.php settings and found nothing out of the ordinary - they look similar to the config.php files of other ZC's I've set up, so I'm not sure what I should be looking for to pinpoint the problem I'm having.

    Can you post the html code of your template you are using that features images AFTER your embed codes so I may see how your set up works? It might also be useful to look at your css - if you could post a link to either it may help me better understand what is going on with my own files.
    Work when you have to. Play when you can!

  6. #226
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by fiddler View Post
    I appreciate your comments, and I looked at my config.php settings and found nothing out of the ordinary - they look similar to the config.php files of other ZC's I've set up, so I'm not sure what I should be looking for to pinpoint the problem I'm having.

    Can you post the html code of your template you are using that features images AFTER your embed codes so I may see how your set up works? It might also be useful to look at your css - if you could post a link to either it may help me better understand what is going on with my own files.
    I'm at the office right now and don't have the HTML file at my fingertips.. BUT the site (which I also posted a few pages back in this post) is here: http://phlaunthair.com

  7. #227
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Easy embed template

    DivaVocals, were you aware that with Flash disabled in one's Browser there is no way to enter the : phlaunthair.com site? That would apply to SEs as well since they don't read/follow Flash.

  8. #228
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by Website Rob View Post
    DivaVocals, were you aware that with Flash disabled in one's Browser there is no way to enter the : phlaunthair.com site? That would apply to SEs as well since they don't read/follow Flash.
    Yep.. Flash intro wasn't my idea.. client INSISTED on it despite my suggestions that we find another way to do this opening animation.. I've been looking at "SWFObject" as a possible solution.. Unless I find a simpler method for working around this..

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

    Default Re: Easy embed template

    Quote Originally Posted by DivaVocals View Post
    Yep.. Flash intro wasn't my idea.. client INSISTED on it despite my suggestions that we find another way to do this opening animation.. I've been looking at "SWFObject" as a possible solution.. Unless I find a simpler method for working around this..
    I have been doing some SEO work for http://www.pennytempletonstudio.com/
    and the best way to get around the intro screen thing is just to make sure that you have links to the rest of the site there as well.

    JOsh

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

    Default Re: Easy embed template

    Hi all,
    I have had some time lately and I have made some major changes on the core files the system. How ever I will not be integrating them in the zen cart branch till I have time to.
    But you may want to have them so I will tell you what they are and If you want to be part of integrating them you can PM me.
    Changes:
    • I moved the project code site (due to a spelling error in the project name that I could not change) to: http://code.google.com/p/sanguineasy...emplatesystem/
    • I have made all the global variables in the program in to one array, $sang_embed. So that one could do a var_dump() for testing and have all of them right there.
    • I have added configuration options. mainly that will affect the zen cart branch in the ability to edit the path rewriting features. instead of defaulting to ../ its not a variable that you can set or comment out to turn off.
    • There will be a new branch made, that will be geared toward hard coded pages, so that all one would have to do is enter the content and have the rest of the template called by the easy embed. I think that this will make it easier for people to create new branches for joomla, phorum ect.

    I will post the the url of the hard codding template files soon, but if you want to just see the template files.
    you can just check out the trunk.
    other wise I will let you know the URL when I figure out where to put it.

    JOsh

 

 
Page 23 of 37 FirstFirst ... 13212223242533 ... 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