Zen Cart Logo
Forums / Addon Templates / Apple Zen Support Thread

Apple Zen Support Thread

Views: 855,529

Results 601 to 620 of 3,042
7 May 2007, 3:02 PM
#601
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Apple Zen Support Thread

cowgirl32:

I have uploaded the file for this template to my store. After installing there are a few files that were skipped. Is this normal? Here is the message that i get from my ftp.

/apple_zen/header.php" was skipped because the old remote file could not be deleted.

/includes/modules/sideboxes/apple_zen/ezpages_drop_menu.php" was skipped because the old remote file could not be deleted.

/includes/templates/apple_zen/css/stylesheet_header_menu.css" was skipped because the old remote file could not be deleted.

/includes/templates/apple_zen/jscript/jscript_suckerfish.js" was skipped because the old remote file could not be deleted.

When I view my store i see the background and the header but the columns and sideboxes are not showing up. Is this because the files didnt load?

Is this the second time you tried to upload this? Because it sounds like some files were already there? Can you see your remote files, and confirm that all files were uploaded?

7 May 2007, 3:04 PM
#602
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

wrapper:

hmm think I will have to start over as I am not sure that they went in the right folders.
Ok so my new question is did I need to do the custom template in the beginning at all if I am using this template?

No, Apple Zen will become the "custom template" and any changes you make from now and till the future, while using the apple zen template, will be made in the apple zen folder structure. No need to make a template named "custom", because apple zen is your custom template.

7 May 2007, 3:07 PM
#603
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

HelpMeSell:

Please disregard my previous post I wasn't paying attention to the www in the beginning of the URL :oops:

With no addition to the htaccess if I goto http://www.axlesforless.com/index.php I get csshover error and drop down menu's won't work
But if i goto http://axlesforless.com/index.php I get no errors and the drop down menu's work

Ok, this section of code:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

is supposed to make http://axlesforless.com/index.php automatically rewrite to

http://www.axlesforless.com/index.php, which is currently not happening,

So, I'd like you to try putting ONLY the above code into your root .htaccess (yes in public_html) and lets try to get that function working.

7 May 2007, 3:24 PM
#604
helpmesell avatar

helpmesell

New Zenner

Join Date:
Feb 2007
Posts:
77
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Ok, this section of code:

Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

is supposed to make http://axlesforless.com/index.php automatically rewrite to

http://www.axlesforless.com/index.php, which is currently not happening,

So, I'd like you to try putting ONLY the above code into your root .htaccess (yes in public_html) and lets try to get that function working.

OK, I added the above and now I get errors for both with www or no www in the begining (and i can see it adding the www automatically)

7 May 2007, 3:25 PM
#605
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Here's a good method:
http://kalsey.com/2003/07/rounded_corners_in_css/. You'd have to probably create the containers for the corners in tpl_main_page.php.

First of all I want this background to show up on the page that is viewed when you click on this link http://oneposhshop.com/Shop and judging from the page source and the changes that I made to the "tpl_main_page.php" file that isn't the tpl_main_page.

The other thing I'm not clear on is, how do you, "create containers" in the tpl_main_page.php?

Here is what I did in the tpl_main_page.php,```

<div id="mainWrapper"> <?php /** * prepares and displays header output * */ require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?> <div class="roundcont"> <div class="roundtop"> <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/left_corner_bg.jpg" alt="" width="15" height="15" class="corner" style="display: none" /> </div> <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p> <div class="roundbottom"> <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg" alt="" width="15" height="15" class="corner" style="display: none" /> </div> </div></div> <!-- bof breadcrumb -->
7 May 2007, 3:41 PM
#606
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

HelpMeSell:

OK, I added the above and now I get errors for both with www or no www in the begining (and i can see it adding the www automatically)

Try this instead:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

7 May 2007, 3:58 PM
#607
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

oneposhshop:

First of all I want this background to show up on the page that is viewed when you click on this link http://oneposhshop.com/Shop and judging from the page source and the changes that I made to the "tpl_main_page.php" file that isn't the tpl_main_page.

The other thing I'm not clear on is, how do you, "create containers" in the tpl_main_page.php?

Here is what I did in the tpl_main_page.php,```

