Zen Cart Logo
Forums / General Questions / page_2.php appearing in Information box

page_2.php appearing in Information box

Locked

Views: 861

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
25 Nov 2010, 3:14 PM
#1
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

page_2.php appearing in Information box

Dears,

I would like my page_2 , page_3, etc, to appear in "Information box " instead of appearing in "More Information" box.
How to do it ?

Thanks

A....

25 Nov 2010, 3:42 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: page_2.php appearing in Information box

Using your templates and overrides ... you can take the code for those pages:

// test if links should display
  if (DEFINE_PAGE_2_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
  }
  if (DEFINE_PAGE_3_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>';
  }
  if (DEFINE_PAGE_4_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
  }

and copy it to the information.php sidebox ... then comment it out in the more_information.php and change the $more_information to $information ...

26 Nov 2010, 8:53 AM
#3
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

Re: page_2.php appearing in Information box

Great! just need to find this files ... I try on my test site and give you feedback afterwards ....
meanwhile, I've search through the forum how to change page_2 in "another title to be displayed" and I did not found an answer on **how to change also the url **so that it do not display www.blabla_page_2.com but www.blabla_another_title_to_be_displayed.com
Would be great if you can help

Aka

26 Nov 2010, 9:22 AM
#4
akasashasha avatar

akasashasha

Zen Follower

Join Date:
Mar 2009
Location:
France
Posts:
158
Plugin Contributions:
0

Re: page_2.php appearing in Information box

Yeah ! worked great ! thanks Oba San, last point : how to change the order in which the categories appear in the information box ?
thanks

Aka

26 Nov 2010, 9:31 AM
#5
kobra avatar

kobra

Black Belt

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

Re: page_2.php appearing in Information box

how to change the order in which the categories appear in the information box ?
In the same file move complete blocks into the order you desire

6 Dec 2010, 11:34 PM
#6
jam1968 avatar

jam1968

New Zenner

Join Date:
Jan 2006
Posts:
12
Plugin Contributions:
0

Re: page_2.php appearing in Information box

included/modules/sidebar/..