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?

Linking articles in 1 or more categories
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Linking articles in 1 or more categories
#17430
Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 0
Hi,

Is there any methods to put a link of articles within 1 or more categories, within a table column?

Thanks!

Anthony
The administrator has disabled public write access.
 
#17436
Re:Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 747
Hello,

Do you want to show link to page with all articles from specific category or mean something another?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#17437
Re:Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 0
I would like to show the link of every individual article from a category, i.e. each article is displayed as in single cell/row of the table.

Thanks!

Anthony
The administrator has disabled public write access.
 
#17442
Re:Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 747
Link to specific article looks like:

Code:


index.php?option=com_content&view=article&id=ARTICLE_ID



Where ARTICLE_ID is ID of article. For example if you want to show articles from content category with ID equals to 3, set "Source type" to "SQL", enter the next SQL query:

Code:


SELECT
  id,
  title,
FROM
  #__content
WHERE
  catid = 3



and set "Columns settings -> Columns settings -> ID" parameter to title and "Columns settings -> Columns settings -> Format" to:

Code:


index.php?option=com_content&view=article&id={$columns:id}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#17446
Re:Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 0
Thank you very much for your useful and prompt response.

However, I only get the plain text "index.php?option=com_content&view=article&id={$columns:id}" rather than the actual link of "index.php?option=com_content&view=article&id={$columns:id}", following your instruction.

Thank you again!

Anthony

----
The problem was solved by setting the parameter "format"
as
<a href="index.php?option=com_content&view=article&id={$columns:id}">{$value}</a>
rather than
index.php?option=com_content&view=article&id={$columns:id}

Thank you for your great support!
Last Edit: 2011/07/17 16:51 By awh_chan.
The administrator has disabled public write access.
 
#17450
Re:Linking articles in 1 or more categories 12 Years, 9 Months ago Karma: 747
Shame on me, I forgot about <A> tag

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