Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Portland, Oregon USA
    Posts
    356
    Plugin Contributions
    0

    Default Re: adding a page to the header

    To put a new page into the information sidebox you need to edit the file:

    includes/modules/sideboxes/information.php

    - and add the page(s) desired then save it in:

    includes/modules/sideboxes/YOUR_TEMPLATE (the over-ride directory)

    Insert the new page where you want it listed. Here is a fragment from mine:

    PHP Code:
    unset($information);

    if (
    DEFINE_ABOUT_US_STATUS <= 1) {

        
    $information[] = '<a href="' zen_href_link(FILENAME_ABOUT_US) . '">' BOX_INFORMATION_ABOUT_US '</a>';

     }

     if (
    DEFINE_DESIGN_STUDIO <= 1) {

        
    $information[] = '<a href="' zen_href_link(FILENAME_DESIGN_STUDIO) . '">' BOX_INFORMATION_DESIGN_STUDIO '</a>';

      } 
    I've added several new pages - The About Us page is the first listed so it's the first in the sidebox.

    For the footer, try an ez-page link.
    Doug

  2. #2
    Join Date
    Jan 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: adding a page to the header

    thank you for your reply

    my problem is: I did add new pages, for example "about us"

    but when I click on it the footer disappears

    I would appreciate any help on this issue
    ...........Being zenned............

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding a page to the header

    Your About Us page HTML output ends with

    <div class="centerColumn" id="about_us">
    <h1 id="aboutUsHeading">About Us</h1>

    <div id="aboutUsMainContent" class="content">

    so I would say that there is a fatal error in your define page file content.

    The others that are "not found" probably do not have all of the required files correctly edited yet so that the page does not really exist.

  4. #4
    Join Date
    Jan 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: adding a page to the header

    I followed the about us module though

    I am very lost!

    any help plz, any guidance how to solve this
    ...........Being zenned............

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding a page to the header

    Post the complete content of your define_about_us.php file (whatever its exact name is) between [php] and [/php] tags. Use "select all" to get everything in the file - a space or blank line may be significant.

  6. #6
    Join Date
    Jan 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: adding a page to the header

    mesteriously I didnt find any php tag

    only this:

    <p><strong><font face="verdana,arial,helvetica,sans-serif">ABOUT US Sample Text##...</font></strong></p><p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p><p>You can use either the language-file in /includes/languages/english/MYTEMPLATE/about_us.php or this file separately for this page or, you can use both together.</p><p>To remove the language file definition, do not delete the define statement, set it to be blank. Example: define('TEXT_INFORMATION', '');</p><p>To remove this section of the text (which you're reading right now), delete it from the Define Pages Editor, located under Tools in the Admin.</p>
    ...........Being zenned............

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: adding a page to the header

    I meant for you to use vBulletin tags as shown when posting to make the content highlighted as PHP. Since there is only HTML in the file you posted, that becomes irrelevant. This looks like the stock file that comes with the About Us mod - have you edited it at all?

  8. #8
    Join Date
    Jan 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: adding a page to the header

    it was a permission problem

    I dont know why, but this is it

    I sat my html_includes file to 777 and now the footer appears

    thanks for your time and help : )
    ...........Being zenned............

 

 

Similar Threads

  1. v155 Adding Text Into The Header
    By MCS_Computers in forum Templates, Stylesheets, Page Layout
    Replies: 36
    Last Post: 13 Jul 2016, 05:51 PM
  2. Adding a logo to the header
    By spikeycactus in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Sep 2008, 06:35 PM
  3. How would I code an EZ Page when adding it to the header nav bar?
    By rechargebaskets in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Oct 2007, 03:18 AM

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