using modal window with custom page

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
kurt2000
User
Posts: 43

using modal window with custom page

Post by kurt2000 »

i try to open modal from list page
and i create a custom page for this.

i ve to pass some variables to custom page in the modal

custom tag of list page
<?php
$lat_x =(CurrentPage()->lat->CurrentValue);
$lng_x =(CurrentPage()->lng->CurrentValue);
?>
<button class="btn btn-default ewAdvancedSearch" type="button" title="" data-caption="Emlak Muayene" onclick="ew_SearchDialogShow({lnk:this,url:'xxx.php?lat=<?php echo $lat_x; ?>&lng=<?php echo $lng_x;?>'});" data-original-title="GeliÅŸmiÅŸ Arama"><span data-phrase="AdvancedSearchBtn" class="icon-advanced-search ewIcon" data-caption="GeliÅŸmiÅŸ Arama"></span></button>
?>

adnd custom page is xxx.php


<?php
$lat_x = $GET["lat"];
$lng_x = $
GET["lng"];
?>
<div>
<h1>Deneme</h1>
<?php
echo $lat_x.'<br>';
echo $lng_x.'<br>';
?>
</div>


but it is not working

any idea?


danielc
User
Posts: 1601

Post by danielc »

Explain "not working". What did you see?

Check JavaScript error and HTTP GET in your browser.


Post Reply