• Resolved Ricke 59

    (@ricke-59)


    I’m probably making a rookie mistake but I can’t get basic functions like Orderby and Headers to work.

    Link to a testpage http://www.skinnskattebergssmabatsklubb.se/?page_id=2281
    sorting should be on column1 and then column4
    I would also like to change the column header names

    I’m running Win10 and have tested with both Google Chrome and MS Edge with the same result.

    Code in Visual mode
    [cfdb-table form="Boka Arbetsvecka" orderby="Vecka-1 Desc,Forste-eller-andreman Desc" show="Vecka-1,from_name,Mobilnummer,Forste-eller-andreman" headers="from-name=Namn,Vecka-1=Vecka"]

    Code in text mode
    <a href="http://www.skinnskattebergssmabatsklubb.se/wp-admin/admin-ajax.php?action=cfdb-export&form=Boka%20Arbetsvecka&show=Vecka-1%2Cfrom_name%2CMobilnummer%2CForste-eller-andreman&content=&enc=HTML"><u><span style="color: #0066cc;">[cfdb-table form="Boka Arbetsvecka" <span style="font-family: Courier New;">orderby="Vecka-1 Desc,Forste-eller-andreman Desc</span>" show="Vecka-1,from_name,Mobilnummer,Forste-eller-andreman" <span style="font-family: Courier New;">headers</span><strong><span style="font-family: Courier New;">="from-name=Namn,Vecka-1=Vecka"</span></strong>]</span></u></a>

    https://wordpress.org/plugins/contact-form-7-to-database-extension/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    You have [cfdb-table form=”Boka Arbetsvecka” followed by a SPAN tag.

    Change the WP editor to text mode then paste the short code

    Thread Starter Ricke 59

    (@ricke-59)

    Thanks, sorting works fine, but headers stay the same?

    [cfdb-table form="Boka Arbetsvecka" orderby="Vecka-1 Asc,Forste-eller-andreman Desc" show="Vecka-1,from_name,Mobilnummer,Forste-eller-andreman" headers="from-name=Namn,Vecka-1=Vecka"]

    Plugin Author Michael Simpson

    (@msimpson)

    Make sure there is no line break inside the short code

    Thread Starter Ricke 59

    (@ricke-59)

    Perfect, now it works fine.
    Donation on it’s way

    Greetings from Sweden and many thanks for swift support

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trouble with basic functions’ is closed to new replies.