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, 27 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Adding PHP within a link
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Adding PHP within a link
#4011
Adding PHP within a link 2 Years, 5 Months ago  
Hello,

First of all, great extension. Easy top use and really handy.

I am using it to create a confirmation page for a form. The thing is, I have to generate a link that uses variables from the form.

I have no problems using PHP code elsewhere in the article, but when it comes to create a link... it seems that I cannot use {source}{/source}, as it gets stripped when the page renders.

Any ideas?

Thanks in advance,

Luciano
lelias2k
Posts: 3
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#4012
Adding PHP within a link 2 Years, 5 Months ago  
BTW, I'm using $_GET to retrieve the variable that was passed from the form through the URL
lelias2k
Posts: 3
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#4013
Adding PHP within a link 2 Years, 5 Months ago  
Nevermind, I figured out that the whole link including <a href> can go inside {source}

Once again, great extension!
lelias2k
Posts: 3
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#4014
Adding PHP within a link 2 Years, 5 Months ago  
If you are making the link via php, try to split it up, like:
$link = 'htt'.'p://'.'www....';

I think the problem is that your editor is trying to make an actual link from it...
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.
 
#4015
Adding PHP within a link 2 Years, 5 Months ago  
ok, cheers...
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.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max