Results 1 to 5 of 5

Hybrid View

  1. #1

    Default Linking banner to news and article section

    I am trying to figure out how to link the banner on the front page of www.books-japan-online.com to the news and article
    management section of the site:

    http://www.books-japan-online.com/news

    I was told that in the tpl_header.php find where it calls the link for the image and
    replace the link with what I want

    <?php
    // Display all header alerts via messageStack:
    if ($messageStack->size('header') > 0) {
    echo $messageStack->output('header');
    }
    if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
    echo htmlspecialchars(urldecode($_GET['error_message']));
    }
    if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
    echo htmlspecialchars($_GET['info_message']);
    } else {

    }
    ?>


    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->

    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    </div>
    <?php } ?>
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Linking banner to news and article section

    Try looking in the admin > tools > banner manager > select the banner and edit > look for the Banner URL: entry box and enter http://www.books-japan-online.com/news
    Save and this should redirect the clicking of the banner to the url that you have entered

  3. #3

    Default Re: Linking banner to news and article section

    The image was added without using the banner manager.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  4. #4

    Default Re: Linking banner to news and article section

    This is the bit of code for the banner:

    <td><img src="<?php echo DIR_WS_TEMPLATES . $template_dir; ?>/images/design/banner.jpg" border="0" alt=""></td>
    Now I have to figure out how to link the news and article mangement mod to it.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  5. #5

    Default Re: Linking banner to news and article section

    It's cool, I just added <a href="/news"> and it worked.
    Last edited by ctcentralinfo; 28 Nov 2006 at 12:18 AM.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

 

 

Similar Threads

  1. News and Article Manager
    By bobthebuilder07 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 25 Oct 2011, 02:47 AM
  2. News and Article Manager
    By mobile-gear in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Apr 2011, 02:15 PM
  3. News and Article Managment - Archive page display error
    By RayDube in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Nov 2006, 12:33 AM
  4. News and Article Management Module and Sitemap
    By jayson.gurney in forum General Questions
    Replies: 0
    Last Post: 17 Aug 2006, 11:03 AM
  5. Question on News article Module
    By cplam999 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Jun 2006, 08:08 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