Forums / Customization from the Admin / about us and define page status

about us and define page status

Locked

Views: 1,890

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Jan 2009, 3:22 AM
#1
imaginarynumber avatar

imaginarynumber

New Zenner

Join Date:
Jan 2008
Location:
london
Posts:
55
Plugin Contributions:
0

about us and define page status

Hi I downloaded the about us module and installed it.

Like others I had the BOX_INFORMATION_ABOUT_US message in the information side box until I removed

if (DEFINE_CONTACT_US_STATUS <= 1)

When I look in CONFIGURATION> DEFINE PAGES there is no mention of about us

This also means that it (about us) is missing from the site map.

How do I add it to DEFINE PAGES and is this an error on my behalf or an oversight with regard to the module???

Thanks in advance

19 Jan 2009, 6:49 AM
#2
kobra avatar

kobra

Black Belt

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

Re: about us and define page status

The module gets you the page...
There is another with sql cause many wanted admin abilities
The sitemap is not dynamic and you will have to add it

Zen-Venom Get Bitten

19 Jan 2009, 11:32 AM
#3
imaginarynumber avatar

imaginarynumber

New Zenner

Join Date:
Jan 2008
Location:
london
Posts:
55
Plugin Contributions:
0

Re: about us and define page status

Hi Kobra

Thanks for the reply

I was hoping that making it appear in the define pages would auto enter it in the site map.

I did manually enter it into the site map but got syntax errors- php newbie :blush:

So to add it to the site map manually what do I change in the following (from tpl_site_map_default.php)

<?php if (DEFINE_ABOUT_US_STATUS <= '1') { ?>
<li><?php echo '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT . '</a>'; ?></li>

<?php } ?>

I had thought that adding the above with the about_us added to the define pages would work but as I don't know how to add it to define pages the above just throws up syntax errors.

Or am I barking up the wrong tree?

TNX

19 Jan 2009, 10:44 PM
#4
kobra avatar

kobra

Black Belt

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

Re: about us and define page status

Try:

<?php if (DEFINE_ABOUT_US_STATUS <= '1') { ?>
            <li><?php echo '<a href="' . zen_href_link(FILENAME_ABOUT_US) . '">' . BOX_INFORMATION_ABOUT_US . '</a>'; ?></li>
<?php } ?>

Zen-Venom Get Bitten