Okay
  Public Ticket #2867281
Shortcodes import per Excel
Closed

Comments

  • Jaap Grolleman started the conversation

    Hey TMS Plugins,

    I want one column to have time in our timezone, and one column to have local time of the user.

    So I have this plugin that does this, and I want to use this in the next column.

    So its:

    [ifsoDKI type='time' show='user-geo-timezone-sensitive' time='20:00' format='G:i'] to [ifsoDKI type='time' show='user-geo-timezone-sensitive' time='20:50' format=G:i] based on your current timezone [ifsoDKI type='time' show='user-geo-timezone-sensitive' time='04/25/2022 08:00' format=’T’]

    This works, but I cannot get it to work if I use the extra bit that is provided by the Shortcude button in the WPDataTables plugin:

    <span data-content="wpdt-do-shortcode" data-cell-id="00" data-shortcode="[ifsoDKI type='time' show='user-geo-timezone-sensitive' time='20:00' format='G:i'] to [ifsoDKI type='time' show='user-geo-timezone-sensitive' time='20:50' format=G:i] based on your current timezone [ifsoDKI type='time' show='user-geo-timezone-sensitive' time='04/25/2022 08:00' format=’T’]</span>



    1) Is this only possible in "Create a simple table from scratch"?

    2) Can I copy-paste this rather than using the Shortcut icon?

    3) Can I import this using an xsl file?


    Thanks!

  •  2,507
    Aleksandar replied

    Hey Jaap

    Sorry for the late response!

    It could be that you haven't enabled "Parse Shortcodes in strings" in wpDataTables' settings, or that you're using the shortcode in a single-line string column. If that's the case, you'll need to create a new column, which would be a multi-line column.

    Single-line string columns accept only 255 characters, and the shortcode you provided contains 369, so it's being cut off. 

    Please try that and let me know if it works or not.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables