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?

Link to Article
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Link to Article
#26013
Link to Article 12 Years, 8 Months ago Karma: 0
Hello,

we have this Query to show the posts of the current LoggedIn User and it works fine:

SELECT
created AS "Erstellt am:", title AS "Beitragstitel"
FROM
#__content
WHERE
created_by = {$UserId}
ORDER BY created DESC

but is ist possible to make the title linkable so that i can get to the article by clicking on it ?

We tried to set "<a href="{$value}">{$value}</a>" to Column Settings -> Format but the Link doesnґt work. Index.php and the Category is missing, i think whith this it would work, but we donґt get it going.

Do you have any solution to solve this ?
The administrator has disabled public write access.
 
#26016
Re:Link to Article 12 Years, 8 Months ago Karma: 760
Hello,

It is possible to use the next SQL query:

Code:


SELECT
  id,
  created AS "Erstellt am:", 
  title AS "Beitragstitel"
FROM
  #__content
WHERE
  created_by = {$UserId}
ORDER BY 
  created DESC



Set "Columns Settings -> ID" parameter to id value and set "Columns Settings -> Hidden" parameter to "Yes" then set "Columns Settings -> ID" parameter to Beitragstitel and "Columns Settings -> Format" parameter to the following value:

<a href="index.php?option=com_content&view=article&id={$columns:id}">{$value}</a>

Regards,
ARI Soft
The administrator has disabled public write access.
 
#26018
Re:Link to Article 12 Years, 8 Months ago Karma: 0
This works great.

Thanks a lot !!!
The administrator has disabled public write access.
 
Go to topPage: 1