dbview passing values/triggering shortcodes
-
I made the ID fields in the dbview table Clickable Links. When clicked, the ID ($value) is passed to another dbview view.
I am using the plugin PHP Snippets. The PHP Snippets encapsulates the code as a shortcode that one can place on a page. I would like to capture the ID that was clicked in the dbview so I can pass it to PHP Snippets. I placed the following the in dbview for the ID hoping to trigger the PHP Snippets shortcode with no luck.
do_shortcode(“[printAttendeedetailList name=$value]”); The printAttendeedetailList is the PHP Snippets shortcode.
Is there a way to call a shortcode in the dbview PHP area? What would you recommend?
Thanks for your time.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘dbview passing values/triggering shortcodes’ is closed to new replies.