+ Reply to Thread
Results 1 to 7 of 7

Thread: 4 columns in grid

  1. #1

    4 columns in grid

    how can we change the number of columns in grid mode from 2 to 4? so 4 ads per line. thanks

  2. #2
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    Hello,

    You can try fix it in the following way:

    - open the file /templates/your_template/tpl/blocks/grid.tpl
    - find following code:

    Code:
    Only registered members can view the code.
    and change it to:

    Code:
    Only registered members can view the code.

  3. #3
    Quote Originally Posted by vladimir View Post
    hello,

    you can try fix it in the following way:

    - open the file /templates/your_template/tpl/blocks/grid.tpl
    - find following code:

    Code:
    Only registered members can view the code.
    and change it to:

    Code:
    Only registered members can view the code.
    thank you. Works perfect

  4. #4
    hover.jpghover.jpg

    any ideea how can we have the icons hidden and just on hover visible? thanks
    Last edited by Petrache Nicolae; August 9, 2012 at 04:54 PM.

  5. #5
    Quote Originally Posted by Vladimir View Post
    Hello,

    You can try fix it in the following way:

    - open the file /templates/your_template/tpl/blocks/grid.tpl
    - find following code:

    Code:
    Only registered members can view the code.
    and change it to:

    Code:
    Only registered members can view the code.
    how can we adjust lib.js to reflect the change. on page refresh, they show 4 per line but when we use the swith to go to list than grid view, we have it again as 2 instead of 4. thanks

  6. #6
    Flynax developer
    Join Date
    Jun 2010
    Posts
    239
    how can we adjust lib.js to reflect the change. on page refresh, they show 4 per line but when we use the swith to go to list than grid view, we have it again as 2 instead of 4. thanks
    Yes, we know it. You can try to fix it in file libs.js -> function transformToTable. Or would you please submit a ticket to our technical support.

  7. #7
    Quote Originally Posted by Vladimir View Post
    Yes, we know it. You can try to fix it in file libs.js -> function transformToTable. Or would you please submit a ticket to our technical support.
    work in that file is pretty tricky. viktor implemented for me a solution to have a diferent grid view list and all seemed ok but in the end it coused issues in other places like users accounts (switch/search). so i want to try a diferent aproach and change just the grid view to have it in 4 columns. i have adjusted the boxes contents but require this last issue to be fixed. since you presented the first solution for 4 columns i decided to ask if you ahev a solution to this as well...without messing up other areas. thanks

+ Reply to Thread