Home News Contact Us Forum About Us Joomla 1.0.x Demo Joomla 1.5 Demo Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 29/12/2011 Merry Christmas and Happy New Year!

    Dear visitors, our office will be closed from December 30 to January 2 due to the celebration of the New Year. You can purchase and download our products, but we can not guarantee quick answers to your questions for this period of time. Happy New Year! Your ARI Soft team.

  • 27/09/2011 ARI Smart Content v. 1.8.0

    ARI Smart Content v. 1.8.0 is ready. New version is compatible with Joomla! 1.5, 1.6 and 1.7 and it is released under GNU GPL license.


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 1 Year, 6 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 1 Year, 6 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 1 Year, 6 Months ago Karma: 278
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