wildcard setting for wrapper URLs? - Joomla! Forum - community, help and support
i dont know how explain this, , using word "wildcard" lack of better term.
what have wrapper page pointing url : http://www.wrapperurl.com; site's url page be like: http://www.mysite.com/thatwrapper.
the problem is, throughout site, there links link http://www.wrapperurl.com, have addition url, example: http://www.wrapperurl.com/domain=blah.com. "blah.com" part different.
is there way me set destination link within wrapper add trailing part of link everytime call wrapper?
man, explanation confusing...i hope can understand it....
what have wrapper page pointing url : http://www.wrapperurl.com; site's url page be like: http://www.mysite.com/thatwrapper.
the problem is, throughout site, there links link http://www.wrapperurl.com, have addition url, example: http://www.wrapperurl.com/domain=blah.com. "blah.com" part different.
is there way me set destination link within wrapper add trailing part of link everytime call wrapper?
man, explanation confusing...i hope can understand it....
without hack of core files, not see how done.
i took @ wrapper component.
here section in wrapper.html.php outputs wrapper iframe , src:
i tested code takes value passed in link wrapper page , adds onto src iframe , can work ok.
the main problem can see security. accepting value in url , outputing generated page, lead problems if not done correctly.
there methods strip out code etc, being paranoid, want accept values i.e. test value against expected data , if expect, output ifame src else not output page
if need feature, can explain idea hack
i took @ wrapper component.
here section in wrapper.html.php outputs wrapper iframe , src:
code: select all
<iframe
<?php echo $row->load; ?>
id="blockrandom"
name="iframe"
src="<?php echo $row->url; ?>"
width="<?php echo $params->get( 'width' ); ?>"
height="<?php echo $params->get( 'height' ); ?>"
scrolling="<?php echo $params->get( 'scrolling' ); ?>"
align="top"
frameborder="0"
class="wrapper<?php echo $params->get( 'pageclass_sfx' ); ?>">
<?php echo _cmn_iframes; ?>
</iframe>
i tested code takes value passed in link wrapper page , adds onto src iframe , can work ok.
the main problem can see security. accepting value in url , outputing generated page, lead problems if not done correctly.
there methods strip out code etc, being paranoid, want accept values i.e. test value against expected data , if expect, output ifame src else not output page
if need feature, can explain idea hack
Comments
Post a Comment