Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 16 Hours, 39 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Dynamic content in article
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Dynamic content in article
#5073
Dynamic content in article 2 Years, 3 Months ago  
Hi,

I neeed to dynamically alter content to contain user session variables in links and am nto sure if Sourcerer can help. For instance if I had a link in an article that sent the user to a URL which adds a product to a shopping cart will Sourcerer allow me to embed the curren Joomla user ID into that link dynamically?

Thanks
escherrer
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#5082
Dynamic content in article 2 Years, 3 Months ago  
try:
{source}<? echo $user->id; ?>{/source}

Changelog:
03-July-2009 : v2.1.0
+ Added 3 ready available variables: $article, $user, $database

Peter van Westen
Admin
Posts: 9165
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#5089
Dynamic content in article 2 Years, 3 Months ago  
Thats really cool, thanks!
escherrer
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max
hosting joomla