Forums / Addon Templates / Easy embed template

Easy embed template

Locked

Views: 112,629

Results 241 to 260 of 362
This thread is locked. New replies are disabled.
28 Sep 2008, 6:29 AM
#241
divavocals avatar

divavocals

Totally Zenned

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

Easy embed template

dwickwire:

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
There is no way that works well to "embed" ZenCart into a Joomla blog article.. an iframe is the closest possible solution, but ultimately iframes fail for two reasons:

  1. Session errors which will render many areas of Zen Cart in operable.
  2. The inability to set the height attribute on the iframe so that it adjusts dynamically. (This is not a Joomla error, but a limitation of iframes -- you can only set the iframe width to dynamically adjust to the page width)
    This template is meant to embed Zen Cart into a static HTML page as part of an existing website. That said, a CMS such as Joomla does not create a site which is constructed of static HTML pages persay.

However you can still use this template to "integrate" Zen Cart with a Joomla site if you're willing to do a little work, and you're okay with users having to have one login for Joomla, and another for Zen Cart. (if you are not using any Joomla components which requires user accounts and logins this is a NON issue)

The way I have used the Easy Embed template with Joomla is to create a static HTML page which looked an "empty" clone of like my Joomla pages and them embedded Zen Cat into that cloned page. After that it was simply a matter of adding a link to the Joomla nav to include my Zen Cart, and synching the Zen and Joomla style sheets.

Here is the final result of this: http://www.phlaunthair.com

HTH

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.

30 Sep 2008, 4:56 PM
#242
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

Hi all just wanted to let you know that I have just submitted
version 2.0
to the downloads section of the site.
Its not live yet but there you go.

Please look over the file system as there are lay out changes.
and more configuration OPTIONS.
Also added here is a major memory saver. I rewrote the while thing and revised all of the regex to be more simple.
also it's take on a php class->function object. so instead of dividing the whole thing up into sections and leaving them in memory, it just generates the part of the site needed to be made in on instance and does not retain it in memory.
the result its faster, more easy to read and customize.

I also for the first time did a spell check on the readme file. it was a grueling 10 mins but I made it through.

if you cant wait you can always get the files right from the Subversion repo. the url is https://sanguineasyembedtemplatesystem.googlecode.com/svn/branches/zencart
happy embedding

JOsh Beauregard
Sanguis Development

2 Oct 2008, 4:32 AM
#243
oboeonetwothree avatar

oboeonetwothree

New Zenner

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

Re: Easy embed template

Has anyone successfully wrapped this template mod with a template that includes navigation elements (ie., home, about, contact) and account elements (ie. login/logout, my account)?

More specifically, I want "login" to change to "logoff" when a person is logged in, and vice versa. The culprit is likely the session variables, although they should be accessible since the zencart directory is on the same server as the home, about, and contact web pages, which are in the website root.

I thought the code below should work:

                <?php if ($_SESSION['customer_id']) { ?>
                <li><a href="<?php print("$webroot"."$shop");?>index.php?main_page=login">Logout</a></li>
            <?php
                  } else {
                    if (STORE_STATUS == '0') {
            ?>
                <li><a href="<?php print("$webroot"."$shop");?>index.php?main_page=login">Login</a></li>
            <?php } } ?>

I saw an example with a bunch of zen_href_link references, so I was wondering if those additions to the code are necessary, with ez-pages that link to my "external"(outside zen cart) pages.

Hopefully this topic is relevant enough - I figured not too many other people would see a reason for this workaround.

I would move the zen-cart files into the website root, but:

  • Then there is the issue of two index.php's(since it was recommended not to change the name of zen-cart's index.php-the product/shop page- and I'm not sure how to change index.php -the home page- or if that would impact SEO).
  • And having all of the zencart files floating in the website root would make the file structure less organized.
2 Oct 2008, 3:42 PM
#244
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

oboeonetwothree:

Has anyone successfully wrapped this template mod with a template that includes navigation elements (ie., home, about, contact) and account elements (ie. login/logout, my account)?

More specifically, I want "login" to change to "logoff" when a person is logged in, and vice versa. The culprit is likely the session variables, although they should be accessible since the zencart directory is on the same server as the home, about, and contact web pages, which are in the website root.

