Forums / Addon Templates / Easy embed template

Easy embed template

Locked

Views: 112,629

Results 221 to 240 of 362
This thread is locked. New replies are disabled.
21 Jul 2008, 2:21 PM
#221
fiddler avatar

fiddler

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

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!

21 Jul 2008, 2:50 PM
#222
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Easy embed template

fiddler:

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

21 Jul 2008, 3:29 PM
#223
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

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?verbose=1&uri=http%3A%2F%2Ftabbitails.com%2Fcart%2Fincludes%2Ftemplates%2Fsang_embed%2Fcommon%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.

JOsh Beauregard
Sanguis Development

22 Jul 2008, 6:39 PM
#224
fiddler avatar

fiddler

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

Re: Easy embed template

sanguisdesign:

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?verbose=1&uri=http%3A%2F%2Ftabbitails.com%2Fcart%2Fincludes%2Ftemplates%2Fsang_embed%2Fcommon%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/templates/quilt/common/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!

22 Jul 2008, 7:32 PM
#225
fiddler avatar

fiddler

New Zenner

Join Date:
Sep 2005
Posts:
16
Plugin Contributions:
0

Re: Easy embed template

DivaVocals:

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!

22 Jul 2008, 8:28 PM
#226
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Easy embed template

fiddler:

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:laugh:) is here: http://phlaunthair.com

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

23 Jul 2008, 12:18 AM
#227
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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.

The learning is in the doing.

Potent Products

23 Jul 2008, 1:04 AM
#228
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Easy embed template

Website Rob:

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..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

4 Sep 2008, 2:42 PM
#229
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Easy embed template

DivaVocals:

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

JOsh Beauregard
Sanguis Development

4 Sep 2008, 3:09 PM
#230
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

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/sanguineasyembedtemplatesystem/
  • 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

JOsh Beauregard
Sanguis Development

4 Sep 2008, 8:02 PM
#231
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Easy embed template

sanguisdesign:

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.

JOshI agree, and I suggested this.. Unfortunately the client doesn't want ANYTHING on the intro page but the Flash animation.. (unless I am misunderstanding what you are suggesting..)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

22 Sep 2008, 6:48 AM
#232
lah2420 avatar

lah2420

New Zenner

Join Date:
Sep 2008
Posts:
8
Plugin Contributions:
0

Re: Easy embed template

I'm new to posting on threads. Hopefully I don't break etiquette rules and offend anyone. I recently downloaded and installed zen-cart and then the easy embed template. The template works fine as a standalone site. When I try to embed it doesn't work. It says file not found.

I created a file called cart.html. The for the embed_config file, I wrote c:/hosting/webhost4life/member/mysite/cart.html. I am not experienced in html code, so only put the code that you required plus the default language. The file is as follows:

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <div id="content"><!-- START EMBED --> <!-- END EMBED --></div> </body> </html>

I read all the threads and can't understand what I'm doing wrong. I also uploaded the files twice in case I missed a file when installing the template.

Please help

Lee Ann

22 Sep 2008, 3:28 PM
#233
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Easy embed template

lah2420:

I'm new to posting on threads. Hopefully I don't break etiquette rules and offend anyone. I recently downloaded and installed zen-cart and then the easy embed template. The template works fine as a standalone site. When I try to embed it doesn't work. It says file not found.

I created a file called cart.html. The for the embed_config file, I wrote c:/hosting/webhost4life/member/mysite/cart.html. I am not experienced in html code, so only put the code that you required plus the default language. The file is as follows:

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <div id="content"><!-- START EMBED --> <!-- END EMBED --></div> </body> </html>

I read all the threads and can't understand what I'm doing wrong. I also uploaded the files twice in case I missed a file when installing the template.

Please help

Lee Ann

Could you post links or screen shots? I can help you better that way.

JOsh Beauregard
Sanguis Development

22 Sep 2008, 6:34 PM
#235
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Easy embed template

ahhh as I thought you are using this template wrong.
it will modify the look of /store/ using the file cart.html as its base.
but there is no reason that /cart should work.
This is a simple program that allows one to easily modify their cart w/o having to break the template apart for the individual zen cart template files.

JOsh Beauregard
Sanguis Development

22 Sep 2008, 6:56 PM
#236
lah2420 avatar

lah2420

New Zenner

Join Date:
Sep 2008
Posts:
8
Plugin Contributions:
0

Re: Easy embed template

Ok, I have my actual web page and want to put "store" in it or put web page in "store." (the cart program that it has doesn't work so I wanted to get a new one that is cleaner and easy to use). My web page is https://www.rhinonaturals.com. Is that what your template can do? If so where do I place the *.html file that the embed file points to and where do I put the embed file.

22 Sep 2008, 10:20 PM
#237
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Easy embed template

lah2420:

Ok, I have my actual web page and want to put "store" in it or put web page in "store." (the cart program that it has doesn't work so I wanted to get a new one that is cleaner and easy to use). My web page is https://www.rhinonaturals.com. Is that what your template can do? If so where do I place the *.html file that the embed file points to and where do I put the embed file.

The Sanguine Easy embed template can easly wrap your design around an existing zen cart thats all.
If you want to have zen cart functions working on a non zen cart page that is a whole other can of worms. I can do that, but its not what this program does or is intended for. Please highlight what you read that made you think that it would so that I can change that test and correct it.

JOsh Beauregard
Sanguis Development

23 Sep 2008, 3:29 AM
#238
lah2420 avatar

lah2420

New Zenner

Join Date:
Sep 2008
Posts:
8
Plugin Contributions:
0

Re: Easy embed template

So using your template as it is intended, how can I wrap my design portion of rhinonaturals to /store. If I make cart.html to have the design portion of my website, will the embed file make the store be wrapped with my design.

23 Sep 2008, 7:46 AM
#239
sanguisdesign avatar

sanguisdesign

Inactive

Join Date:
May 2005
Location:
Western MA, USA
Posts:
588
Plugin Contributions:
1

Re: Easy embed template

yes,
just besure that where you want the store to be dropped in you have the start/end comments. that is where the store will be put.

JOsh Beauregard
Sanguis Development

25 Sep 2008, 11:22 PM
#240
dwickwire avatar

dwickwire

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Re: Easy embed template

Hi guys,

I have been looking online for a way to embed Zencart shoppingcart into Joomla. I thought this might work but it seems to me that this is a method of redesigning your website to what Zencart looks like. I just want to embed my Zencart home page into a joomla article. Anyone know how to do that?

Thanks

Derek