Page 32 of 37 FirstFirst ... 223031323334 ... LastLast
Results 311 to 320 of 361
  1. #311
    Join Date
    May 2005
    Location
    Western MA, USA
    Posts
    604
    Plugin Contributions
    6

    Default Re: Easy embed template

    [QUOTE=DivaVocals;756671
    First thing.. I am using ver 1.1 of the Sanguine template.. I CANNOT get ver 2.0 to work at all.. Ver 2.0 appears to strips out all of the HTML on my embed page, leaving only the Zen Cart code.. So I went back to Ver 1.1, which works just fine (once I made some tweaks to my embed page). So unless there is a reason I SHOULD be using ver 2.0, I'm gonna call this good..
    [/QUOTE]

    Reasons to upgrade.
    Of you don't want the new configuration options your best reason to upgrade is speed/memory usage.
    I totally rewrote the way the variables are stored/created.
    in ver 1 the program read the template file and then with out much thought split up the template file in to several large variables which were then were spit out in the appropriate place with in the template system.
    In ver 2 the template is file is read.
    Then any overall path/element mods are made.
    then instead of splitting of the template in to multiple static vars the template now only stores the main template var and spits out the sections on demand with no need to store them.

    so there are your reasons. sorry I could not 'un geek-a-fy' the explanation

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

    Default Re: Easy embed template

    I recently had cause to once again use this Mod and decided to try the new 2.0a. Been awhile since I last used a previous version but here is an important Tip that I found.

    The 'index' page used for easyEmbed ( that's how I spell it ) requires the following structure.
    <head>

    ... custom Header stuff or just leave blank space

    </head>

    <body>

    ... custom Page Top stuff

    <!-- START EMBED -->

    <!-- END EMBED -->

    ... custom Page Bottom stuff
    Even though it may look like invalid code for an Index page, actual output will be valid code.

  3. #313
    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
    I recently had cause to once again use this Mod and decided to try the new 2.0a. Been awhile since I last used a previous version but here is an important Tip that I found.

    The 'index' page used for easyEmbed ( that's how I spell it ) requires the following structure.


    Even though it may look like invalid code for an Index page, actual output will be valid code.
    Yep.. even ver 1.1 works the same way.. Your embed page will "work" but it will fail validation..

    Josh, I'd be happy to update the readme file accordingly and send you the updated readme.txt file..

  4. #314
    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 ########################## View Post
    Reasons to upgrade.
    Of you don't want the new configuration options your best reason to upgrade is speed/memory usage.
    I totally rewrote the way the variables are stored/created.
    in ver 1 the program read the template file and then with out much thought split up the template file in to several large variables which were then were spit out in the appropriate place with in the template system.
    In ver 2 the template is file is read.
    Then any overall path/element mods are made.
    then instead of splitting of the template in to multiple static vars the template now only stores the main template var and spits out the sections on demand with no need to store them.

    so there are your reasons. sorry I could not 'un geek-a-fy' the explanation
    Josh I totally appreciate the "geekdafied" explanation.. I would love to use ver 2.0 of this template.. However I went back to ver 1.1 because I could NOT get ver 2.0 to work at all..

    For the example I posted a few days ago, ver 2.0 appears to strip out all of the HTML from my embed page, leaving only the Zen Cart code. So when you looked at the store NONE of my embed page headers, footers, or sidebars were displaying.. If I view the HTML source for the store, I could ONLY see the Zen Cart rendered HTML.. None of the HTML for my embed page is seen..

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

    Default Re: Easy embed template

    Hi all...

    Found myself here after trying, for a long time, to make my cart work through an iframe... yes, I read some of the previous post and witness the struggle and misery some people went trough with that..

    I know this is the way to go but I have been trying to use easyembed2.0a, unfortunately without success....

    I can make it point to the file I want and the cart will show in the div I selected for it, but when it comes to respecting the CSS that is part of the rest of the site design... disaster!

    here is a link to the site:

    http://www.pineappleessentials.com/

    this is how the cart looks for now:

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

    I want to keep the side navigation bar, the flash, on top, etc..

    but when I embed the cart in the center region I set up for it.... all gets wipe out with the exeption of the bg color .......

    Any suggestions will be welcome....

  6. #316
    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
    Hi all...

    Found myself here after trying, for a long time, to make my cart work through an iframe... yes, I read some of the previous post and witness the struggle and misery some people went trough with that..

    I know this is the way to go but I have been trying to use easyembed2.0a, unfortunately without success....

    I can make it point to the file I want and the cart will show in the div I selected for it, but when it comes to respecting the CSS that is part of the rest of the site design... disaster!

    here is a link to the site:

    http://www.pineappleessentials.com/

    this is how the cart looks for now:

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

    I want to keep the side navigation bar, the flash, on top, etc..

    but when I embed the cart in the center region I set up for it.... all gets wipe out with the exeption of the bg color .......

    Any suggestions will be welcome....
    I could not get ver 2.0 to work either.. and it sounds like you had the exact same problem I did.. The template stipped away nearly all of the other HTML in the embed file. I resolved it for now by rolling back to the last good version that worked for me.. (ver 1.1) I know ver 2.0 has some distinct benefits, but I just can't get it to work.. I'm hoping Josh or someone else can shed some light on what we may be overlooking..

  7. #317
    Join Date
    Jul 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Easy embed template

    Does anybody know where I can get version 1.1 of eayembed?

    seems that would be the one to use in my case...

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

    Default Re: Easy embed template

    Quote Originally Posted by pixels90211 View Post
    I can make it point to the file I want and the cart will show in the div I selected for it, but when it comes to respecting the CSS that is part of the rest of the site design... disaster!
    When using easyEmbed one must remember to include links to required CSS and JS files, same as you would for a regular page.

    Refering back to my post #312 of this thread, you include the following in your easyEmbed - Zen Cart index page:

    HTML Code:
    <head>
    
    <link href="_css/main.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    
    </head>
    Remember to adjust the path or, perhaps easiest when still getting used to easyEmbed, use an absolute link.

  9. #319
    Join Date
    Jul 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Easy embed template

    thanks for the fast reply.

    Yes what you say makes total sense!

    Now my dummy questions.... can't find "easyembed/index"

    this is my file structure (I am testing in a local machine)

    C:\xampp\htdocs\store\includes\templates\sang_embed\easy_embed

    in that directory I only see config.php and magig.php

    In the confing file (shown below):

    [FONT="Courier New"] $this->templateFile= '/xampp/htdocs/Frame-Test.html';

    //content modifcatactions:
    #set values to true/false to modify unless other wise
    # noted in for the value.
    $this->options = array(
    "stripMetaData" => true,
    "stripDocType" => true,
    "stripHtmlTags" => true,
    "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" => ""
    )[/FONT]

    I tried linking to my CSS using the "linkPath" modifiers above
    like so:

    "linkPath" => "/xampp/htdocs/_css/Test_cart.css",

    but nothing yet???

    I know I must be doing something really dumb

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

    Default Re: Easy embed template

    If 'Frame-Test.html' is your Zen Cart index page, that is the file you put the information as shown in post #318.

 

 
Page 32 of 37 FirstFirst ... 223031323334 ... 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