I thought the code below should work:

            <?php if ($_SESSION['customer_id']) { ?>
            <li><a href="<?php print("$webroot"."$shop");?>index.php?main_page=login">Logout</a></li>
        <?php
              } else {
                if (STORE_STATUS == '0') {
        ?>
            <li><a href="<?php print("$webroot"."$shop");?>index.php?main_page=login">Login</a></li>
        <?php } } ?>
> 
> I saw an example with a bunch of zen_href_link references, so I was wondering if those additions to the code are necessary, with ez-pages that link to my "external"(outside zen cart) pages.
> 
> Hopefully this topic is relevant enough - I figured not too many other people would see a reason for this workaround.
> 
> I would move the zen-cart files into the website root, but:
> - >
- Then there is the issue of two index.php's(since it was recommended not to change the name of zen-cart's index.php-the product/shop page- and I'm not sure how to change index.php -the home page- or if that would impact SEO).
>
- And having all of the zencart files floating in the website root would make the file structure less organized.
>
what you seem to be asking one fundamental question here can you run php in the markup file.
the answerer is yes  how ever I have had trouble in the past w/ having to run chdir's and includes.  how ever the template file is pre-parsed before any thing is divided up.  so if you are mixing up you html w/ php it might break.
how ever using zen cart functions should not be a problem since application top has already been run at the time that the sang embed is included.

JOsh

JOsh Beauregard
Sanguis Development

9 Oct 2008, 10:20 PM
#245
oboeonetwothree avatar

oboeonetwothree

New Zenner

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

Re: Easy embed template

At the moment I have tpl_main.html with quite a bit of embedded php - but the parsing has not been a problem.

One issue I had was that my included footer.php within tpl_main.html included duplicate </body> and </html> tags, since did two files somewhere in your template system had </body></html> as well. I caught this when my xhtml didn't validate.

  • My fix was to preg_replace </body> and </html> from within tpl_main.html.
  • I tried this at the bottom of embed_config.php, but it also put a bunch of space at the bottom of the footer:
$sitetemplate_bottom = preg_replace("#</body>#is", "", $sitetemplate_bottom);
$sitetemplate_bottom = preg_replace("#</html>#is", "", $sitetemplate_bottom);

I'm not sure why the above code put in all that extra space. -I couldn't see anything suspicious in the browser's source code.

Session solution

  • I ended up using the solution here in order to access application_top.php and keep sessions active throughout my website:
    https://www.zen-cart.com/forum/showthread.php?p=621219#post621219
  • I also moved my Home, About, etc pages to the root directory, and used the above solution for pages in subdirectories (where I could not figure out how to access application_top.php), but presumably it could be used in the inverse manner - for pages in the website root directory above the zencart shop directory.
27 Dec 2008, 12:53 AM
#246
flash avatar

flash

New Zenner

Join Date:
Mar 2004
Location:
Fort Collins, CO :: Play Hockey eh?!
Posts:
60
Plugin Contributions:
0

Re: Easy embed template

I have two footers?!

My download did not have```

<div id="content"> ```

I'm curious, in the directions there is never mention a closing div for that line? In several forum posts I see where users are generally including it anyway.

Here is my page shop.html template page:
http://turningleaftouch.com/shop.html

Here is my shop:
http://turningleaftouch.com

What am I missing?

This is the best thing since beer!

Flash

Larry 'Flash' Alexander
FLASH HQ

27 Dec 2008, 2:22 PM
#247
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

flash:

I have two footers?!

My download did not have```

<div id="content"> ```I'm curious, in the directions there is never mention a closing div for that line? In several forum posts I see where users are generally including it anyway. > > Here is my page shop.html template page: > <http://turningleaftouch.com/shop.html> > > Here is my shop: > <http://turningleaftouch.com> > > What am I missing? > > This is the best thing since beer!Try checking out this post <http://www.zen-cart.com/forum/showpost.php?p=489205&postcount=105>. It should answer your question..

Just a suggestion I'd like to pass on.. before I use ANY Zen Add-On I usually read through the entire support thread so I know if there are any "gotchas" or if the Add-On is generally working or not.. (Don't want to create a site support nightmare form myself..) It's how I discovered UrbanX's tips and instructs for using this mod.. It's was like a lightbulb going off!:D

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.

