Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    red flag HOW CAN I PLACE THE Languages BAR?

    HOW CAN I PLACE THE Languages BAR?



    PLS HELP ME

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: HOW CAN I PLACE THE Languages BAR

    We'll need a link to the site.

  3. #3
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: HOW CAN I PLACE THE Languages BAR


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

    Default Re: HOW CAN I PLACE THE Languages BAR

    You have a languages sidebox. What exactly do you want to do with it? OK, you want to move it to the header, top right.

    You will need to take the code from the module file (probably /includes/modules/sideboxes/languages.php) and put it into or call it from /includes/templates/your_template/common/tpl_header.php.

  5. #5
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: HOW CAN I PLACE THE Languages BAR

    Quote Originally Posted by gjh42 View Post
    You have a languages sidebox. What exactly do you want to do with it? OK, you want to move it to the header, top right.

    You will need to take the code from the module file (probably /includes/modules/sideboxes/languages.php) and put it into or call it from /includes/templates/your_template/common/tpl_header.php.

    is that copy the includes/modules/sideboxes/languages.php into
    includes/templates/your_template/common/tpl_header.php ??

    can i know more , thank so much

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

    Default Re: HOW CAN I PLACE THE Languages BAR

    You might adapt this code from tpl_header.php:
    PHP Code:
    <div id="navMainSearch"><?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?></div>
    Something like
    PHP Code:
    <div id="headerLanguages"><?php require(DIR_WS_MODULES 'sideboxes/languages.php'); ?></div>
    Paste the code into tpl_header.php in the sequence where you want it to display (not inside other code blocks).

  7. #7
    Join Date
    Sep 2010
    Posts
    30
    Plugin Contributions
    0

    Default Re: HOW CAN I PLACE THE Languages BAR

    Quote Originally Posted by gjh42 View Post
    You might adapt this code from tpl_header.php:
    PHP Code:
    <div id="navMainSearch"><?php require(DIR_WS_MODULES 'sideboxes/search_header.php'); ?></div>
    Something like
    PHP Code:
    <div id="headerLanguages"><?php require(DIR_WS_MODULES 'sideboxes/languages.php'); ?></div>
    Paste the code into tpl_header.php in the sequence where you want it to display (not inside other code blocks).

    i can't find the words "div id="navMainSearch" in includes/modules/sideboxes/languages.php into and
    includes/templates/your_template/common/tpl_header.php

    what is my problem

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

    Default Re: HOW CAN I PLACE THE Languages BAR

    The first snippet is in tpl_header already, and has the same kind of function you want - to call a sidebox's code. You need to copy and alter it to call another sidebox's code.

 

 

Similar Threads

  1. Replies: 7
    Last Post: 6 Aug 2013, 08:03 PM
  2. How to place the Search bar in the middle of the logo banner?
    By adem.i in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Aug 2010, 02:30 PM
  3. How can I place an image right next to the mainWrapper?
    By DML73 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jan 2010, 04:45 PM
  4. How do I place the category bar below the content of define_main_page.php?
    By Earl Parker II in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Dec 2007, 03:02 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