<div id="mainWrapper"> <?php /** * prepares and displays header output * */ require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?> <div class="roundcont"> <div class="roundtop"> <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/left_corner_bg.jpg" alt="" width="15" height="15" class="corner" style="display: none" /> </div> <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p> <div class="roundbottom"> <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg" alt="" width="15" height="15" class="corner" style="display: none" /> </div> </div></div> <!-- bof breadcrumb -->

Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit. 

I looked at your image:
<http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg>

And that's an awfully large corner. Do you want it that big? Remember that now you'll have a chunk that tall and wide where no text can be.

I like the route you're going, I think its very unique, but I think I'd simplify it by removing the outer shadows, make the corners arcs much smaller, and it would save you some grief. You also need to save it as a gif with a transparent background if you want the background to show through.

Here, I made a corner that I think would work better for you, and have attached it to this message. It's 29px tall by 29px wide, so you'd need to adjust that in the code. Just rotate it and resave it for each corner.

After creating the containers, you'll have a good bit of work in the css to make this the correct widths and such. Its not a simple procedure, sorry!
7 May 2007, 6:38 PM
#608
helpmesell avatar

helpmesell

New Zenner

Join Date:
Feb 2007
Posts:
77
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Try this instead:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

Just tried it, still the same but this time it won't add the www when i don't put www

7 May 2007, 9:06 PM
#609
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit.

I looked at your image:
http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bot_left_corner_bg.jpg

And that's an awfully large corner. Do you want it that big? Remember that now you'll have a chunk that tall and wide where no text can be.

After creating the containers, you'll have a good bit of work in the css to make this the correct widths and such. Its not a simple procedure, sorry!

I just used that sloppy image to see if it would even work and then I'm planning on going back and perfecting the images. For one thing, I used paint shop pro to make that corner and I absolutely hate that program but I didn't want to tie up my other computer just to use photoshop for something that I wasnt sure would even work.

7 May 2007, 10:24 PM
#610
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Well, not quite. You'd need to put the opening one before <div id="mainWrapper"> and the ending ones before the closing </body> You'll have to play around with the placement and css quite a bit.

Here is the code that I changed in the tpl_main_page.php file

<div class="roundcont">
   <div class="roundtop">
     <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/tl_bg.gif" alt="" 
     width="83" height="80" class="corner" 
     style="display: none" />
   </div>

<div id="mainWrapper">
<?php
 /**
  * prepares and displays header output
  *
  */
  require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>

   <p><img src="http:/oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/Trois Soeurs.gif"></p>
  
</div>

<!-- bof  breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->

<?php
  if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

</div>
</div>
</div>
</div>
<?php
  if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?></td>

<?php
if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
  // global disable of column_right
  $flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<?php
 /**
  * prepares and displays right column sideboxes
  *
  */
?>
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
}
?>
  </tr>
</table>

<?php
 /**
  * prepares and displays footer output
  *
  */
  require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');?>
</div>
<!--bof- parse time display -->
<?php
  if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
<div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
<?php
  }
?>
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<?php
  if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>
<!--eof- banner #6 display -->
   <div class="roundbottom">
     <img src="http://oneposhshop.com/Shop/includes/templates/Posh_by_Trois_Soeurs/Images/bl_bg.gif" alt="" 
     width="81" height="79" class="corner" 
     style="display: none" />
   </div>
</div>
</body>

I'm still not clear on why these changes belong in the tpl_main_page.php file if they don't show in the view page source from http://oneposhshop.com/Shop.

Should I be making these changes in the code to another file?

7 May 2007, 10:28 PM
#611
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

oneposhshop:

Here is the code that I changed in the tpl_main_page.php file

I'm still not clear on why these changes belong in the tpl_main_page.php file if they don't show in the view page source from http://oneposhshop.com/Shop.

Should I be making these changes in the code to another file?

Are you saving it in your template folder???

includes/templates/Posh_by_Trois_Soeurs/common/tpl_main_page.php

7 May 2007, 10:30 PM
#612
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

HelpMeSell:

Just tried it, still the same but this time it won't add the www when i don't put www