27 Dec 2008, 10:08 PM
#249
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

Maybe I'm missing it.. but I don't see two footers..

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.

19 Jan 2009, 3:05 PM
#250
stargre avatar

stargre

New Zenner

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

Re: Easy embed template

Hi everyone,

I have the same issue of double footer. Worse yet, I am having double header as well. My site is www.sushi-franchise.com/sushi. Template is www.sushi-franchise.com/home.htm

I do notice as someone suggested that there are two <body></body> tags, which I thought might be a problem. But even if I delete the <body> tag in the home.htm template, the problem is still there.

Another thing I am confusing about is the side columns in joomla. Can they be there if I am going to use the sanguisdex template? Will that be the cause of problem?

I really appreciate your time. But hope you guys can help me out. Even if it's just a few tips, or directions to some resources, that'll be terrific! Thanks!

19 Jan 2009, 8:09 PM
#251
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

stargre:

Hi everyone,

I have the same issue of double footer. Worse yet, I am having double header as well. My site is www.sushi-franchise.com/sushi. Template is www.sushi-franchise.com/home.htm

I do notice as someone suggested that there are two <body></body> tags, which I thought might be a problem. But even if I delete the <body> tag in the home.htm template, the problem is still there.

Another thing I am confusing about is the side columns in joomla. Can they be there if I am going to use the sanguisdex template? Will that be the cause of problem?

