Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Can I move a page out of the More Information sidebox?

    Hi folk,

    I've renamed the default Page 2 to About Us and it shows in the More Information sidebox. But I want that page to be in the Information sidebox so I can then make the More Info box go away (I know how to do that.)

    All hints gratefully accepted.

    TIA

    Rob

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Can I move a page out of the More Information sidebox?

    Never mind. I worked out how to do it -- manually anyway -- by editing the information.php file. Would have been handy to do it in admin, but I guess we can't have everything.

    On to the next question!

    Rob

  3. #3
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    454
    Plugin Contributions
    0

    Default Re: Can I move a page out of the More Information sidebox?

    Can you share what you edited in order to do this? I've been trying to figure out how to do the same thing.

    Ellie

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Can I move a page out of the More Information sidebox?

    Yes indeed... without any warranty whatsoever, implied or expressed, YMMV. ;-)

    In Includes/Modules/Sideboxes find and open in your fave editor both information.php and more_information.php.

    In more_information.php copy the lines that say...
    if (DEFINE_PAGE_2_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
    }

    ...and paste them into information.php around line 26 (in my case; zen v1.3.6)
    and edit it to look like (changed part in red)...

    if (DEFINE_PAGE_2_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
    }

    That little change will do it.

    I also changed the name of page 2 in Includes/Languages/english.php, like so, at line 144...

    define('BOX_INFORMATION_PAGE_2', 'About Us');

    If you're continuing to use the More Info box, you'll need to comment out (or delete) the page 2 stuff from the more_information.php file, but I was just going to turn off More Info in the admin, so I didn't bother.

    HTH

    Rob
    Last edited by rstevenson; 13 Dec 2006 at 03:52 AM. Reason: additional info

  5. #5
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    454
    Plugin Contributions
    0

    Default Re: Can I move a page out of the More Information sidebox?

    Thanks Rob! That did the trick!

  6. #6
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Can I move a page out of the More Information sidebox?

    Thanks as well. Over a year later and it's still doing the trick

 

 

Similar Threads

  1. Move 'information' sidebox to the footer
    By CheekyCockney in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 May 2016, 10:38 PM
  2. How do I rename Page 2, Page 3, Page 4 in the "more information sidebox"?
    By 24hourDomainer in forum Basic Configuration
    Replies: 2
    Last Post: 16 Jul 2009, 09:12 AM
  3. Renaming the Page 2 Link in the More Information Sidebox
    By gregjs in forum General Questions
    Replies: 6
    Last Post: 7 Jul 2009, 01:33 PM
  4. Move Information in Sidebox into the footer
    By jrstaatsiii in forum Basic Configuration
    Replies: 8
    Last Post: 26 Jan 2009, 07:09 PM
  5. move page 2 to information sidebox
    By shopjackiesjewels in forum Customization from the Admin
    Replies: 4
    Last Post: 13 Nov 2007, 09:05 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