Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2185

    Hi, I want to add more widget columns to the front, but can’t find out how to do so on the Display template :(

    I’ve also tried to use HTML alternative to add more, and adjusted in stylesheet – but even if I add another placeholder in the index.php section it will not appear.

    Please help me – as I really need to make this work :)

    #37006

    Hey,

    Aside from the CSS and Placeholder HTML you need to adjust the code in index.php to show 4 iterms (or more) instead of 3.

    Open up index.php and find this code:

    //call class
    $boxes = new kclass_display_box('mainpage','mainpage_column','Mainpage Column', $placeholder);
    $boxes-> prev_image(array('height'=>'124','width'=>'280'));
    $boxes-> display();

    Change it to:

    //call class
    $k_option['mainpage']['mainpage_column'] = 4;
    $boxes = new kclass_display_box('mainpage','mainpage_column','Mainpage Column', $placeholder);
    $boxes-> prev_image(array('height'=>'124','width'=>'280'));
    $boxes-> display();

    Hope this helps :)

    James

    #37007

    Hi,

    Thanx that worked just perfect!

    Thanx for the help – just love this theme :)

    #37008

    Hey,

    Awesome that you got this sorted, let us know if we can help out with anything else :)

    James

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

The topic ‘Need to add more Mainpage Widget columns ?’ is closed to new replies.