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: 2 Hours, 38 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Method GET doesnt work on content items
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Method GET doesnt work on content items
#108
Method GET doesnt work on content items 3 Years, 7 Months ago  
heya to all, i want to manage a variable passed via GET, but it just dont work, here is part of the code:

{source} <?php $vi = $_GET["urr"]; ?> {/source}


<iframe src ={source}"<?php echo $vi ?>"{/source} height="400" width="400" align="mi
ddle" frameborder="0" marginwidth="5" scrolling="auto">
</iframe>

{source}"<?php echo $vi ?>"{/source}

variable &vi just doesnt work, no matter what enter on url ?urr=hello doest work, event the last line doesnt print anything

thx four your future help....
hugo
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#110
Method GET doesnt work on content items 3 Years, 7 Months ago  
Does this work?
<iframe src ={source}"<?php echo $_GET["urr"]; ?>"{/source} height="400" width=
"400" align="middle" frameborder="0" marginwidth="5" scrolling="auto"></iframe>

{source}"<?php echo $_GET["urr"]; ?>"{/source}

Peter van Westen
Admin
Posts: 9169
User Online NowClick 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.
 
#126
Method GET doesnt work on content items 3 Years, 7 Months ago  
yea that fix it, the variable pass , thx a lot =)
hugo
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#129
Method GET doesnt work on content items 3 Years, 7 Months ago  
The reason is that the variables you make, only work within that {source} bit. This is also to prevent overruling certain Joomla variables.
So I think this should also work:
{source}
<?php $vi = $_GET["urr"]; ?>
<iframe src ="<?php echo $vi ?>" height="400" width="400" align="mi
ddle" frameborder="0" marginwidth="5" scrolling="auto"></iframe>
"<?php echo $vi ?>"
{/source}

Peter van Westen
Admin
Posts: 9169
User Online NowClick 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
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support