Forum

Thread tagged as: Question, Events, Field-Types

Using dataselect on the Add Event html page

I have a custom page called venues.php where I am adding Locations to the DB, for use with the Events App.

On the Add Event in Perch I am trying to use:

<perch:content id="locationName" type="dataselect" label="Location Name" page="../venues.php" region="Venues" />

...but the dataselect box is not showing up at all. I have tried correcting the path to the venues.php page, and the region area is correct.

Not sure what I am doing wrong.

Mat Ranson

Mat Ranson 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are in an events template you need to use tags namespaced as perch:event not perch:content.

https://docs.grabaperch.com/addons/events/template-tags/

Ah, rookie error. Thanks Rachel!