Forums / Addon Templates / Easy embed template

Easy embed template

Locked

Views: 112,629

Results 201 to 220 of 362
This thread is locked. New replies are disabled.
2 Jun 2008, 12:12 PM
#201
sanguisdesign avatar

sanguisdesign

Inactive

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

Easy embed template

Kilch:

Site location is: http://mysite.com

ZenCart location is http://mysite.com/zc

Thanks.
ok what I would do is move the file shop.html into the folder zc then make you config file look like this.

//if your mark up file is located in the same folder as this file.
#$zc_temp = DIR_FS_CATALOG . DIR_WS_TEMPLATES. 'sang_embed/common/' . 'FILENAME';
//if your mark up file is located in the zen cart root.
$zc_temp = DIR_FS_CATALOG . 'shop.html';
//other wise fill this in
#$zc_temp = 'http://mywebsite.com/shop.html';

JOsh Beauregard
Sanguis Development

5 Jun 2008, 8:22 PM
#202
koneho avatar

koneho

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Easy embed template

i'm having trouble with navigation on at the very top of my html site. The button images aren't showing. does anyone know how to fix this.
heres the link: http://www.liitfashion.com/shop//

6 Jun 2008, 4:54 AM
#203
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

koneho:

i'm having trouble with navigation on at the very top of my html site. The button images aren't showing. does anyone know how to fix this.
heres the link: http://www.liitfashion.com/shop//
all the java script is confusing some of the magic of this code. as in it does not recognize the patterns in your java script and is either rewriting them or not wring them at all. you will have to add patterns or edit you mark up file.

Unfortunately for you there really is no easy answer it will take trail and error in pointing the code to th right place.

May I suggest you use css roll over instead

JOsh Beauregard
Sanguis Development

24 Jun 2008, 1:41 PM
#204
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

Hi there,
I have always thought it would be good for the easy embed template to have some sort of screen shot. because I am sick of using the screen shot from the classic template and confusing people. so any one want to make one?

Come you know every body's doing it.

JOsh Beauregard
Sanguis Development

24 Jun 2008, 5:10 PM
#205
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

koneho:

i'm having trouble with navigation on at the very top of my html site. The button images aren't showing. does anyone know how to fix this.
heres the link: http://www.liitfashion.com/shop//This is an issue with your javascript menu expecting the images to be found in the same place as your shop. So instead of the script pointing to:
"http://www.liitfashion.com/image1"

it's looking for an image to be located at

"http://www.liitfashion.com/shop/image1". You will need to modify the javascript on your embed file to point to the correct location for the menu image files.. However, I agree that you should ditch this javascript rollover menu for a CSS rollover menu.. This would require some minor synching between the site and Zen CSS to make it all work correctly..

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.

14 Jul 2008, 12:35 AM
#206
stargre avatar

stargre

New Zenner

Join Date:
Jul 2006
Posts:
89
Plugin Contributions:
0

Re: Easy embed template

:oops:Hi! I am trying to embed zencart into the native joomla default template.

I put the three-line code into it and everything seems to be fine except two issues:

  1. The template navigation part appears TWICE no matter what I modify.
  2. I can't put the zencart into the position I want. See attached pictures please.

My template file zen.html is in the attachement as well. My guess is the </tr></td></div> tags are messed up. But I really don't know much about it. Anyone here could help please! Thanks so much!

14 Jul 2008, 12:56 PM
#207
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

stargre:

:oops:Hi! I am trying to embed zencart into the native joomla default template.

I put the three-line code into it and everything seems to be fine except two issues:

  1. The template navigation part appears TWICE no matter what I modify.
  2. I can't put the zencart into the position I want. See attached pictures please.

My template file zen.html is in the attachement as well. My guess is the </tr></td></div> tags are messed up. But I really don't know much about it. Anyone here could help please! Thanks so much!
ok i really cant tell any thing from your images (could you please make them bigger so that one could see details).
2 from what I can see in your zen.txt file you may have a problem w/ your doc type. the easy embed template re-writes the doc type to work w/ with the Zen carts doc type. which at the moment is xhtml 1.o transitional. Try upgrading your mark up files mark up to that standard and retry.
Before you ask, the easiest way to upgrade the markup is to use a program called htmltidy.

JOsh Beauregard
Sanguis Development

15 Jul 2008, 1:14 PM
#208
excalibur avatar

excalibur

New Zenner

Join Date:
May 2007
Posts:
15
Plugin Contributions:
0

Re: Easy embed template

stargre:

:oops:Hi! I am trying to embed zencart into the native joomla default template.

I put the three-line code into it and everything seems to be fine except two issues:

  1. The template navigation part appears TWICE no matter what I modify.
  2. I can't put the zencart into the position I want. See attached pictures please.

My template file zen.html is in the attachement as well. My guess is the </tr></td></div> tags are messed up. But I really don't know much about it. Anyone here could help please! Thanks so much!

good luck with it, I embedded my store within joomla using this great template solution, but got lots of trouble with customers not being able to log in due to session id's etc, so had to revert back to normal :(

15 Jul 2008, 4:12 PM
#209
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

excalibur:

good luck with it, I embedded my store within joomla using this great template solution, but got lots of trouble with customers not being able to log in due to session id's etc, so had to revert back to normal :(
if you were getting poor URL's and what not then you were not using this template right.
Its for embedding zen cart in a design, not for embedding zen cart in a program.
You can match the look. adn w/ fancy php you can match things out of other CMS's in that bring emalemnts of embeding form other programs. but its still hs to be external. (calling a joomla generated menu in you zen cart for example)

JOsh Beauregard
Sanguis Development

15 Jul 2008, 8:29 PM
#210
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:

if you were getting poor URL's and what not then you were not using this template right.
Its for embedding zen cart in a design, not for embedding zen cart in a program.
You can match the look. adn w/ fancy php you can match things out of other CMS's in that bring emalemnts of embeding form other programs. but its still hs to be external. (calling a joomla generated menu in you zen cart for example)ITA.. I looked into trying to embed Zen in Joomla using this template and had all kinds of issues.. So I opted for the option of skinning my ZenCart to match my Joomla site using this template to help make it look seemless.. Maybe one day someone really will build a Zen/Joomla component..

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.

15 Jul 2008, 9:02 PM
#211
beggarsbones avatar

beggarsbones

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

Re: Easy embed template

This was referred to me in the hopes of de-framing my website, as i understand they're pretty out of style and all around bad. the site is

https://www.beggarsbones.com
my cart is at beggarsbones.com/store

would this allow me to ditch my frames and leave the site as-is, or would i basically have to create a new site and then embed the store into it? i am new and totally nervous about moving big chunks of the site around... although its mainly the store part i dont wanna screw up! :)

16 Jul 2008, 12:16 PM
#212
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

beggarsbones:

This was referred to me in the hopes of de-framing my website, as i understand they're pretty out of style and all around bad. the site is

www.beggarsbones.com
my cart is at beggarsbones.com/store

would this allow me to ditch my frames and leave the site as-is, or would i basically have to create a new site and then embed the store into it? i am new and totally nervous about moving big chunks of the site around... although its mainly the store part i dont wanna screw up! :)If you wanted to keep the navigation in your top frame, while removing the top frame, then YES this tool will help you "de-frame" your store.. BUT this template is only part of the equation in "de-framing" your site.. This template will allow you to embed ZenCart so that your navigation appear above the store WITHOUT the frame.

However there is the matter of de-framing the rest of your site.. There are a few approaches for this. IMO the simplest would involve creating an include using your top navigation and calling this include from your other pages.. This give the same end result of your frames without the frames.. But this solution requires you to know a little bit of simple coding to pull it off. The solution requires some planning, and may require you to do a little research to learn some new stuff to pull it off..

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.

16 Jul 2008, 12:50 PM
#213
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

DivaVocals:

ITA.. I looked into trying to embed Zen in Joomla using this template and had all kinds of issues.. So I opted for the option of skinning my ZenCart to match my Joomla site using this template to help make it look seemless.. Maybe one day someone really will build a Zen/Joomla component..
And maybe someday that person will be you. I have been thinking about writing a wiki article about how to make sang embed work for any project you wanted. but I have not had a chance to, as my paid work hass not been funding my free work enough latley.

JOsh

JOsh Beauregard
Sanguis Development

16 Jul 2008, 1:01 PM
#214
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

beggarsbones:

This was referred to me in the hopes of de-framing my website, as i understand they're pretty out of style and all around bad. the site is

https://www.beggarsbones.com
my cart is at beggarsbones.com/store

would this allow me to ditch my frames and leave the site as-is, or would i basically have to create a new site and then embed the store into it? i am new and totally nervous about moving big chunks of the site around... although its mainly the store part i dont wanna screw up! :)
if you wanted to continue having your menu being fixed in one on the top of the browsers you can mimic frames w/ css using the overflow property in divs mimicking frames.

Just a thought

JOsh Beauregard
Sanguis Development

17 Jul 2008, 2:49 AM
#215
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:

And maybe someday that person will be you. I have been thinking about writing a wiki article about how to make sang embed work for any project you wanted. but I have not had a chance to, as my paid work hass not been funding my free work enough latley.

JOsh:laugh::laugh: Yeah.. Except I'm not a coder, so the likelyhood of me building a Zen/Joom bridge is pretty much NIL! I'll leave the coding to the REAL code monkeys like yourself sir!:smile:

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.

17 Jul 2008, 5:09 PM
#216
fiddler avatar

fiddler

New Zenner

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

Re: Easy embed template

Well, I'd like to know what I'm doing wrong.
All I want to do is "wrap" 4 graphics around the shopping cart, like a border.

I've installed the template - and it is showing in my ZenCart at:
http://tabbitails.com/cart/
I have the html file as shop.html - and shop2.html, both of which are in
/public_html/cart/includes/templates/sang_embed/common/
as well in the main directory.

(I know shop2.html doesn't "lay" right - and I've not even begun to touch the css, which will fix it, but I wanted to get the shopping cart to recognize the html first before wading in more.)

