Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Aug 2007
    Posts
    11
    Plugin Contributions
    0

    Default Side Box's (More Information)

    Hello Every One,
    I have tried many things to try and get this working but with no Luck.
    What i am trying to do is Under the More Information Where i have
    * Instructions
    * Supported Phones
    * Submit
    I wont too add a 4th one FAQ (http://mbookx.com/cart/)

    I tried editing english.php and more more_information.php by adding

    // information box text in sideboxes/more_information.php - were TUTORIAL_
    define('BOX_HEADING_MORE_INFORMATION', 'More Information');
    define('BOX_INFORMATION_PAGE_2', 'Instructions');
    define('BOX_INFORMATION_PAGE_3', 'Supported Phones');
    define('BOX_INFORMATION_PAGE_4', 'Submit');
    define('BOX_INFORMATION_PAGE_5', 'Page 10');

    After changing things in both files i get the link to end up like this

    http://mbookx.com/cart/index.php?mai...ILENAME_PAGE_5

    Could come one tell me how to fix this problem.

    Thank you very much for all your time and help

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Side Box's (More Information)

    You mention the steps needed to add an extra page to the more information sidebox, but you don't mention anywhere whether you have actually created the new page, and the problem that you are having suggests that you probably haven't.

    New pages are best created when you have some serious PHP programming to be included. Otherwise, it is easier to creating the new content in an EZ-Page and link to that instead. There's a FAQ entry about how to create links to EZ-Pages.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Aug 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Side Box's (More Information)

    I created the file page_5.php in includes/languages/english/ (where page_2.php page_3.php page_4.php where already there)
    i then modifed more_information.php in /includes/modules/sideboxes/ by adding this

    if (DEFINE_PAGE_2_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
    }
    if (DEFINE_PAGE_3_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_3) . '">' . BOX_INFORMATION_PAGE_3 . '</a>';
    }
    if (DEFINE_PAGE_4_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_4) . '">' . BOX_INFORMATION_PAGE_4 . '</a>';
    }
    if (DEFINE_PAGE_5_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>';
    }

    The same as the first 3 are.

    Then i modifed english.php in includes/languages/

    and added

    were TUTORIAL_
    define('BOX_HEADING_MORE_INFORMATION', 'More Information');
    define('BOX_INFORMATION_PAGE_2', 'Instructions');
    define('BOX_INFORMATION_PAGE_3', 'Supported Phones');
    define('BOX_INFORMATION_PAGE_4', 'Submit')
    define('BOX_INFORMATION_PAGE_5', 'Test')

    The text Test shows up fine no problem, its the link to the page that ends up being linked 2 http://mbookx.com/cart/index.php?mai...ILENAME_PAGE_5

    unlike the others that work come up like http://mbookx.com/cart/index.php?main_page=page_2

    thanks

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Side Box's (More Information)

    Again, you are describing how to create a link to a page, but not how to create the page itself.

    To do this you would, at the very least, need to create a templates/tpl_page_5_default.php template, a pages/page_5/header_php.php module and put an entry in your filenames.php file. Or, you could just use the built in EZ-Pages function, designed to do exactly what you are doing but through the Admin with no programming needed (other than to add your link to the More Information sidebox)..
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Aug 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Side Box's (More Information)

    Thanks for your help but still having a hard time getting this 2 work.
    I have created a Page_5.php, that bit i know how to do,
    But when u say i need to create more parts for it, i dont know where they all are.
    I tried the Ez-Pages Function even that is not easy.
    I called it Page_5

    Then where is says Open New Window:

    Yes
    No Page is SSL:
    Yes
    No
    Header:
    Yes
    No Order:
    Sidebox:
    Yes
    No Order:
    Footer:
    Yes
    No Order:
    Chapter:
    TOC:
    Yes
    No Order:

    Side Box i put yes,

    But here for the linking part i have no idea what to ad


    Internal Link URL:
    If specified, the page content will be ignored and this INTERNAL alternate URL will be used to make the link
    Example to Reviews: index.php?main_page=reviews
    Example to My Account: index.php?main_page=account and mark as SSL

    External Link URL:
    If specified, the page content will be ignored and this EXTERNAL alternate URL will be used to make the link
    Example to external link: http://www.sashbox.net

    I wont this page to go under More info

    http://www.mbookx.com/cart/ if u wont to see where i mean.

    Thanks again

  6. #6
    Join Date
    Aug 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Side Box's (More Information)

    can some one please help and explain thank u

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Side Box's (More Information)

    To create the EZ-Page just say no to all the options at the top. Put your HTML content in the big box and leave the internal and external links boxes underneath empty.

    Then create the link in your more information sidebox by following the instructions in the FAQ entry links to in post 2 above.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Aug 2007
    Posts
    1
    Plugin Contributions
    0

    Default Re: Side Box's (More Information)

    I still dont understand.
    I have created a page called page_5 in Ez page.

    Now, how do I link it from the More information sidebox?

    Please provide detail explaination, thank you

  9. #9
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Side Box's (More Information)

    There is a detailed explanation in the FAQ entry linked to in post 2, together with an example to edit and a hint as to the values to use. Can't really get more detailed than that.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  10. #10
    Join Date
    Jul 2007
    Posts
    138
    Plugin Contributions
    0

    Default Re: Side Box's (More Information)

    Quote Originally Posted by kuroi View Post
    To create the EZ-Page just say no to all the options at the top. Put your HTML content in the big box and leave the internal and external links boxes underneath empty.

    Then create the link in your more information sidebox by following the instructions in the FAQ entry links to in post 2 above.
    hi

    i followed ur instruction . and i got this error on the top . here is the image




    pls help me....

    thanks in adv.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. how to move link from more information to information side box?
    By mrobson86 in forum General Questions
    Replies: 1
    Last Post: 21 Sep 2011, 09:01 PM
  2. More Information Side Box
    By gcopping in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Nov 2010, 06:20 PM
  3. More information side box
    By Didee in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Feb 2009, 08:54 AM
  4. More Information Side-box
    By nomadrw in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2007, 10:19 PM
  5. More Information Side Box
    By marketman1 in forum Basic Configuration
    Replies: 2
    Last Post: 26 Jan 2007, 10:54 PM

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