Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default GTI Custonm Templates Support

    If you have any questions about my Templates, please ask them here.

    Happy Zen-ning

    JT

  2. #2
    Join Date
    Mar 2008
    Posts
    46
    Plugin Contributions
    0

    Default Re: GTI Custonm Templates Support

    hi...
    thanks for the beautiful GTI templates.
    I've applied the red one to my webstore.

    I would like to make a little adjustment to the contents and need your help to make it happen. Pls refer attached image for my case.

    I want to add new link right beside the Advanced Search in the picture. I've go through every files in your templates. but i can't find where to modified. FYI - i'm not quit familiar with PHP coding.

    Thanks.
    Regards.
    Attached Images Attached Images  
    My Online Store
    Sumri (The Founder)

  3. #3
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: GTI Custonm Templates Support

    Quote Originally Posted by sumri View Post
    hi...
    thanks for the beautiful GTI templates.
    I've applied the red one to my webstore.

    I would like to make a little adjustment to the contents and need your help to make it happen. Pls refer attached image for my case.

    I want to add new link right beside the Advanced Search in the picture. I've go through every files in your templates. but i can't find where to modified. FYI - i'm not quit familiar with PHP coding.

    Thanks.
    Regards.
    Thanks, glad you like it.

    The file that you are looking for is located here:
    includes/templates/gti_custom_red/common/tpl_header.php

    Look around lines 107 to 115
    Code:
              <div id="altLinks">
                 <a href="<?php echo zen_href_link(FILENAME_SPECIALS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_SPECIALS;?></a> |
                 <a href="<?php echo zen_href_link(FILENAME_FEATURED_PRODUCTS, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_FEATURED;?></a> |
                 <a href="<?php echo zen_href_link(FILENAME_PRODUCTS_ALL, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_ALLPRODUCTS;?></a> |
    	     <a href="<?php echo zen_href_link(FILENAME_ADVANCED_SEARCH, '', 'NONSSL'); ?>"><?php echo HEADER_SUB_ADVANCED_SEARCH;?></a>
    	     <br /><br />
    	     <?php echo HEADER_SUB_SEARCH; ?>
    	         <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
    
    ADD YOUR LINK HERE
    
    		  <br class="clearBoth" />
    Add your link as shown above before the <br class="clearboth">

  4. #4
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: GTI Custonm Templates Support

    Now that I look at my reply, you want to ADD your link before the 2 <br /><br /> in this line.

    Code:
    <br /><br />
    	     <?php echo HEADER_SUB_SEARCH; ?>
    	         <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
    This line is the Search Box on the line below where you want to add your link.

    JT

  5. #5
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: GTI Custonm Templates Support

    Thanks for sharing, it is a good template.

  6. #6
    Join Date
    Mar 2008
    Posts
    46
    Plugin Contributions
    0

    Default Re: GTI Custonm Templates Support

    Still updating my store.
    Can somebody help me to center alignment this picture (pls see attached pic).
    TQVM.
    Attached Images Attached Images  
    My Online Store
    Sumri (The Founder)

  7. #7
    Join Date
    Apr 2008
    Posts
    351
    Plugin Contributions
    4

    Default Re: GTI Custonm Templates Support

    Quote Originally Posted by sumri View Post
    Still updating my store.
    Can somebody help me to center alignment this picture (pls see attached pic).
    TQVM.
    You need to drop some divisions and the pad the left side a bit. You have this:
    Code:
    <div class="leftBoxContainer" id="ccaccept" style="width: 190px;">
    <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3>
    <div id="ccacceptContent" class="sideBoxContent">
    </div>
    <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u">
    <div id="ccacceptContent" class="sideBoxContent">
    </div>
    Change to to this:
    Code:
    <div class="leftBoxContainer" id="ccaccept" style="width: 190px;">
    <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3>
    <div id="ccacceptContent" class="sideBoxContent">
    <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u">
    </div>
    Then pad the .cc_img in your stylesheet.css .
    This will also put it inside the sidebox instead of between them.

  8. #8
    Join Date
    Mar 2008
    Posts
    46
    Plugin Contributions
    0

    Default Re: GTI Custonm Templates Support

    Quote Originally Posted by JTheed View Post
    You need to drop some divisions and the pad the left side a bit. You have this:
    Code:
    <div class="leftBoxContainer" id="ccaccept" style="width: 190px;">
    <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3>
    <div id="ccacceptContent" class="sideBoxContent">
    </div>
    <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u">
    <div id="ccacceptContent" class="sideBoxContent">
    </div>
    Change to to this:
    Code:
    <div class="leftBoxContainer" id="ccaccept" style="width: 190px;">
    <h3 class="leftBoxHeading" id="ccacceptHeading">We Accept ...</h3>
    <div id="ccacceptContent" class="sideBoxContent">
    <img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u">
    </div>
    Then pad the .cc_img in your stylesheet.css .
    This will also put it inside the sidebox instead of between them.
    Thanks for the quick reply.
    This is the original scripts in tpl_cc_accept.php
    Code:
    $content = '';
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
    $content .= '<img id="ccMC" class="cc_img" src="images/cc_logos/logo_mb2u.gif" alt="Maybank2u"/>' . "\n" .
    $content .= '</div>' . "\n";
    seems like the given solution has been converted into full html script i guess.
    My Online Store
    Sumri (The Founder)

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: GTI Custonm Templates Support

    Just adding #ccaccept {text-align: center} would center your image.

    But there is a different problem in that your add-in seems to be repeating the bix divs, and that couldn't be done by the code that you have posted. Is that code being overridden somewhere in your template.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. v150 SamWilson3D.com Templates Support
    By samwilson3d in forum Addon Templates
    Replies: 45
    Last Post: 17 Aug 2016, 05:48 PM
  2. [Support Thread] Transcendence Series (Admin Templates)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 70
    Last Post: 22 Jul 2016, 08:37 PM
  3. v151 Flower Templates Support Thread
    By creamcrackers in forum Addon Templates
    Replies: 1
    Last Post: 25 Jun 2013, 09:12 PM
  4. v150 Using GTI Custom Green
    By dfontana in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 22 Sep 2012, 06:26 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