Results 1 to 3 of 3
  1. #1

    Default Adding extra Div on Categories page

    Hi,

    Currently when you use the admin to create textual content for a category page the text is placed in the "categoryDescription" div above the tabs which can be seen here Megaman Lamps. Could someone advise me how to best add an extra divider below the tabs so that the information could be below the tabs? I would however still like to keep the "categoryDescription" div incase I wish to use both?

    Any help will be appreciated.

    Kind regards.

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

    Default Re: Adding extra Div on Categories page

    To move the text would require only adding a copy of the tpl_index_categories.php file to your template and moving the following block to where you want it
    PHP Code:
    <?php
    // categories_description
        
    if ($current_categories_description != '') {
    ?>
    <div id="categoryDescription" class="catDescContent"><?php echo $current_categories_description;  ?></div>
    <?php // categories_description ?>
    Adding another text block is a much bigger deal extending the categories description table and then editing the admin categories.php file allow you to extract, display and update the data you put in the new database column, including possibly hooking up an HTML editor to the new form field. Do you have programming skills?
    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
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Adding extra Div on Categories page

    There is a mod for this: Short Description for Categories.
    It was last updated for v1.3.7, though, so may need to be upgraded if any of the base files have been modified since then.

 

 

Similar Threads

  1. v150 Adding a <div> to a single category page
    By Terrill_Taylor in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 20 Aug 2013, 09:42 AM
  2. v150 need a modification to special page. adding additional div
    By tony_sar in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Feb 2012, 03:01 AM
  3. Adding extra sidebar similar to categories
    By pmurray in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Dec 2011, 05:30 PM
  4. Adding an extra row above categories box
    By DML73 in forum Basic Configuration
    Replies: 7
    Last Post: 15 Mar 2010, 08:45 AM
  5. Adding extra div to centerbox
    By jameslh in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 May 2007, 10:43 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