• Resolved najem1

    (@najem1)


    Hi Tobias,
    first I want to congratulate you on such a good product and awsome support that you have done on this forum. I have read a lot of threats but I haven’t found a solution.

    The problem that I have is with randomization of a row. I would like to have random rows posted from tablepress.

    Example:

    [table_cell id=1 c=1 r=2 /]
    [table_cell id=1 c=2 r=2 /]
    [table_cell id=1 c=3 r=2 /]

    and all row should be some random number between 2 and 40. Can you help me with that? I have imported your plugins but It didn’t solve this problem.
    Thank you! the website is https://www.najem-jadrnice.com

    https://www.ads-software.com/plugins/tablepress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To display a random row, you could maybe use the TablePress Extension from https://tablepress.org/extensions/random-row/

    Regards,
    Tobias

    Thread Starter najem1

    (@najem1)

    Hi Tobias,
    thanks for your reply. I have tried to do that with the mentioned extension, but I am having difficulties. While there is every column written seperately due to graphics. Could you please explain me on my example?

    Example:
    <div class=”lm-top”>[table_cell id=1 c=1 r=2 /]</div>
    <div class=”lm-content”><span class=”naslov”>[table_cell id=1 c=2 r=2 /]</span>
    [table_cell id=1 c=3 r=2 /] Marina [table_cell id=1 c=5 r=2 /]

    I have tried to switch “r=2” with your code “show_rows=”random” random_rows=”10″” but didn’t get any success.

    Thank you very much for your help!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    sorry, that won’t work like that, unfortunately. The Random Row Extension can not be used together with the Single Cell Extension. It can only be used to return a full row.

    If you only want random cells, you’ll have to extend the Extension’s code with some custom programming, maybe inspired from the code of the other Extension.

    Regards,
    Tobias

    Thread Starter najem1

    (@najem1)

    Hi Tobias,
    thank you for your reply. I’m not that good with programming. Can you do that for an exchange of donation?
    Kind regards!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no, sorry, I’ll have to disappoint you here ?? Due to severe time constraints, I can’t help with this, as I’m really very busy with my regular day job and other projects. I’m really sorry.

    Regards,
    Tobias

    Thread Starter najem1

    (@najem1)

    Hi Tobias,

    could you please forward me to someone that could help me? Would this be expensive if you solve it?
    Regards

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can you do that for an exchange of donation?

    ..

    could you please forward me to someone that could help me?

    Hi @najem1 I’m sorry but for paid work please use https://jobs.wordpres.net/ instead.

    Per the forum welcome I am now closing this topic.

    https://codex.www.ads-software.com/Forum_Welcome#Offering_to_Pay

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Random row from Table press’ is closed to new replies.