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?

Link in JDataTable
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Link in JDataTable
#6163
Link in JDataTable 14 Years, 3 Months ago Karma: 0
Hello, I am using a SQL table wrapped in a JDataTable, what I would like to do is to show a list of both articles and kunena posts in a list, with the title linked to the article. At the moment my code in the module is:

Code:


{arijdatatable bPaginate="true"}
{arisqltable}
    {arisqltablecolumns}
      {arisqltablecolumn id="DATE" alias="Date" width="15%" className="idg"}
      {arisqltablecolumn id="CAT" alias="Category" width="15%" headerClassName="head"}
      {arisqltablecolumn id="TITLE" alias="Title" headerClassName="head"}
    {/arisqltablecolumns}
    {arisqltablequery}
SELECT FROM_UNIXTIME(time) AS DATE, 'POST' AS CAT, subject AS TITLE
FROM #__fb_messages
UNION
SELECT created AS DATE, 'ARTICLE' AS CAT, title AS TITLE
FROM #__content
    {/arisqltablequery}
{/arisqltable}
{/arijdatatable}



I have tried to use sql CONCAT to add an <a> tag to make the link, but it seems that html tags get stripped off the list. Is there a way I can make the title column entries linkable?

Thank you
The administrator has disabled public write access.
 
#6174
Re: Link in JDataTable 14 Years, 3 Months ago Karma: 0
Nevermind, resolved, I just needed to enable html tagging in the plugin screen.
The administrator has disabled public write access.
 
#6175
Re: Link in JDataTable 14 Years, 3 Months ago Karma: 760
Hello,

Sorry for the delay. We are glad that the problem was resolved.

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