Results 1 to 10 of 361

Hybrid View

  1. #1
    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 pixels90211 View Post
    Does anybody know where I can get version 1.1 of eayembed?

    seems that would be the one to use in my case...
    It's still available in the downloads section.. http://www.zen-cart.com/index.php?ma...roducts_id=990

    If you look through the three versions available it's the very last one..

  2. #2
    Join Date
    Jul 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Easy embed template

    Quick question for all of you. Is it possible to use this in a .php page instead of an .html page? This template seems to be exactly what I have been looking for, but I wanted to check if their is any problem 'embedding' in to a php as my whole site is in php. I appreciate your time and assistance!

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

    Default Re: Easy embed template

    Quote Originally Posted by kychiropractic View Post
    Quick question for all of you. Is it possible to use this in a .php page instead of an .html page? This template seems to be exactly what I have been looking for, but I wanted to check if their is any problem 'embedding' in to a php as my whole site is in php. I appreciate your time and assistance!
    the fread function has issues with includes. But alot of other php will work. I have not tested the code in the repo however if you use that it may work with the URL method as that file would be preprocessed before it was turned into the template varable

  4. #4
    Join Date
    Jul 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Easy embed template

    I appreciate your prompt response so much, and your service in developing this template which has made a daunting task, so much easier! Thanks!

  5. #5
    Join Date
    Jul 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Easy embed template

    Success at last!!!...

    This is the site:

    http://www.pineappleessentials.com/

    and this is the shopping cart:

    http://www.pineappleessentials.com/p...entials_store/

    and that is how I wanted the integration to be from the begining.

    I am using Zen-Cart 1.3.8 and easyembed2.0a
    (yes, got it to work)

    Ok,... now a recount of what I was doing wrong and hopefully this will helps others avoid the loooong hours of frustration I went through.

    First, the file structure I had:

    - Home page

    - Exfoliant page

    - etc, etc,

    - pineapple_essentials_store (this is where zen cart lies)

    - Frame-Cart page
    (this is where I wanted the cart to show through)

    I followed the recomendations in the forum but Nothing!
    most likely my absolute paths were wrong....

    Then, its kind of embarrasing to admit this but, I re-read the install instructions and realized there was a better alternative:

    The new file structure that worked:

    - Home page

    - Exfoliant page

    - etc, etc

    - pineapple_essentials_store (this is where zen cart lies)

    ------------ Frame-Cart page
    (this now resides inside the p*store folder)

    in the easy_embed/config.php file I used this line:
    $this->templateFile = DIR_FS_CATALOG . 'Frame-Cart.html';

    and just to be sure I put my images, css and scripts folder for the Frame-Cart page inside the store folder too, just make sure the links in your header point correctly... an easy way to test this is (in my particular example) to type the absolute path:

    http://www.pineappleessentials.com/p...rame-Cart.html

    and you see your page with all the css and images, etc. without the zen-cart.

    after that you have just to start making changes to the relevant css files, and for this the BEST TOOL EVER!! is firebug (if you are using Firefox, of course) it will tell you exactly which line of css is doing what and from which file (the embed template or yours) and you can even change or suppress values to test results!

    Just remember to keep in mind the info given in posts #322 and #327 and you'll be Ok.

    JOsh, thanks again for a great module... I'll make sure you have "coffee and muffins" on me.

    Thank you all,

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

    Default Re: Easy embed template

    Josh I would like to figure out why I cannot get v2.0 to work.. I could use your help..

    Here's my config.php settings:
    Code:
    <?php
    //+--------------------------------------------------------+
    //| Sanguine Easy Embed Template - Zen Cart                | 
    //|Support Site:                                           |
    //|http://code.google.com/p/sanguineasyembedtemplatesystem |
    //|Released under the GPL v2                               |
    //|(c)############## Developmet 2008                              |
    //|PLease consider donating to:                            |
    //|josh@####################################.com                             |
    //|via paypal                                              |
    //+--------------------------------------------------------+
    #$Id: config.php 19 2009-05-14 15:54:43Z ##############dex $
    
    
    //For examples of how to set this see readme.txt; chaper II, step 1
     $this->templateFile = 'store.html'; 
    
    //content modifcatactions:
    #set values to true/false to modify unless other wise 
    #    noted  in for the value.
    $this->options = array(
        "stripMetaData" => false,
        "stripDocType" => true,
        "stripHtmlTags" => false,
        "stripTitleTag" => true,
        //path modifiers for links and images.
        //by defualt the it is assume that the application running the easy embed templating system is in a sub diretory of a site
        "linkPath" => "",
        "imgPath" => ""
    )
    
    ?>
    Here's the store embed file:
    http://clients.overthehillweb.com/an...rds/store.html
    Code:
    <html>
    <head>
    <title>Anomaly Records, Online Store</title>
    <link href="_css/store.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    a:link {
        text-decoration: none;
    }
    a:visited {
        text-decoration: none;
    }
    a:hover {
        text-decoration: none;
        color: #EE6528;
    }
    a:active {
        text-decoration: none;
        color: #999;
    }
    body {
        background-image: url(images/bkgd.jpg);
        margin: 0;
    }
    </style>
    
    </head>
    
    <body>
    <div id="container">
    <!-- begin Zen Cart and sidebar nav -->
    <table width="950" border="0">
      <tr valign="top">
        <td colspan="2" width="950"><!-- begin #navbar -->
      <div id="navbar"><img src="images/anomaly.png" alt="Anomaly Records" name="anomaly" width="218" height="32" id="anomaly" /> 
         <div id="navlinks">
             <ul>
                 <li><a href="index.html">Artists</a></li>
                 <li><a href="catalog/">Store</a></li>
                <!-- <li><a href="blog.html">Blog</a></li> -->
                 <li><a href="about.html">About</a></li>
                 <li><a href="leadership.html">Leadership</a></li>
                 <li><a href="catalog/index.php?main_page=contact_us">Contact</a></li>
            </ul>
         </div>
      </div>
    <!-- end #navbar -->
    <!-- begin #header -->
      <div id="header">
      <p><img src="images/header.png" alt="header" width="940" height="160" align="right" /></p></div>
    <!-- end #header --></td>
        </tr>
      <tr valign="top">
        <td width="700">
        <div id="mainContent">
        <!-- START EMBED -->
        <!-- END EMBED -->
        </div>    </td>
        <td width="250">  
    <!-- begin #sidebar1 -->
     <div id="sidebar1">
        <h4>MAILING LIST SIGNUP</h4>
        <hr align="left" width="210" size="1" noshade="noshade" class="line"/>
           <form id="signup" name="signup" method="post" action="../cgi-bin/FormMail.cgi" >
        <input type=hidden name="recipient" value="[email protected]" />
        <input type=hidden name="subject" value="Mailing List Signup" />
        <input type=hidden name="realname" value="Website Signup" />
            <input type="hidden" name="redirect" value="thankyou.html" />
          <input name="email" type="text" id="signup" value="[email protected]" size="25" />
          <input name="submit" type="submit" id="signup_button" value="Join" />
        </form>
        <br />
        <br />
        <h4>LINKS</h4>
        <hr align="left" width="210" size="1" noshade="noshade" class="line"/>
         <br />
        <a href="http://www.facebook.com/group.php?gid=106704676815" title="Facebook" target="_blank" ><img src="images/find_us_on_facebook_badge.gif" class="sidebar"/></a>
        <br />
        <br />
        <a href="http://www.myspace.com/anomalyrecordsinc" title="MySpace" target="_blank"><img src="images/myspace_logo.jpg" width="180" height="40" class="sidebar"/></a>
        <br /> 
        <br />
         <!-- AddThis Button BEGIN -->
        <div class="center">
    <a href="http://www.addthis.com/bookmark.php?v=250" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js?pub=anomalyrecords"></script>
    </div>
        <!-- AddThis Button END -->
        
    </div>
    <!-- end #sidebar1 --></td>
    </tr>
    </table>
    <!-- end Zen Cart and sidebar nav -->
      <!-- begin #footer -->
        <div id="footer">
        <p><?php echo FOOTER_TEXT_BODY; ?></p>
        </div>
      <!-- end #footer -->
    <!-- end #container -->
    </div>
    Here's what this results in:
    http://clients.overthehillweb.com/an...cords/catalog/

    I have tried a LOT of stuff to figure this out, and now I could use some help.. No matter what I do I end up with a store which looks like all of the HTML from the embed file has been stripped out..

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

    Default Re: Easy embed template

    Diva, its the path to the file. you need more infor about where store.html is. if you are running a linux server with cpanel it is most likely at '/home/USERNAME/public_html/anomalyrecords/store.html' but that is just a wild guess.

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

    Default Re: Easy embed template

    Quote Originally Posted by pixels90211 View Post
    Success at last!!!...

    JOsh, thanks again for a great module... I'll make sure you have "coffee and muffins" on me.

    Thank you all,
    You would be the forst out of over 5000 downloads to do so it would be very encouraging

 

 

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