I really appreciate your time. But hope you guys can help me out. Even if it's just a few tips, or directions to some resources, that'll be terrific! Thanks!Depends on how you are integrating Zen Cart with Joomla. (Hopefully you are NOT using Joomla's built in iframe function for this)

If you're using this template to "integrate" your site with Joomla, and you are NOT using the new Joomla modules for embedding Zen Cart directly into Joomla, then the Joomla side boxes don't matter. You would only be only using this template to give the "illusion" that your ZenCart is integrated with Joomla (when in fact the store is a completely seperate entity)

So for example in Joomla, you would edit your menu to include a link to your Zen Cart store. That link would take you to your Zen Cart store which will be styled using this template. The embedding file you create should be styled to match your Joomla site, and you would need to include links in Zen Cart to take you back to the Joomla site..

So in this scenario, the Joomla side content boxes don't have to be removed at all on the Joomla side..

Now some of this goes out the window if you are using the new Joomla modules for embedding Zen Cart directly into Joomla. I won't hijack this thread with any of that discussion.. There's some open discussions on the Joomla forum with regards to those modules.. If you are interested, PM me and I'll provide the links to those threads.

HTH

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.

19 Jan 2009, 8:28 PM
#252
stargre avatar

stargre

New Zenner

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

Re: Easy embed template

Hi DivaVocals, Thanks so much for responding. I guess I understand the concept that the two sites are in fact separate. I have a newsfeed module, but that's the only one there. I am not using any special modules from joomla. My joomla is 1.5 and zencart is 1.3.8a.

Could you take a look at the website for me please? www.sushi-franchise.com/sushi. I tried every possible way I can think of, but I am still getting double footer, and the zencart actually always stay below the joomla footer.

Any ideas? Thanks so much for your help!

DivaVocals:

Depends on how you are integrating Zen Cart with Joomla. (Hopefully you are NOT using Joomla's built in iframe function for this)

If you're using this template to "integrate" your site with Joomla, and you are NOT using the new Joomla modules for embedding Zen Cart directly into Joomla, then the Joomla side boxes don't matter. You would only be only using this template to give the "illusion" that your ZenCart is integrated with Joomla (when in fact the store is a completely seperate entity)

So for example in Joomla, you would edit your menu to include a link to your Zen Cart store. That link would take you to your Zen Cart store which will be styled using this template. The embedding file you create should be styled to match your Joomla site, and you would need to include links in Zen Cart to take you back to the Joomla site..

So in this scenario, the Joomla side content boxes don't have to be removed at all on the Joomla side..

Now some of this goes out the window if you are using the new Joomla modules for embedding Zen Cart directly into Joomla. I won't hijack this thread with any of that discussion.. There's some open discussions on the Joomla forum with regards to those modules.. If you are interested, PM me and I'll provide the links to those threads.

HTH

19 Jan 2009, 11:26 PM
#253
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

stargre:

Hi DivaVocals, Thanks so much for responding. I guess I understand the concept that the two sites are in fact separate. I have a newsfeed module, but that's the only one there. I am not using any special modules from joomla. My joomla is 1.5 and zencart is 1.3.8a.

Could you take a look at the website for me please? www.sushi-franchise.com/sushi. I tried every possible way I can think of, but I am still getting double footer, and the zencart actually always stay below the joomla footer.

Any ideas? Thanks so much for your help!So the big question I have is HOW THE HECK did you embed Zen with Joomla?? I'm not sure I even know HOW you would have been able to do this.. I've looked at your page source, and I am stumped unless I see your embed HTML file.. Can you post your embed file code.. (Please use the forum tags for this) ```
[code]

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.

20 Jan 2009, 5:51 AM
#254
stargre avatar

stargre

New Zenner

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

Re: Easy embed template

Here is the template file. Sorry it's a bit long. I basically used the source code for the joomla site.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <!-- saved from url=(0037)<http://sushi-franchise.com/franchise/> --> <HTML lang=en-gb xml:lang="en-gb" xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Welcome to the Sushi Franchise Network</TITLE> <META http-equiv=content-type content="text/html; charset=utf-8"> <META content="index, follow" name=robots> <META content="Sushi Franchise" name=keywords> <META content="Sushi Franchise Network&#13; Where Fish Meets Art" name=description> <META content="MSHTML 6.00.6000.16788" name=GENERATOR><LINK title="RSS 2.0" href="../franchise/index.php?format=feed&type=rss" type=application/rss+xml rel=alternate><LINK title="Atom 1.0" href="../franchise/index.php?format=feed&type=atom" type=application/atom+xml rel=alternate><LINK href="../franchise/templates/rhuk_milkyway/favicon.ico" type=image/x-icon rel="shortcut icon"> <SCRIPT src="home_files/mootools.js" type=text/javascript></SCRIPT> <SCRIPT src="home_files/caption.js" type=text/javascript></SCRIPT> <SCRIPT src="home_files/swfobject.js" type=text/javascript></SCRIPT> <LINK href="home_files/system.css" type=text/css rel=stylesheet><LINK href="home_files/general.css" type=text/css rel=stylesheet><LINK href="home_files/template.css" type=text/css rel=stylesheet><LINK href="home_files/blue.css" type=text/css rel=stylesheet><LINK href="home_files/blue_bg.css" type=text/css rel=stylesheet><!--[if lte IE 6]> <link href="../franchise/templates/rhuk_milkyway/css/ieonly.css" rel="stylesheet" type="text/css" /> <![endif]--></HEAD> <BODY class="color_blue bg_blue width_fmax" id=page_bg><A id=up name=up></A> <DIV class=center align=center> <DIV id=wrapper> <DIV id=wrapper_r> <DIV id=header> <DIV id=header_l> <DIV id=header_r> <DIV id=logo></DIV> <STYLE type=text/css>.oziofloat { MARGIN: 0px auto; WIDTH: 590px; HEIGHT: 210px } </STYLE> <TABLE width="100%"> <TBODY> <TR> <TD> <DIV class=oziofloat id=ozioflashcontent><STRONG>You need to upgrade your Flash Player.</STRONG> </DIV></TD></TR></TBODY></TABLE> <SCRIPT type=text/javascript> var so = new SWFObject("http://sushi-franchise.com/franchise/components/com_oziogallery/preview2.swf?xmlPath=http://sushi-franchise.com/franchise/modules/mod_oziogallery/photo/accordion.php&keepSelected=f&selectedWindow=0&imageWidth=140&imageHeight=140&sWidth=590&sHeight=210", "sotester", "590", "210", "8", "#ffffff"); so.addParam("allowFullScreen", "true"); so.addParam("wmode", "transparent"); so.write("ozioflashcontent");
	</SCRIPT>
<STYLE type=text/css>TABLE.ozio { FONT-SIZE: 9px; WIDTH: 100% } </STYLE> <TABLE class=ozio cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <TD align=right>Powered By <A title="Italian Joomla Support" href="http://www.joomla.it/">Joomla.it</A> </TD></TR></TBODY></TABLE></DIV></DIV></DIV> <DIV id=tabarea> <DIV id=tabarea_l> <DIV id=tabarea_r> <DIV id=tabmenu> <TABLE class=pill cellSpacing=0 cellPadding=0> <TBODY> <TR> <TD class=pill_l> </TD> <TD class=pill_m> <DIV id=pillmenu> <UL class=menu> <LI class=item55><A href="http://sushi-franchise.com/franchise/index.php/home"><SPAN>Home</SPAN></A></LI> <LI class=item56><A href="http://sushi-franchise.com/franchise/index.php/faq"><SPAN>FAQ</SPAN></A></LI> <LI class=item58><A href="http://sushi-franchise.com/franchise/index.php/contact-us"><SPAN>Contact Us</SPAN></A></LI> <LI class=item60><A href="http://sushi-franchise.com/franchise/index.php/sitemap"><SPAN>Sitemap</SPAN></A></LI></UL></DIV></TD> <TD class=pill_r> </TD></TR></TBODY></TABLE></DIV></DIV></DIV></DIV> <DIV id=search> <FORM action=index.php method=post> <DIV class=search><INPUT class=inputbox id=mod_search_searchword onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" alt=Search maxLength=20 value=search... name=searchword> </DIV><INPUT type=hidden value=search name=task> <INPUT type=hidden value=com_search name=option> </FORM></DIV> <DIV id=pathway><SPAN class="breadcrumbs pathway">Home</SPAN> </DIV> <DIV class=clr></DIV> <DIV id=whitebox> <DIV id=whitebox_t> <DIV id=whitebox_tl> <DIV id=whitebox_tr></DIV></DIV></DIV> <DIV id=whitebox_m> <DIV id=area> <DIV id=leftcolumn> <DIV class=module_menu> <DIV> <DIV> <DIV> <H3>Main Menu</H3> <UL class=menu> <LI class="active item1" id=current><A href="http://sushi-franchise.com/franchise/"><SPAN>Home</SPAN></A> <LI class=item27><A href="http://sushi-franchise.com/franchise/index.php/franchise-overview"><SPAN>Franchise Overview</SPAN></A> <LI class=item61><A href="http://sushi-franchise.com/franchise/index.php/job-opportunity"><SPAN>Job Opportunity</SPAN></A> <LI class=item41><A href="http://sushi-franchise.com/franchise/index.php/faq"><SPAN>FAQ</SPAN></A></LI></UL></DIV></DIV></DIV></DIV> <DIV class=module_menu> <DIV> <DIV> <DIV> <H3>Resources</H3> <UL class=menu> <LI class=item53><A href="http://sushi-franchise.com/franchise/index.php/sushi-news"><SPAN>Sushi News</SPAN></A> <LI class=item59><A href="http://sushi-franchise.com/franchise/index.php/Sushi-Gallery"><SPAN>Sushi Gallery</SPAN></A></LI></UL></DIV></DIV></DIV></DIV> <DIV class=module> <DIV> <DIV> <DIV> <SCRIPT type=text/javascript><!-- google_ad_client = "pub-7525735238743538"; /* Sushi-Franchise */ google_ad_slot = "0748986092"; google_ad_width = 160; google_ad_height = 600; //--> </SCRIPT> <SCRIPT src="home_files/show_ads.js" type=text/javascript> </SCRIPT> </DIV></DIV></DIV></DIV></DIV> <DIV id=maincolumn> <TABLE class=nopad> <TBODY> <TR vAlign=top> <TD> <div id="content"> <!-- START EMBED --> <!-- END EMBED --> </div>
</TD>
<TD class=greyline> </TD>
<TD width=170>
  <DIV class=moduletable>
  <H3>Sushi in the News</H3>
  <TABLE class=moduletable cellSpacing=0 cellPadding=0>
    <TBODY>
    <TR>
      <TD>
        <UL class=newsfeed>
          <LI><A 
          href="http://events.nytimes.com/2008/12/28/nyregion/long-island/28dineli.html?partner=rssnyt&emc=rss" 
          target=_blank>Spotlight on Seafood in 2008</A> 
          <DIV class=newsfeed_item><A 
          href="http://events.nytimes.com/2008/12/28/nyregion/long-island/28dineli.html?partner=rssnyt&emc=rss"><IMG 
          height=75 hspace=4 src="home_files/28dine.75.jpg" width=75 
          align=left border=0></A>This year only three new Long Island 
          restaurants really stood out and they are owned by experienced 
          chefs with other high-quality establishments. </DIV>
          <LI><A 
          href="http://events.nytimes.com/2008/11/30/nyregion/westchester/30dinewe.html?partner=rssnyt&emc=rss" 
          target=_blank>A Welcome Addition to the Japanese Menu</A> 
          <DIV class=newsfeed_item><A 
          href="http://events.nytimes.com/2008/11/30/nyregion/westchester/30dinewe.html?partner=rssnyt&emc=rss"><IMG 
          height=75 hspace=4 src="home_files/30dinewe2.75.jpg" width=75 
          align=left border=0></A>Expect more than the typical suburban 
          experience with Japanese food at Murasaki. </DIV>
          <LI><A 
          href="http://travel.nytimes.com/2008/11/09/travel/09Bites.html?partner=rssnyt&emc=rss" 
          target=_blank>Rio de Janeiro: Koni Stores</A> 
          <DIV class=newsfeed_item><A 
          href="http://travel.nytimes.com/2008/11/09/travel/09Bites.html?partner=rssnyt&emc=rss"><IMG 
          height=75 hspace=4 src="home_files/09bites75.jpg" width=75 
          align=left border=0></A>Now spreading across Brazil is a chain of 
          tiny sushi shops that glow like radioactive salmon. </DIV>
          <LI><A 
          href="http://events.nytimes.com/2008/10/29/dining/reviews/29rest.html?partner=rssnyt&emc=rss" 
          target=_blank>Sushi as an Everyday Luxury</A> 
          <DIV class=newsfeed_item><A 
          href="http://events.nytimes.com/2008/10/29/dining/reviews/29rest.html?partner=rssnyt&emc=rss"><IMG 
          height=75 hspace=4 src="home_files/29rest_75.jpg" width=75 
          align=left border=0></A>Kanoyama, a favorite of sushi savants for 
          a while now, and Sushi Azabu, which opened this year, present what 
          might well qualify as sushi bargains. </DIV>
          <LI><A 
          href="http://www.nytimes.com/2008/10/15/dining/15sush.html?partner=rssnyt&emc=rss" 
          target=_blank>What’s Fresh Is Not the Only Factor</A> 
          <DIV class=newsfeed_item>Three environmental groups have issued 
          pocket guides to sushi, listing seafood according to 
          sustainability. </DIV></LI></UL></TD></TR></TBODY></TABLE></DIV>
  <DIV class=moduletable>
  <H3>Polls</H3>
  <FORM name=form2 action=index.php method=post>
  <TABLE class=poll cellSpacing=0 cellPadding=1 width="95%" align=center 
  border=0>
    <THEAD>
    <TR>
      <TD style="FONT-WEIGHT: bold">Is Sake a Necessity to a Sushi 
        Restaurant </TD></TR></THEAD>
    <TBODY>
    <TR>
      <TD align=middle>
        <TABLE class=pollstableborder cellSpacing=0 cellPadding=0 
          border=0><TBODY>
          <TR>
            <TD class=sectiontableentry2 vAlign=top><INPUT id=voteid1 
              type=radio alt=1 value=1 name=voteid> </TD>
            <TD class=sectiontableentry2 vAlign=top><LABEL for=voteid1>Yes 
              </LABEL></TD></TR>
          <TR>
            <TD class=sectiontableentry1 vAlign=top><INPUT id=voteid2 
              type=radio alt=2 value=2 name=voteid> </TD>
            <TD class=sectiontableentry1 vAlign=top><LABEL for=voteid2>No 
              </LABEL></TD></TR></TBODY></TABLE></TD></TR>
    <TR>
      <TD>
        <DIV align=center><INPUT class=button type=submit value=Vote name=task_button> 
          <INPUT class=button onclick="document.location.href='/franchise/index.php/component/poll/14-is-sake-a-necessity-to-a-sushi-restaurant'" type=button value=Results name=option> 
        </DIV></TD></TR></TBODY></TABLE><INPUT type=hidden value=com_poll 
  name=option> <INPUT type=hidden value=vote name=task> <INPUT type=hidden 
  value=14 name=id> <INPUT type=hidden value=1 
  name=acc3a8e77990082e154b7dd916b8d008></FORM></DIV></TD></TR></TBODY></TABLE></DIV>
<DIV class=clr></DIV></DIV> <DIV class=clr></DIV></DIV> <DIV id=whitebox_b> <DIV id=whitebox_bl> <DIV id=whitebox_br></DIV></DIV></DIV></DIV> <DIV id=footerspacer></DIV></DIV> <DIV id=footer> <DIV id=footer_l> <DIV id=footer_r> <P id=syndicate><A href="http://sushi-franchise.com/franchise/index.php?format=feed&type=rss"><IMG alt=feed-image src="home_files/livemarks.png"> <SPAN>Feed Entries</SPAN></A> </P> <P id=power_by>Powered by <A href="http://www.joomla.org/">Joomla!</A>. valid <A href="http://validator.w3.org/check/referer">XHTML</A> and <A href="http://jigsaw.w3.org/css-validator/check/referer">CSS</A>. </P></DIV></DIV></DIV></DIV></DIV></BODY></HTML>

DivaVocals:

So the big question I have is HOW THE HECK did you embed Zen with Joomla?? I'm not sure I even know HOW you would have been able to do this.. I've looked at your page source, and I am stumped unless I see your embed HTML file.. Can you post your embed file code.. (Please use the forum tags for this) ```
[code]

20 Jan 2009, 5:56 AM
#255
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

Correct me if I'm wrong but did you include all the Joomla generated HTML in your embed file???? Because if this is indeed what you've done, this is part of the problem.. Before I post any additional information I need you to confirm how you created your embed file..

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.

20 Jan 2009, 6:11 AM
#256
stargre avatar

stargre

New Zenner

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

Re: Easy embed template

I think that is exactly what I did. I saved the joomla webpage as webpage, complete (home.htm), and got a folder named home_files at the same time, which contains the scripts, css, etc. I uploaded both the home.htm and home_files directory on to the server. And pointed the configure.php to the home.htm template.

So, what am I missing? Thanks a million!

DivaVocals:

Correct me if I'm wrong but did you include all the Joomla generated HTML in your embed file???? Because if this is indeed what you've done, this is part of the problem.. Before I post any additional information I need you to confirm how you created your embed file..

20 Jan 2009, 8:01 AM
#257
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

stargre:

I think that is exactly what I did. I saved the joomla webpage as webpage, complete (home.htm), and got a folder named home_files at the same time, which contains the scripts, css, etc. I uploaded both the home.htm and home_files directory on to the server. And pointed the configure.php to the home.htm template.

So, what am I missing? Thanks a million!Pardon me for being blunt:cool:, but your approach to this is all wrong.. Your embed HTML page should NOT be ripped from your Joomla site in this manner.. You do not need to include all the Joomla code, stylesheet links, and javascript links in your embed page..

Your embed page is an HTML page that is supposed to LOOK like your Joomla site. This is so that the transition between the two programs LOOKS seemless.. It's a visual illusion.

So for your site, if it was me, my embed HTML page would contain ONLY a replication of the top header & footer that's in your Joomla page. Then I'd add my embed tag between the two.. You'll have to know how to create an HTML page from scratch because you are not going to accomplish this illusion by simply ripping one of the Joomla pages and then sticking the Zen Cart code somewhere in the middle of the HTML. (Which is why you have the result you are getting)

If you are not familiar enough with writing your own HTML to do this, my strong suggestion to you is to look into the Joomla modules for linking Joomla & Zen.. It may be loads easier for you to install those modules..

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 Jan 2009, 2:46 PM
#259
sanguisdesign avatar

sanguisdesign

Inactive

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

Re: Easy embed template

starge, not to nit pick.
But I think that you may be having some issues due to bad HTML, when you make your markup in a non standard way things may not display right.

you may want to look at upgrading your code to xhtml. there is a conversion program called html tidy that will do it for you.

JOsh

JOsh Beauregard
Sanguis Development

21 Jan 2009, 2:55 PM
#260
stargre avatar

stargre

New Zenner

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

Re: Easy embed template

Thank you guys! I would definitely look into the program JOsh just mentioned. BTW, maybe I should not ask, but DivaVocal mentioned the joomla extension earlier, which one is it? Thanks a lot!