• christinloehner

    (@christinloehner)


    heyas,

    I’ve installed the participants-database plugin to provide a list and a search of helpful persons to my visitors. This is all about transsexuality.

    Everything is working really great and I want to thank for this great plugin!

    But there is one exception:

    The details page with shortcode [pdb_single] doesn’t show any result. It says, it can not find any result.

    The links from the list page are like this:

    https://www.vdge.org/detailansicht/?pdb=2

    and on the page /detailansicht/ I have placed the shortcode [pdb_single]. I’ve also tried with [pdb_record] and changed the link to be ?pid=2 or ?pdb=XXXX (where XXXX is the private id)….

    but nothing helps.

    I really need some help here. ??

    Best regards
    Christin

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Make sure you are not using page caching on pages with PArticipants Databse shortcodes. It looks like you’re just getting the cached page.

    Thread Starter christinloehner

    (@christinloehner)

    Hey!

    I’ve now verified, that there is absolutely no caching involved, even no browser caching.

    When using shortcode [pdb_single record_id=”12″], the page prints the dataset with that ID without problems.

    But when using only [pdb_single], I always get, no record found.

    I’ve tried with ?pdb=12, ?pid=12 and ?id=12…. and I’ve also verified, that the page with this shortcode is set up in the configuration as the page for the details.

    I’ve tried to do some debugging in the code of participants-database.php and I have maybe some hints:

    In function print_shortcode( $params, $content, $tag ) the $params and the $content is completely empty, when calling the page with ?pdb=12.

    This is the reason, why in function function print_single_record( $params ) the $params is also completely empty.

    Maybe this helps a bit….?

    Please tell me, what I can do, to help you with fixing that.

    Best regards
    Christin

    P.s.: are you german???

    Plugin Author xnau webdesign

    (@xnau)

    OK, just so you understand, it is always necessary to include the record ID in the URL so the shortcode knows which record to show.

    Why it’s not working for you, I can’t say. I’m not getting any other reports of this not working.

    I suggest you try turning plugin debugging on (this is in the main plugin settings under the advanced tab) then attempt to load the single record using a link with the ?pdb=xx make sure “xx” is the ID of an existing record.

    See what comes in to the log when you try that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Details page [pdb_single] finds no records’ is closed to new replies.