Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    26
    Plugin Contributions
    0

    Default Help Moving Content!!

    Ok here is the site: www.tomsts.com

    I'm trying to move the products to the center column. I know how to adjust the sizes of the column, however, I cannot figure out how to get the products and content to load in the center column.

    I searched the 'layout boxes controller' to no avail. I'm not sure how to tell the content to load in the center, leaving me the far right column for ads.

    Any help would be greatly appreciated.

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

    Default Re: Help Moving Content!!

    Your template has been hard-coded by the maker, Template Monster, to move the "right column" (#navColumnTwo) to the center, and the "center column" to the right.
    In this case, they were right to do that, as there is not a better way to achieve the effect. (Although they have stupidly added spacer <td>s instead of specifying margins in the stylesheet.)

    You should be able to reverse this by editing /includes/templates/theme028/common/tpl_main_page.php and moving the #navColumnTwo code back to its original place after the center column code. Compare with /includes/templates/template_default/common/tpl_main_page.php to see what it should look like. While you are at it, you might want to delete the two spacer <td> elements, and then edit your stylesheet to give margins you desire to the columns.

  3. #3
    Join Date
    Dec 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help Moving Content!!

    I will give it a shot! Thanks for the info.

  4. #4
    Join Date
    Dec 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: Help Moving Content!!

    Quote Originally Posted by gjh42 View Post
    Your template has been hard-coded by the maker, Template Monster, to move the "right column" (#navColumnTwo) to the center, and the "center column" to the right.
    In this case, they were right to do that, as there is not a better way to achieve the effect. (Although they have stupidly added spacer <td>s instead of specifying margins in the stylesheet.)

    You should be able to reverse this by editing /includes/templates/theme028/common/tpl_main_page.php and moving the #navColumnTwo code back to its original place after the center column code. Compare with /includes/templates/template_default/common/tpl_main_page.php to see what it should look like. While you are at it, you might want to delete the two spacer <td> elements, and then edit your stylesheet to give margins you desire to the columns.
    Is there a way to tell the products to load in the center column as opposed to swapping the columns all together?

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

    Default Re: Help Moving Content!!

    No, that is not practical.

    The columns were swapped once, they can be swapped back. First make a copy of tpl_main_page,php, and name it tpl_main_page.bak. This will protect you in case you mess up.

    In tpl_main_page,php, find the <td id="navColumnTwo"... tag. Now go down the file until you see a </td> tag. That entire section is what you want to move.

    Locating the spot to move it to will be a little trickier, as there may not be such good landmarks.

    Find this near the bottom of tpl_main_page.php:
    PHP Code:
    </div>
    </
    td>
    <
    td width="5"><img src="includes/templates/theme028/images/spacer.gif" alt="" width="5px" height="3px" /></td>
      </
    tr>
    </
    table
    It probably won't look exactly like that, because there will be some PHP code in the file, but the important part is the </td> and </tr> tags on their own lines just before the </table>.
    (The "<td width="5"><img src="includes/templates/theme028/images/spacer.gif" alt="" width="5px" height="3px" /></td>" is a TM stupidity that they think they need to use instead of giving a margin to the footer. You can delete it or ignore it.)

    Cut and past the whole section described above, putting it just after the solitary </td>.

    That's it!
    Last edited by gjh42; 4 Sep 2007 at 08:30 PM.

 

 

Similar Threads

  1. v139d Product Content Missing after moving to new server
    By svetlae in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 9 Mar 2015, 07:06 PM
  2. Moving (Padding) Main Center Content?
    By B0ssm4nJones in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 8 Aug 2010, 05:01 PM
  3. moving store content
    By BabyV Dezign in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 May 2009, 05:21 AM
  4. moving content on the homepage
    By wagnerguy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Dec 2008, 03:40 AM
  5. Help moving around Product Info page content
    By shawnz28 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jul 2007, 08:37 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