Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    212
    Plugin Contributions
    0

    Default Move forum link to more info..

    Hi Guys,

    How do i change the forum text and link found in the information box to the more information box?

    And alternatively i want to move the about us (from the more info) to information?

    www.unikids.co.uk

    thanxs guys

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

    Default Re: Move forum link to more info..

    Use the admin > tools > developers tools > search function (use the bottom left entry box) to find the files that "about us" are in. Look for files that associate it to more info. the entry that is there for it needs to moved to the information box

    Similar for forum

    this is source for about us:
    Code:
    <li><a href="http://unikids.splay.co.uk/zencart/index.php?main_page=page_4&amp;zenid=xx??">About Us</a></li>
    And this for "Forum":
    Code:
    <li><a href="http://unikids.splay.co.uk/zencart/../forum/index.php" target="_blank">Forum</a></li>
    </ul>
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Posts
    212
    Plugin Contributions
    0

    Default Re: Move forum link to more info..

    hi made a search as you said..and the about us only this:

    /home/vjain/public_html/unikids/zencart/includes/languages/english.php

    Line #277 : define('BOX_INFORMATION_PAGE_4', 'About Us');


    having looked in here i found:

    // information box text in sideboxes/information.php

    define('BOX_HEADING_INFORMATION', 'Information');

    define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');

    define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');

    define('BOX_INFORMATION_CONTACT', 'Contact Us');

    define('BOX_BBINDEX', 'Forum');



    and here i found:

    // information box text in sideboxes/more_information.php - were TUTORIAL_

    define('BOX_HEADING_MORE_INFORMATION', 'More Information');

    define('BOX_INFORMATION_PAGE_2', 'How we work');

    define('BOX_INFORMATION_PAGE_3', 'Selling Your Book(s)');

    define('BOX_INFORMATION_PAGE_4', 'About Us');

    i swopped the

    'define('BOX_INFORMATION_PAGE_4', 'About Us');' with
    define('BOX_BBINDEX', 'Forum');

    but nothing happened???

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

    Default Re: Move forum link to more info..

    As "about us" is something that you added you should find additional areas (more information) where you added it and this needs to be moved to "Information"

    In includes/modules/sideboxes/information.php you add the above and find
    Code:
    // Forum (phpBB) link:
      if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed'])  && (PHPBB_LINKS_ENABLED=='true')) {
        $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';
    // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX
    // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB)
      }
    And move this to includes/modules/sideboxes/more_information.php

    Don't forget to remove the about us from this file and move it to information.php

    Looked a bit closer and you do not seem to have used the "About Us" module available in the downloads area - so you only changed the title of page_4 - look at the directions for the module in the dowloads area/sideboxes
    Last edited by kobra; 25 Feb 2007 at 03:40 AM.
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. More info link
    By Burty in forum General Questions
    Replies: 3
    Last Post: 31 May 2011, 09:54 PM
  2. Product listing - move price/more info link
    By RobM in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 May 2011, 06:46 PM
  3. Remove More info link
    By riscphree in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Nov 2009, 02:05 AM
  4. more info link
    By camerondied in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jun 2006, 11:53 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