Results 1 to 10 of 462

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Simple Zen Template - available in download section

    Quote Originally Posted by dharma View Post
    I gave it a go, looks good but no wrapper now.

    The links look better floating all the on the right anyway so I am going back to the original CSS.

    I found the gif header links in the english folder and am going to experiment with adding another gif to the original set of 3, making it 4 gifs with links.

    If I added another gif and then added an additional:
    PHP Code:
    <ul><li><a id="sc" href="index.php?main_page=whatever_page"><i>Whatever Page</i></a></li
    to the header.php page

    how does ZC discern between each gif? is it the size of the gif?
    Its kind of a complicated css trick. Its all done via this chunk of css (and there's only ONE image, by the way):

    Code:
    #tagline {
    	float:right;
    	height:70px;
    	width:336px;
    	}
    	
    #tagline ul {
      	height:86px; 
      	margin:0;
      	width: 336px;
    	background:#fff url(../images/topnav.gif) no-repeat right top;
      	}
      
    #tagline li {
      	list-style-type:none; 
      	width:0;
      	height:67px;
        position:absolute;
      	}
      
    #tagline a {
    	float:left;
      	height:0;
    	position:absolute; 
      	color:#000; 
      	text-decoration:none; 
     	padding-top:66px; 
     	}
      
    #tagline a#sc{
      	position:absolute; 
      	left:30px; 
      	top:0px;
      	width:90px;
      	}
      
    #tagline a#cu {
      	position:absolute; 
      	left:140px; 
      	top:0px; 
      	width:85px;
      	}
      
    #tagline a#ma{
      	position:absolute; 
      	left:250px; 
      	top:0px; 
      	width:85px;
      	}
    
    #tagline i{visibility:hidden}
    The #sc is for the shopping cart link, the #cu is for the contact us, and the #ma is for the my account link.

    Basically, you'd need to first create your new image with the new picture added, and change the width for the tagline to the new width in two places, all you'd have to change is the width:

    Code:
    #tagline {
    	float:right;
    	height:70px;
    	width:336px;
    	}
    
    #tagline ul {
      	height:86px; 
      	margin:0;
      	width: 336px;
    	background:#fff url(../images/topnav.gif) no-repeat right top;
      	}
    Then, you'd need to add your new link to includes/languages/english/simple_zen/header.php, In the example below, I'll give it the id of #nl.
    Code:
    <ul><li><a id="sc" href="index.php?main_page=shopping_cart"><i>Shopping Cart</i></a></li><li><a id="cu" href="index.php?main_page=contact_us"><i>Contact Us</i></a></li><li><a id="ma" href="index.php?main_page=account"><i>My Account</i></a></li><li><a id="nl" href="index.php?main_page=new_link"><i>New Link</i></a></li></ul>
    Then you'll need to add a new code for #nl (this assumes you'll add it to the end of the image:
    Code:
    #tagline a#nl{
      	position:absolute; 
      	left:360px; 
      	top:0px; 
      	width:85px;
      	}

  2. #2
    Join Date
    Jul 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Simple Zen Template - available in download section

    Hi,

    First I'd like to say this is an awesome template, its been extremely easy to customize.

    My problem is with a column over ride. I followed the directions for over riding the right hand column from a previous post on this thread: http://www.zen-cart.com/forum/showth...=44474&page=11. This over ride worked on all the pages, except for when I link from the manufacturers sidebox on the main page. The right hand column still shows up on the pages that display the listings of a manufacturers products.

    I attempted to fix the problem by adding to the code in tpl_main_page.php with no effect:

    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') or ($current_page!='index' || (int)$cPath>0) or ($current_page!='index' || (int)$manufacturers_id>0 )) {
    // global disable of column_right
    $flag_disable_right = true;
    }
    if (!isset($flag_disable_right) || !$flag_disable_right) {
    ?>
    Any ideas on what I'm doing wrong?

    Thanks,
    Jesse
    Laugh at yourself first, before anyone else can. - Elsa Maxwell

  3. #3
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Simple Zen Template - available in download section

    Quote Originally Posted by kankles View Post
    Hi,

    First I'd like to say this is an awesome template, its been extremely easy to customize.

    My problem is with a column over ride. I followed the directions for over riding the right hand column from a previous post on this thread: http://www.zen-cart.com/forum/showth...=44474&page=11. This over ride worked on all the pages, except for when I link from the manufacturers sidebox on the main page. The right hand column still shows up on the pages that display the listings of a manufacturers products.

    I attempted to fix the problem by adding to the code in tpl_main_page.php with no effect:

    Any ideas on what I'm doing wrong?

    Thanks,
    Jesse
    <?php
    if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') or ($current_page!='index' || (int)$cPath>0) or ($current_page!='index' || (int)$manufacturers_id>0 )) {
    // global disable of column_right
    $flag_disable_right = true;
    }
    if (!isset($flag_disable_right) || !$flag_disable_right) {
    ?>

    Well, a manufacturers page *is* main_page=index, so maybe this part should be like this:

    $current_page=='index' || (int)$manufacturers_id>0

    I'm not really great with php code... I do a lot of trial and error. Let me now how that works out for ya...

  4. #4
    Join Date
    Mar 2007
    Posts
    25
    Plugin Contributions
    0

    Default Re: Simple Zen Template - Support Thread

    jettrue,

    I really like your template. The buttons are cool!

    Just one thing I noticed while playing around, the "Reedeem" button in the gift certificate screen should be "Redeemed"

    Thanks again for this template!

  5. #5
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Simple Zen Template - Support Thread

    i upgraded my site to 1.3.7 and i can't seem to get the colum to show catagories at all, everything was fine until i upgraded the simple_zen files and now even when i use the old back up file the catagories don't show up, i even installed your niftyzen emplate but it was the same.

    www.gorillagear.ca

  6. #6
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Simple Zen Template - Support Thread

    Quote Originally Posted by MB1 View Post
    i upgraded my site to 1.3.7 and i can't seem to get the colum to show catagories at all, everything was fine until i upgraded the simple_zen files and now even when i use the old back up file the catagories don't show up, i even installed your niftyzen emplate but it was the same.

    www.gorillagear.ca
    Can I see the template on?

  7. #7
    Join Date
    Jun 2006
    Posts
    566
    Plugin Contributions
    0

    Default Re: Simple Zen Template - Support Thread

    i figured it out for some reason when i upgraded the site is turned off all my boxes i just went into te box controller and turned it on again

 

 

Similar Threads

  1. Cherry Zen Template Support Thread
    By jettrue in forum Addon Templates
    Replies: 3250
    Last Post: 13 Nov 2017, 08:02 PM
  2. Fresh Zen -- JellyFish Template Support Thread
    By magicbox in forum Addon Templates
    Replies: 93
    Last Post: 11 Apr 2012, 08:54 AM
  3. Free Template "Future Zen" v1.2 Support Thread
    By kuroi in forum Addon Templates
    Replies: 69
    Last Post: 16 Jul 2010, 06:00 AM
  4. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg