Fri Nov 28 15:07:14 2003
Ticket #410
include requires correct campsite lingo
Priority: | normal | Reporter: | micz |
---|---|---|---|
Severity: | trivial | Assigned to: | anonymous |
Component: | Admin Interface | Status: | new |
Version: | 3.0.0 | Resolution: | |
Milestone: | 3.0.0 | Keywords: |
Description by micz:
campsite 2.1.3 i have a list command. between "list" and "endlist" i want to include something. but if that template i include starts with: <!** if list start> <table width="200" border="0" cellspacing="2" cellpadding="0"> <!** endif> i get the preview parser error: Error 104: Line 1,Column 19; this statement is not allowed here; required: Publication, Issue, Section, Article, Allowed, If Publication|Issue|Section|Article, Subscription, User, Login, Search, Subtitle; if i chop the two lines out, and stick them in the main template before the include, i get no errors. in my opinion the inlcude command should compile the template first, then do error checking. the reason: in my case i have many, many different list commands, but always the same HTML to be generated. so i want to place the HTML in a subtemplate - called from different other templates.
Changelog
Tue Apr 5 22:34:54 2005: Modified by paul
- component changed from CAMPSITE parser to Admin Interface
- milestone set to 2.3.0
Wed Apr 20 17:55:08 2005: Modified by paul
- milestone changed from 2.3.0 to 3.0.0