Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

define bookid dynamically, include smartbook in vm
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: define bookid dynamically, include smartbook in vm
#53141
define bookid dynamically, include smartbook in vm 9 Years, 2 Months ago Karma: 0
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
The administrator has disabled public write access.
 
#53142
Re:define bookid dynamically, include smartbook in vm 9 Years, 2 Months ago Karma: 747
Hello,

Could you provide a link to a page where the problem occurs and a temporary access to your J! backend by email so we can investigate the problem?

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1