Re: Apple Zen Support Thread
Quote:
Originally Posted by
Linux
jettrue: I have seriously done some searching and could not find the answer of which php file to use. I want to add my "Wishlist Button" under Add to Cart button but I am not sure which php file. Can you please be so kind to tell me. Thanks so much.
includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php :smile:
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
Don't install the alternate header module. You're not putting it in the right spot or something, and you have messed up the php comments somehow. Install the 2.0 template without any changes, then let me show you exactly what to do.
Hi JetTrue,
I've removed the Alternate Header 1.1a module per your instructions...
Michael
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
MasterGroove
Hi JetTrue,
I've removed the Alternate Header 1.1a module per your instructions...
Michael
OK, great!
Now, all you have to do, is take this whole chunk, starting with <!--bof-navigation display-->
and ending with
<!--eof-navigation display-->
(make sure you look closely and choose the right <!--bof and eof, there's a lot of hidden tags in that file, it would be easy to see the wrong one)
This is the chunk you want to move:
Code:
<!--bof-navigation display-->
<div id="navMainWrapper" class="clearfix">
<div id="navMain">
<div id="navMainLinks">
<ul class="back">
<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php
} else {
if (STORE_STATUS == '0') {
?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<?php } } ?>
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?>
</ul>
</div>
<div id="navMainSearch">
<?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
</div>
</div>
</div>
<!--eof-navigation display-->
Cut all of that, and paste it right after this:
<!--eof-branding display-->
Then, if your not using your ezpages menu in the header, go to your admin, and go to "Configuration", "EzPages Settings" and set the header bar to 0. That will get rid of the extra blue above your drop down menu.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
irenemic
I dunno if this issue has been addressed...:huh:
I just installed the template and I am looking though my page. In the Information>about us it shows a 404 error:page not found and the site map.
Did I just screw something up and how do I fix it? thanks!!!
In the readme.txt, I state that the about_us page is not default to zen cart, and I give a link to the about us mod so that you can install it, and I also give instructions on removing that link from the drop down menu. :smile:
Re: Apple Zen Support Thread
1.I am struggling in how to replace a link with an image.
<?php
// (un): start wishlist link
echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, 'products_id=' . YOUR_PRODUCTS_ID . '&action=un_add_wishlist') . '">' . zen_image_button(BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT) . '</a>' : ''); ?></div>
<?php
// (un): end wishlist link
?>
I keep getting an error and can't figure out the problem.
2. I want it right under my Add to Cart and not sure where to place. Again, I have moved it around and keep getting errors.
Thanking you in advance for your time and help.
Re: Apple Zen Support Thread
Hey quick question, would anyone know why on the main page http://shop.dgbremner.com
The drop down menu is being cut off by that java slideshow in IE and not firefox?
Re: Apple Zen Support Thread
Quote:
Originally Posted by
Linux
1.I am struggling in how to replace a link with an image.
<?php
// (un): start wishlist link
echo '<a href="' . zen_href_link(UN_FILENAME_WISHLIST, 'products_id=' . YOUR_PRODUCTS_ID . '&action=un_add_wishlist') . '">' . zen_image_button(BUTTON_IMAGE_WISHLIST, BUTTON_WISHLIST_ALT) . '</a>' : ''); ?></div>
<?php
// (un): end wishlist link
?>
I keep getting an error and can't figure out the problem.
2. I want it right under my Add to Cart and not sure where to place. Again, I have moved it around and keep getting errors.
Thanking you in advance for your time and help.
What's the error, and could I see a link?
Have you defined BUTTON_IMAGE_WISHLIST and BUTTON_WISHLIST_ALT? Where did you get "YOUR_PRODUCTS_ID" from? As far as I know, that is not even used at all in zen cart.
Re: Apple Zen Support Thread
I'm trying to add Featured Products to my drop down menu and I'm having a little trouble. I was able to get the link to show up in the menu, but I'm not sure what the link should be.
This is what I added to tpl_drop_menu.php:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_FEATURED); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>
That link didn't work (although, with an added language define, the menu item shows up just fine), so I tried:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS_MODULE); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>
which doesn't work either.
Can anyone tell me how to code this link? Thanks a bunch.
Re: Apple Zen Support Thread
Quote:
Originally Posted by
hrm
I'm trying to add Featured Products to my drop down menu and I'm having a little trouble. I was able to get the link to show up in the menu, but I'm not sure what the link should be.
This is what I added to tpl_drop_menu.php:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_PRODUCTS_FEATURED); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>
That link didn't work (although, with an added language define, the menu item shows up just fine), so I tried:
Code:
<li><a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS_MODULE); ?>"><?php echo HEADER_TITLE_FEATURED_PRODUCTS; ?></a></li>
which doesn't work either.
Can anyone tell me how to code this link? Thanks a bunch.
You have the wrong define for the filename. You can find ALL the pages' defines in includes/filenames.php for the featured products you'll see this:
define('FILENAME_FEATURED_PRODUCTS','featured_products');
Re: Apple Zen Support Thread
Quote:
Originally Posted by
jettrue
What's the error, and could I see a link?
Have you defined BUTTON_IMAGE_WISHLIST and BUTTON_WISHLIST_ALT? Where did you get "YOUR_PRODUCTS_ID" from? As far as I know, that is not even used at all in zen cart.
jettrue: I was just trying to replace the link (Add To Wishlist) with an image and just gave up on it. No biggie I will just keep the link. I am not a programmer and was trying different things to see if it worked. Thanks so much for helping out.