Forums / Templates, Stylesheets, Page Layout / EZ Pages links in Information instead of Important links?

EZ Pages links in Information instead of Important links?

Started by ddye on 22 Mar 2011, 9:48 PM · Views: 1,130

Results 1 to 3 of 3
22 Mar 2011, 9:48 PM
#1
ddye avatar

ddye

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

EZ Pages links in Information instead of Important links?

Thanks in advance...

I couldn't find this in Tutorials. When I added some EZ Pages they ended up in a new box called "Important Links". I want them in the "Information" section.

Any help on how I can get this accomplished?

Thanks again.

23 Mar 2011, 12:19 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: EZ Pages links in Information instead of Important links?

For automatic display of all desired ez-page links, the easiest way would be to position the ezpages box right below the information box, then use CSS in your stylesheet to hide the "Important Links" heading and make that box look like the bottom half of the information box.

If you want to use the ez-pages box somewhere else, you can add links to the information box by duplicating and modifying one of the existing links (wherever you want the new link to appear) in /includes/modules/sideboxes/your_template/information.php, like this:```php
if (DEFINE_SITE_MAP_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>';
}

$information[] = '<a href="' . zen_ez_pages_link(23) . '">' . 'Your New Link Title' . '</a>';
23 Mar 2011, 3:30 PM
#3
ddye avatar

ddye

New Zenner

Join Date:
Apr 2007
Posts:
43
Plugin Contributions:
0

Re: EZ Pages links in Information instead of Important links?

Thanks a bunch! After even more review and searching, I decided to rename the Important Information box to Company Info and move it to the bottom of the sidebar. It works for me.