Tagged: ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9275

    Hi,

    I’m trying to add another row of main page columns using the Cleancut theme.

    I have changed the following in theme_optionsmainpage.php:

    “count” => 4),

    with:

    “count” => 8),

    This gives me the option to add more main page columns but they don’t show up.

    Is there anything else I have to change?

    Thanks.

    Mark

    #64118

    Also is it possible to have 3 columns spread out across the page and 2 rows?

    Thanks very much.

    #64119

    Hey,

    yes – you need to modify index.php too. Search for following line:

    $k_option['mainpage']['mainpage_column'] = 4;

    and increase the value “4″ as required.

    #64120

    Thanks for the help. I’m now trying to change the columns to 3 evenly spaced across the page. However just changing

    theme_optionsmainpage.php:

    “count” => 4),

    with:

    “count” => 3),

    and setting

    $k_option = 3;

    results in 3 columns pushed to the side and I want them evenly spaced across the page.

    I’m guessing it’s something to do with the setClass(‘one=fourth’) line on the index.php (see below). Can you tell me what else to change please?

    // this class generates the 4 boxes, either with backend content or the placeholder content above

    $k_option = 3;

    $boxes = new kclass_display_box(‘mainpage’,'mainpage_column’,'Mainpage Column’, $placeholder);

    $boxes-> prev_image($k_option);

    $boxes-> setClass(‘one_fourth’);

    $boxes-> display();

    #64121

    Hi,

    Don’t worry I worked it out and changed one_fourth to one_third.

    Thanks.

    #64122

    Glad that you found the solution :)

    #64123

    Sorry I’ve added the columns as 3 columns and 2 rows of html on the main page. However the client wants 2 rows of 3 columns that can be added and removed from the admin interface so anyone can do it.

    So basically I need to know how to add another row.

    Thanks for the help.

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Create new row of main page columns using Cleancut theme’ is closed to new replies.