Adding an external application to an Article - Joomla! Forum - community, help and support
hi - newbie joomla , trying add external "sales property listing" script joomla
the script - http://www.phpjabbers.com/preview/prope ... ng-script/
i have managed script run okay on test site - http://clickandrent.mobi/index.php/results-actions
i can script run except "full details" button on property - seems creates url
http://clickandrent.mobi/index.php/resu ... ction=view&id=1
but url conflicts joomla think &id=1 points joomla article property id , joomla article may or may not exist.
if manually chop off "id=1" - http://clickandrent.mobi/index.php/resu ... ction=view - works fine , show property details of first property in list.
are there settings in joomla ignore article numbers , remain on same article or sort of inheritancy issue or such.
or may going running external script incorrectly
i have module called sales property locator on front page can input property location , prices form.
'
<form id="form1" action="index.php/results-actions" method="post" name="form1">
all form stuff removed !!
</form>
'
this "form1" submitted , results diplayed on results menu hidden , has "results-actions" menu item has menu item type of single article called "results. single article "results" conatins code run php property listing script.
{source}
<?php
ob_start();
?>
{app_tpl}
<?php
//this runs sales property program
require_once "/var/www/vhosts/clickandrent.mobi/httpdocs/sales_property/listings.php";
?>
{/source}
regards
martyn.
the script - http://www.phpjabbers.com/preview/prope ... ng-script/
i have managed script run okay on test site - http://clickandrent.mobi/index.php/results-actions
i can script run except "full details" button on property - seems creates url
http://clickandrent.mobi/index.php/resu ... ction=view&id=1
but url conflicts joomla think &id=1 points joomla article property id , joomla article may or may not exist.
if manually chop off "id=1" - http://clickandrent.mobi/index.php/resu ... ction=view - works fine , show property details of first property in list.
are there settings in joomla ignore article numbers , remain on same article or sort of inheritancy issue or such.
or may going running external script incorrectly
i have module called sales property locator on front page can input property location , prices form.
'
<form id="form1" action="index.php/results-actions" method="post" name="form1">
all form stuff removed !!
</form>
'
this "form1" submitted , results diplayed on results menu hidden , has "results-actions" menu item has menu item type of single article called "results. single article "results" conatins code run php property listing script.
{source}
<?php
ob_start();
?>
{app_tpl}
<?php
//this runs sales property program
require_once "/var/www/vhosts/clickandrent.mobi/httpdocs/sales_property/listings.php";
?>
{/source}
regards
martyn.
yeah, you're going have problem if you've placed script inside article. can't have both com_content , external script using same parameter name. might able override joomla looking @ id param it's not idea hacking core.
two options are:
(1) change id param within external script prop_id or similar avoid confusion
(2) package script in own component rather using article system
either of sound possibilities?
two options are:
(1) change id param within external script prop_id or similar avoid confusion
(2) package script in own component rather using article system
either of sound possibilities?
Comments
Post a Comment