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?

Datatables do not want to save after editing
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Datatables do not want to save after editing
#28433
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 0
thanks for the prompt reply.

Can these grids be populated base on sql para
meters or should the params
The administrator has disabled public write access.
 
#28434
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 748
The module can show data from a database based on "SELECT" SQL query. For this set "Choose source type" parameter to "SQL" and enter an SQL query in "SQL -> SQL query" parameter.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#28435
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 0
how do i pass a parameter to a paramerised query
The administrator has disabled public write access.
 
#28436
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 748
Explain in more details what parameters do you mean? It is possible to use in "WHERE" clause of "SELECT" SQL query predefined variables like {$UserId), {$UserLogin} and etc. It is also possible to use request variables in the next format:

{$REQUEST:key}

Where "key" is a name of a request variable.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#28437
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 0
hi
exactly that a parameter in the where clause .
What i would like to do is click on a row in the grid and pass a parameter to another article . the query in the new article must accecp the parameter from the the previous article. hope this makes sense
The administrator has disabled public write access.
 
#28438
Re:Datatables do not want to save after editing 12 Years, 1 Month ago Karma: 748
You can use "Columns Settings -> Format" parameter to create a link from a main table to a secondary table and send a value as request parameters. For example if a main table contains "id" column and a secondary table is loaded into article with ID = 71 and you want to send "id" parameter from a main table to a secondary table. Set "Columns settings -> ID" to id and "Columns settings -> Format" to the next value:

Code:


<a href="index.php?option=com_content&view=article&id=71&pId={$value}">{$value}</a>



in main table module settings. In a SQL query of secondary table you can use {$REQUEST:pId} parameter.

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