Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default how to relocate content of define pages?

    Hello.

    I need to move ( write ) content of define_main_page.php above contentMainWrapper.

    basically content will display under mainWrapper . i am making a slider which i need to be above all other contents including sidebox .

    Tried many ways to figure which code to move , adjust ext, all result in different problems.
    any pointer would be great .

  2. #2
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: how to relocate content of define pages?

    Use your common tpl_header.php
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: how to relocate content of define pages?

    Thanks
    Define main page is being displayed within body of main page and not header.

    i can basically move statement from tpl_index_default.php where define main page is being processed to
    tpl_main_page.php
    although this works for main pages. , every other page fails to display content . with error regarding require function can not locate file which in this case is define page.

    this crap is driving me crazy ..

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: how to relocate content of define pages?

    ok . after all , for my purposes i did not need to relocate define main page . what i did as a rough cut .. i used if ($this_is_home_page)
    with series of echo statements to write all the div and ul li i needed to display my slider.

    however, i like to included all those statments in a file and include it using require or include function . however i failed to do so , i have no idea how to create a path within require or include function .

 

 

Similar Threads

  1. v151 Define-Pages Content saved to wrong language files
    By tilenk in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2013, 10:03 AM
  2. how do i define meta descriptions from content?
    By mykkal in forum General Questions
    Replies: 3
    Last Post: 14 Jan 2010, 08:10 AM
  3. Define Pages - How to define brand new page
    By hutch32804 in forum Customization from the Admin
    Replies: 4
    Last Post: 31 Oct 2009, 01:39 PM
  4. Replies: 2
    Last Post: 18 Nov 2006, 09:04 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