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?

Is there any way to .....
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Is there any way to .....
#56176
Is there any way to ..... 8 Years, 5 Months ago Karma: 0
I have two ideas in my head that I would like to achieve using Data Tables but am unsure if it's possible....

Using:
Joomla 3
MySQL DB


1) display data newer than 1 day in bold

2) Click a line on data tables, which opens up a page or popup that pulls a table from the database which is equal to the name of the line...

So if the Line value was 8762346234, you could click it and a popup or joomla page would display and would show the database columns of 8762346234, but I want to create lots of joomla pages for each value, I want the page or popup to create itself based on the line value and pull the database table equal to the line value.

hope somebody can help
cheers
The administrator has disabled public write access.
 
#56177
Re:Is there any way to ..... 8 Years, 5 Months ago Karma: 0
Or be able to change the SQL query depending on URL would be great, for example


URL


websiteaddress/index.php?product_id=[777656]

SELECT [URL-PRODUCT-ID] FROM databasetable;
The administrator has disabled public write access.
 
#56178
Re:Is there any way to ..... 8 Years, 5 Months ago Karma: 747
Hello,

1. The extension doesn't support this ability.

2. It is possible to use request variables in WHERE clause of SQL query. For example if want to use product_id parameter from an URL, query will look like:

SELECT
*
FROM
tbl
WHERE
id = {$REQUEST:product_id}

It is possible to open a page with secondary table into a lightbox (for example in "ARI Sexy Lightbox" lightbox). You can read about primary and secondary tables here. About integration with "ARI Sexy Lightbox" is here.

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