Forum

Thread tagged as: Problem, Error, Configuration

perch:input type="select" blank in editor's view

Hi,

I'm using perch:input type="select" in the lastest Perch version Message - Perch 3.0.12. The test template has <perch:input type="select" options="red,green,blue" id="colours" /> which does not appear in the editor's view.

alt text for image

The debug is below but does not give me a clue what the problem is.

Debug Message - Perch 3.0.12
[1] SELECT u.*, r.* FROM perch3_users u, perch3_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='21f2b67a3a2ed27a70e52f12a3d17caf' LIMIT 1
UPDATE perch3_users SET userHash='dc5f21583d07783e40b89a09997bc202' WHERE userID='1'
[20] SELECT settingID, settingValue, userID FROM perch3_settings WHERE userID=1 OR userID=0 ORDER BY userID ASC
[6] SELECT itemValue FROM perch3_menu_items WHERE itemType='app'
[1] SELECT * FROM perch3_content_regions WHERE regionID=13 LIMIT 1
[1] SELECT * FROM perch3_pages WHERE pageID='9' LIMIT 1
Using template: /templates/content/select.html
[1] SELECT * FROM perch3_content_items c WHERE c.regionID=13 AND c.itemRev=2 ORDER BY c.itemOrder ASC
Using template: /templates/content/select.html
[1] SELECT * FROM perch3_content_items c WHERE c.regionID=13 AND c.itemRev=2 ORDER BY c.itemOrder ASC
Using template: /templates/content/select.html
Form not posted or did not validate
[1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 0, 1
[1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=1 ORDER BY mi.itemOrder ASC
[1] SELECT itemTitle FROM perch3_menu_items WHERE itemType='app' AND itemValue='content' LIMIT 1
[1] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=0 ORDER BY itemOrder ASC LIMIT 1, 10
[2] SELECT mi.*, p.privKey FROM perch3_menu_items mi LEFT JOIN perch3_user_privileges p ON mi.privID=p.privID WHERE mi.itemActive=1 AND mi.parentID=2 ORDER BY mi.itemOrder ASC
File: /core/apps/content/modes/edit.form.post.php
Mode: edit.form
Queries: 14
Memory: 2.589
David Owen

David Owen 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

perch:input tags are for front-end forms on your website. In your templates, use perch:content tags.

Oops! Too much Christmas festivities have dulled the mind.