Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2017-08-09 20:38:36

etc
Developer
Registered: 2010-11-11
Posts: 2,200
Website

Re: txp:article_custom via php echo

macosa wrote #306558:

Thank You! Im building like this. Its great i think ))))

Not yet, I think this should do what you need faster:

<txp:article_custom  section="trips" limit="999">
<txp:php>
global $thisarticle;

if (abs($thisarticle['geolatitude'] - $_GET['geolat']) < 4 && abs($thisarticle['geolongitude'] - $_GET['geolong']) < 7) {
    echo output_form (array('form' => 'map_clusters'));
}

</txp:php>
</txp:article_custom>

etc_[ query | search | pagination | date | tree | cache ]

Offline

Board footer

Powered by FluxBB