Hi!
I am trying to define bookid dynamically, I woud like to "automatically" call different books depending in a variable.
I included in joomla content, using directPHP, a very simple script to test :
<?php $bkkid='1';
echo '{arismartbook id="'.$bkkid.'"}'; ?>
but the result is, "ARI Smart Book" plugin: Book with ID = "1" can not be loaded.
The book id=1 exist and I can load it if I use the static syntax.
What I need to do is to include the book in virtuemart product details and that according to the "product_id" it calls different books.
Could you please tell me how could be possible to call the smartbook "directly" in a php script without all the "content" treatement made by the plugin ?
Or how can I define "id" dynamiclly through a PHP script included (using directPHP) in the "product_decription" which is well processed by the plugin.
Attached printscreens.
Many thanks !!
pedro