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


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


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 2 Years, 10 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 2 Years, 10 Months ago Karma: 670
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