At one point it seemed to be working (around 11 am today), cause I clicked on

http://axlesforless.com/index.php

and it went to

http://www.axlesforless.com/index.php

Ah, sorry, I made an error, it should be like this (of course replace yoursite with Your Site. :-)):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

7 May 2007, 10:34 PM
#613
oneposhshop avatar

oneposhshop

New Zenner

Join Date:
Apr 2007
Posts:
53
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

Are you saving it in your template folder???

includes/templates/Posh_by_Trois_Soeurs/common/tpl_main_page.php

Ok Ok you win :wink: I saved it in
includes/templates/Posh_by_Trois_Soeurs/templates/tpl_main_page.php

because it was and is all messed up in /common/ but I guess I've ust gotta work at it some more and at least now it shows that it exists. http://oneposhshop.com/shop

Thanks for all your help I'm hopefull that maybe I'll be able to figure this thing out one day.

8 May 2007, 12:39 PM
#614
helpmesell avatar

helpmesell

New Zenner

Join Date:
Feb 2007
Posts:
77
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

At one point it seemed to be working (around 11 am today), cause I clicked on

http://axlesforless.com/index.php

and it went to

http://www.axlesforless.com/index.php

Ah, sorry, I made an error, it should be like this (of course replace yoursite with Your Site. :-)):

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yoursite.com$ [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

I just changed it to the above and now it won't open properly in IE :(

8 May 2007, 12:56 PM
#615
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

HelpMeSell:

I just changed it to the above and now it won't open properly in IE :(
What's IE doing? What version? I just tested in IE7 and its working.

Now also add back that .htc line in the .htaccess for IE versions earlier than IE7.

ETA: Ah, I see your base href for the site is http://axlesforless.com instead of http://www.axlesforless.com. I forget where that's adjusted... in the config files, perhaps?

8 May 2007, 1:30 PM
#616
helpmesell avatar

helpmesell

New Zenner

Join Date:
Feb 2007
Posts:
77
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

What's IE doing? What version? I just tested in IE7 and its working.

Now also add back that .htc line in the .htaccess for IE versions earlier than IE7.

ETA: Ah, I see your base href for the site is http://axlesforless.com instead of http://www.axlesforless.com. I forget where that's adjusted... in the config files, perhaps?

Its IE6 which i am using...I added the .htc line it loads up fine but I still get the same error about accessing csshover.htc

8 May 2007, 1:33 PM
#617
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

HelpMeSell:

Its IE6 which i am using...I added the .htc line it loads up fine but I still get the same error about accessing csshover.htc

I think its because of the base href issue I mentioned in my previous post:

<base href="http://axlesforless.com/" />
8 May 2007, 1:45 PM
#618
doodlebuckets avatar

doodlebuckets

Totally Zenned

Join Date:
Jul 2005
Posts:
497
Plugin Contributions:
0

Re: Apple Zen Support Thread

Jade, I am getting errors in IE7 and am wondering if it is due to the template. Can you take a look and let me what IE is blipping at me about? Thanks! Amy
http://www.doodlebuckets.com/store/

8 May 2007, 2:00 PM
#619
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Apple Zen Support Thread

Doodlebuckets:

Jade, I am getting errors in IE7 and am wondering if it is due to the template. Can you take a look and let me what IE is blipping at me about? Thanks! Amy
http://www.doodlebuckets.com/store/

That's probably due to the IH2 (Image Handler) mod that you're using. I believe this is the correct fix for that issue:

http://www.zen-cart.com/forum/showpost.php?p=164694&postcount=24

8 May 2007, 2:03 PM
#620
helpmesell avatar

helpmesell

New Zenner

Join Date:
Feb 2007
Posts:
77
Plugin Contributions:
0

Re: Apple Zen Support Thread

jettrue:

I think its because of the base href issue I mentioned in my previous post:

<base href="http://axlesforless.com/" />

OK I just added www to the config.php lines below and it seems to work now

define('HTTP_SERVER', 'http://www.axlesforless.com');
define('HTTPS_SERVER', 'https://www.axlesforless.com');

Thanks for all the help!!! :clap: