Information sidebox
Three sideboxes show links to internal content:
- Information Sidebox - links to define pages
- More Information Sidebox - links to extra pages
- EZ-Pages Sidebox (Important Links) - links to EZ-Pages
How do I re-arrange the order of the links in the information sidebox?
-
Create (if you don’t already have it) a directory named
includes/modules/sideboxes/YOURTEMPLATE/
-
Copy the includes/modules/sideboxes/information.php file into your new directory
-
Edit the
if
blocks into the order that you would like them to appear.
For example, if you wished the terms and conditions link to appear first, you would move this entire block of php:
if (DEFINE_CONDITIONS_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a>';
}
(taking care not to leave the curly bracket behind) to just below the line that says:
unset ($information);
What determines which links are shown in the Information Sidebox?
- Most of the pages in this sidebox may have links enabled or disabled using Admin > Configuration > Define Page Status
- The About Us and Brands pages have their links controlled by the site specific overrides file.
How do I add a link to the Information Sidebox?
This question is answered in the FAQ Adding a Link to the Information sidebox.
What if the link should only be available to logged in users?
Wrap the code that creates the link in a check for the appropriate conditions. See protecting pages for more information.