• Resolved marinorama

    (@marinorama)


    Hi,
    I tried to use TC for swapping a gallery in a fixed page. Did not work – it displays the SECOND gallery content BEFORE the hide-time of the FIRST gallery is reached.

    This is the code I used:

    [timed-content-server hide=”2018-Mar-28 14:35:00 Berlin”][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show=”2018-Mar-28 14:36:00 Berlin”][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]

    What is my fault?
    Please help!

    Regards,
    Marinorama

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    You have used instead of " – these are two different characters. This means, the attributes will not be interpreted properly. You can verify this by adding debug="true" as attribute.

    Your code:

    [timed-content-server hide=”2018-Mar-28 14:35:00 Berlin”][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show=”2018-Mar-28 14:36:00 Berlin”][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]

    And how it should be:

    [timed-content-server hide="2018-Mar-28 14:35:00 Berlin"][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show="2018-Mar-28 14:36:00 Berlin"][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]

    You can also use debug="true" to check what date/time is used by TC:

    [timed-content-server hide="2018-Mar-28 14:35:00 Berlin" debug="true"][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show="2018-Mar-28 14:36:00 Berlin" debug="true"][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]
    Thread Starter marinorama

    (@marinorama)

    Used a modified statement. Characters should be ok – but it still doesn’t work. Only the second gallery link is shown..

    [timed-content-server show=”2018-Mar-28 17:20:00 Berlin” hide=”2018-Mar-28 17:21:00 Berlin”][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show=”2018-Mar-28 17:22:00 Berlin”][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]

    Thread Starter marinorama

    (@marinorama)

    Strange – characters are still false – I don’t get it. I used the upper 2 shift key. How exactly do I insert the right character?

    Thread Starter marinorama

    (@marinorama)

    In the edit box of WordPress the characters are exact the same.

    https://www.awesomescreenshot.com/image/3263598/d96f19f57c7b4c96a363e1831a2aacc1

    Plugin Author Arno Welzel

    (@awelzel)

    I think, the characters change, when you paste the code here.

    Please also try the “debug” option to see, if the date/time is understood by your server. Maybe you just have to use another format, e.g. 03/28/2018 instead of 03-Mar-2018 – it depends on how your server expects the date/time:

    [timed-content-server hide="03/28/2018 14:35:00 Berlin"][gallery link="file" columns="3" size="large" ids="1254,1288,1277,1261,1242,1181,1219,1196,1177,1145,1046,962"][/timed-content-server]
    [timed-content-server show="03/28/2018 14:36:00 Berlin"][gallery link="file" columns="3" size="large" ids="1306,1300,1254,1288,1277,1261,1242,1181,1219,1196,1177,1145"][/timed-content-server]
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Swap content’ is closed to new replies.