Page 33 of 37 FirstFirst ... 233132333435 ... LastLast
Results 321 to 330 of 361
  1. #321
    Join Date
    Jul 2009
    Posts
    10
    Plugin Contributions
    0

    Default Re: Easy embed template

    I decided to simplify the page even further to see if it would work.
    The HTML code of my Frame-Test.html is below

    [FONT="Courier New"]<head>
    <link href="_css/Test_cart.css" rel="stylesheet" type="text/css" media="all">
    </head>
    <body>
    <div id="apDiv1">
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>

    </body>
    </html>[/FONT]

    I removed the doctype and title tags (the php scripts will remove them later anyway) but still no luck... none of the CSS that should pass trough the link is considered...

    How did you manage to make yours work?

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

    Default Re: Easy embed template

    1. remove these two lines else you have Validation errors:
    </body>
    </html>

    2. use an absolute link for your CSS file

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

    Default Re: Easy embed template

    Quote Originally Posted by Website Rob View Post
    1. remove these two lines else you have Validation errors:
    </body>
    </html>

    2. use an absolute link for your CSS file
    rob are you saying that I forgot to strip those out of the Zen cart templates?

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

    Default Re: Easy embed template

    Yes sir.

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

    Default Re: Easy embed template

    well thats no good. Some one should update the files. (or at least add it to the issues list)
    I guess next time I have a need to update I will correct that issue, also another programer checked in a nice upgrade the other day. If you get your files directly from the repo you will be able to reffrence your template files via a url. this may solesome of the preprocessing issues that I have encountered via the fread().

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

    Default Re: Easy embed template

    I just noticed. the template has not been downloaded over 5000 times from the ZC addons section

  7. #327
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Easy embed template

    Quote Originally Posted by ########################## View Post
    rob are you saying that I forgot to strip those out of the Zen cart templates?
    Yep.. In the instructions where it gives instructions on creating the basic embed file, the closing body and html tags should not be included or you will have validation errors. So a basic embed file should look like this:

    Code:
    [FONT=Courier New]
    <html>
    <head>ADD ABSOLUTE LINKS FOR CSS OR JAVASCRIPTS HERE[/FONT][FONT=Courier New]</head>
    <body>
    <div id=”content”>
    <!-- START EMBED -->
    <!-- END EMBED -->
    </div>
    [/FONT]
    Last edited by DivaVocals; 1 Aug 2009 at 06:15 PM.

  8. #328
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    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..

  9. #329
    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!

  10. #330
    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

 

 
Page 33 of 37 FirstFirst ... 233132333435 ... 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