Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2007
    Posts
    80
    Plugin Contributions
    0

    help question Move a page 2 link to categories question

    I've been searching through the forums and the help files and the php files for the answer but still can't find it.

    I'm just wondering what would be the best way to add a new link and page into the categories box and also where the second set of links is shown for categoreis .

    I have been working on one of the page_2, 3, 4 files and realised it would possibly be better if ilinked from categories.

    Any one know how to move a page_2 file link up to categories sidebox?

    Thanks for any help

    Another question if I may I found a description to make a link not using EZ pages on here then lost it any one know any link creation posts that are about placing a link around what I think the ez pages call the header?

    Thanks again for any help
    Last edited by meknownowt; 8 Feb 2008 at 02:39 AM. Reason: just to clarify

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Move a page 2 link to categories question

    In a copy of /includes/templates/template_default/sideboxes/tpl_categories.php placed in your template file structure add your link where indicated:

    Code:
        if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
          $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
        }
      }
    Add Your Link info
      $content .= '</div>';
    ?>
    Second issue need additional concise needs of what you have and what you want
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Dec 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Move a page 2 link to categories question

    Quote Originally Posted by kobra View Post
    In a copy of /includes/templates/template_default/sideboxes/tpl_categories.php placed in your template file structure add your link where indicated:

    Code:
        if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
          $content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
        }
      }
    Add Your Link info
      $content .= '</div>';
    ?>
    Thanks for such a quick response.

    Not sure what I add Add Your Link info there have tried several things but don't know enough to make it work,. Any help would be great thanks.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Move a page 2 link to categories question

    Normal valid html link code like:
    Code:
    <a href="http://your_domain.com/your_file_link/">text_to be_displayed</a>
    Or in your case:
    Code:
    <a href="index.php?main_page=page_2">text_to be_displayed</a>
    Last edited by kobra; 8 Feb 2008 at 06:07 AM.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Move a page 2 link to categories question

    Quote Originally Posted by kobra View Post
    Normal valid html link code like:
    Code:
    <a href="http://your_domain.com/your_file_link/">text_to be_displayed</a>
    Or in your case:
    Code:
    <a href="index.php?main_page=page_2">text_to be_displayed</a>
    I know I must be doing something wrong but I have tried over and over and even tried to add that to the original categories.php file to see if it was a template fault.

    It is making everything from where the categories box starts and bellow diapear, not just the boxes everything.

    I tried both the options on the last post but it did the same thing

    I am saving it in the templates/custom/sideboxes and I have tried saving it in other places but it has no effect.

    Puzzeling this stuff but great when you get to the other end of each puzzle

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Move a page 2 link to categories question

    even tried to add that to the original categories.php file to see if it was a template fault.
    This is not categories.php...you should find /includes/templates/template_default/sideboxes/tpl_categories.php
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Dec 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Move a page 2 link to categories question

    Quote Originally Posted by kobra View Post
    This is not categories.php...you should find /includes/templates/template_default/sideboxes/tpl_categories.php
    Yeah that is what I ment sorry not enough sleep at the time, I find when I'm trying to find an answer for something, its suddenly 5am and my eyes are starting to slant sideways

    It was the tpl_categories.php I was working on Sorry for the confusion

    I'm goping to give it another try now I'm awake and see what I was missing

    Thanks again for the responce

  8. #8
    Join Date
    Dec 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: Move a page 2 link to categories question

    Quote Originally Posted by meknownowt View Post
    Yeah that is what I ment sorry not enough sleep at the time, I find when I'm trying to find an answer for something, its suddenly 5am and my eyes are starting to slant sideways

    It was the tpl_categories.php I was working on Sorry for the confusion

    I'm goping to give it another try now I'm awake and see what I was missing

    Thanks again for the responce
    Still didn't work been at it all day and I either get no effect or if I put in the place it should go then it wipes out every thing from where th boxes start

    Any suggestions on what I should be looking out for that would cause that?

 

 

Similar Threads

  1. HOw to move "larger image" link to different page?
    By jessica721 in forum General Questions
    Replies: 2
    Last Post: 22 Jun 2011, 12:59 AM
  2. move main page text below categories
    By tracyselena in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 5 May 2010, 08:48 PM
  3. Move 'All Products' Link to top of categories box?
    By mike_9000 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 5 Aug 2009, 06:10 PM
  4. Replies: 2
    Last Post: 19 Nov 2008, 10:37 PM
  5. Move top page ''home'' and ''log in'' to categories tabs
    By J.P. in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Oct 2008, 10:20 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