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?

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, 6 Months 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, 6 Months ago Karma: 760
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, 6 Months 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, 6 Months ago Karma: 760
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, 6 Months 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, 6 Months ago Karma: 760
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