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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

Can i pass PHP var from article into Ari DataTable
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Can i pass PHP var from article into Ari DataTable
*
#52414
Can i pass PHP var from article into Ari DataTable 9 Years, 11 Months ago Karma: 0
Hi Ari-Soft
I would like to pass one og more PHP variables from the Joomla article 'holding' one DataTable module ({aridatatables moduleId="163"})

I have tried a little and i have managed to get my variable into the 'Caption' field but no luck in other fields i.e. Scroll Height / Scroll Width.

What can be done and where is the information about things lige this?

Sincerely
Johnny Ejs
The administrator has disabled public write access.
 
#52415
Re:Can i pass PHP var from article into Ari DataTable 9 Years, 11 Months ago Karma: 760
Hello,

It is not possible to use request variables in "Scroll width", "Scroll height" and other similar parameters. If you want to load module instances into an article and override some parameters, you can use "Module Plant" plugin. It supports override module parameters in plugin code.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#52416
Re:Can i pass PHP var from article into Ari DataTable 9 Years, 11 Months ago Karma: 0
Hi again
Thanks for response - I have used 'Sourcerer' to insert the PHP Variabe from the article into Caption of the table module - this works: {source} </script> <?php Echo$_Request; ?> {/source}

I will now look into "Module Plant"

BUT

Where do i learn about the parameters in Your plugin?

Sincerely Johnny Ejs
The administrator has disabled public write access.
 
#52417
Re:Can i pass PHP var from article into Ari DataTable 9 Years, 11 Months ago Karma: 760
See <joomla_directory>/modules/mod_aridatatables/mod_aridatatables.xml manifest file. It contains all parameters.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#52422
Re:Can i pass PHP var from article into Ari DataTable 9 Years, 11 Months ago Karma: 0

works like a charm - thanks.

Sincerely Johnny Ejs
The administrator has disabled public write access.
 
Go to topPage: 1