+ Reply to Thread
Results 1 to 4 of 4

Thread: Simple green theme - Long block above content.

  1. #1

    Simple green theme - Long block above content.

    How can i add that to my current theme ?

    It would be nice if all templates had that blockplace

  2. #2
    Hello Peter,

    If you want to create new position for blocks you should do some changes in files and in database.

    at first go to ftp:>>libs>>system.lib.php and find /* blocks sides */ array and add new item 'long_block' => $GLOBALS['lang']['long_block'],
    Then go to ftp:>>templates>>your_template>>tpl>>content.tpl or header.html where do you want to see new block and add code:

    Code:
    Only registered members can view the code.
    Then go to phpMyAdmin and find table with name 'blocks' then find field 'Side' you should edit it and add new item:
    'left','right','top','bottom','middle','middle_lef t','middle_right','long_block'

    for this field already exist some items you should add new and save it.

    Then go to Admin panel >> Languages click add new phrase and add new key 'long_block' and any value for it.
    That's all. Go to Admin panel>>Blocks create new block and you will see new position
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Sweet, thanks gonna add it later

  4. #4
    Let me know about results. if it will be wrong we will check it together.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread