Forums / Templates, Stylesheets, Page Layout / Move a page 2 link to categories question

Move a page 2 link to categories question

Locked

Views: 1,424

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Feb 2008, 1:38 AM
#1
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

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

8 Feb 2008, 1:51 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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:

    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

8 Feb 2008, 2:28 AM
#3
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

Re: Move a page 2 link to categories question

kobra:

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

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.
8 Feb 2008, 5:03 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Move a page 2 link to categories question

Normal valid html link code like:

<a href="http://your_domain.com/your_file_link/">text_to be_displayed</a>

Or in your case:

<a href="index.php?main_page=page_2">text_to be_displayed</a>

Zen-Venom Get Bitten

8 Feb 2008, 7:37 AM
#5
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

Re: Move a page 2 link to categories question

kobra:

Normal valid html link code like:

<a href="http://your_domain.com/your_file_link/">text_to be_displayed</a>

> Or in your case:
> ```
<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

8 Feb 2008, 3:11 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

8 Feb 2008, 5:01 PM
#7
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

Re: Move a page 2 link to categories question

kobra:

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

9 Feb 2008, 1:18 AM
#8
meknownowt avatar

meknownowt

New Zenner

Join Date:
Dec 2007
Posts:
78
Plugin Contributions:
0

Re: Move a page 2 link to categories question

meknownowt:

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?