I have the following codes in the html file:

<!-- START EMBED --> <!-- END EMBED --> <div> And I have the code: $zc_temp = DIR_FS_CATALOG . 'shop2.html'; in the embed_config.php file (btw, I've also tried these: $zc_temp = /public_html/shop.html and $zc_temp = /shop.html

I have all the files in the template folders where they are suppose to be -

When I access the cart, I see the template, and edit the shopping cart - it is just not communicating with my html file. I get no errors. I just don't get the graphics that are suppose to be on the outside of the ZenCart.
Argh! WHAT am I doing wrong - and how do I fix this?

Work when you have to. Play when you can!

17 Jul 2008, 8:51 PM
#217
website_rob avatar

website_rob

Inactive

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

Re: Easy embed template

I have the html file as shop.html - and shop2.html, both of which are in
/public_html/cart/includes/templates/sang_embed/common/

Then this should work: $zc_temp = 'shop.html';

If it doesn't then use a full path:
$zc_temp = '/home/username/public_html/cart/includes/templates/sang_embed/common/shop.html';

The learning is in the doing.

Potent Products

20 Jul 2008, 1:14 PM
#218
fiddler avatar

fiddler

New Zenner

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

Re: Easy embed template

Website Rob:

Then this should work: $zc_temp = 'shop.html';

If it doesn't then use a full path:
$zc_temp = '/home/username/public_html/cart/includes/templates/sang_embed/common/shop.html';

Thanks for the suggestion. I am now seeing the graphics - but they are showing up weird - there are only 4 graphics, a top, right, bottom and left - but for some reason the top and bottom are "duplicated" at the top of the page, and the left and right graphics don't show up at all. well, at least I feel like I'm getting somewhere. Thanks. I'll post again when I get this thing solved. In the meantime, if anyone has experienced this sort of problem, please let me know.

Work when you have to. Play when you can!

20 Jul 2008, 4:55 PM
#219
fiddler avatar

fiddler

New Zenner

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

Re: Easy embed template

I'm still in need of help. I now have my graphics showing, but they are showing up twice or three times. I don't understand what is going on.

Here is my html file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Tabbi Tails</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <center> <TABLE> <TR><TD colspan=3 HEIGHT=34 ALIGN=center><img src="images/top.jpg"></TD></TR> <TR> <TD></TD> <TD><img src="images/left.jpg"></TD> <TD VALIGN="top"> <div id="content"> <!-- START EMBED --> <!-- END EMBED --> </div> </TD> <TD><img src="images/right.jpg"></TD> </TR> <TR><TD colspan=3 HEIGHT=34><center><img src="images/bottom.jpg"></center></TD></TR> </TABLE> </center> </BODY> </HTML>

The template can be seen through the browser at:
http://tabbitails.com/cart/includes/templates/sang_embed/common/shop.html

That is the only place I call up those images. I do not have those images on the stylesheets anywhere. In fact, I have left the original stylesheets intact.

You can see how the page lays out with duplicate/triplicate images at:
http://tabbitails.com/cart

The stylesheets can be found at: http://tabbitails.com/cart/includes/templates/sang_embed/css/
The stylesheets are 'style-2.css' and 'stylesheet.css'

ANYONE have any idea why these images are duplicating?

Work when you have to. Play when you can!

21 Jul 2008, 12:05 PM
#220
fiddler avatar

fiddler

New Zenner

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

Re: Easy embed template

Well, I managed to get rid of the images that were showing up three times on the page - but don't ask me how. All I did was a little html tweaking on the template, deleting a cell in the table that had no images in it. But the cart is still coming up with showing the entire html layout first, with an empty space where the shopping cart contents should be, then immediately below that the entire html layout is showing up WITH the shopping cart contents where it should be. So in other words, the template is showing up by itself, then correctly. Talk about screwy! What could cause this to happen?

I've tried deleting both the css stylesheets to see if they had any effect on the situation, they didn't. And the only place the images show up at all on the server are in the images directory of the cart.

The "improved" html layout is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Tabbi Tails</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> </HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> <center> <TABLE WIDTH=770> <TR><TD colspan=3 HEIGHT=34 WIDTH=770 ALIGN=right background="images/top.jpg"><img src="images/spacer.gif" width=770 height="HEIGHT=34" /></TD></TR> <TR> <TD><img src="images/left.jpg" WIDTH=67><img src="images/spacer.gif"></TD> <TD VALIGN="top" WIDTH=640> <div id="content"> <!-- START EMBED --> <!-- END EMBED --> </div> </TD> <TD background="images/right.jpg" WIDTH=67><img src="images/spacer.gif" width=67></TD> </TR> <TR><TD colspan=3 HEIGHT=34 ALIGN=center background="images/bottom.jpg"></TD><img src="images/spacer.gif" width=770 height="HEIGHT=34" /></TR> </TABLE> </center> </BODY> </HTML>

Still no ideas on why the template is duplicating itself before it implements the shopping cart?!

Work when you have to. Play when you can!