Anonymous | Login | Signup for a new account | 2023-06-03 05:45 CDT | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0001100 | [In-Portal CMS] Template System | bug report | always | 2011-08-17 04:15 | 2011-09-19 16:08 |
Reporter | alex | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0001100: First char of HTML isn't displayed, when "html:<some_html_here>" is passed instead of block name to any tag | ||||
Description |
In-Portal uses a block concept to out data from database on a page. So you basically define a block of HTML somewhere and then pass that block name to a tag, that will use it like in example below: <inp2:m_DefineElement name="sample_element"> < li ><inp2:Field name="SomeField"/>< /li > </inp2:m_DefineElement> < ul > <inp2:l_PrintList render_as="sample_element"/> < /ul > This will output all links in a current category using a "sample_element" block. However, there are tags, that require multiple blocks to passed in, e.g. "footer_render_as", "header_render_as" and so on. If block content is a plain short text without HTML, then can simply use this approach to pass it without creating a new block: <inp2:l_PrintList render_as="sample_element" footer_render_as="html:it's a footer"/> So you need to pass "html:any_text_here" instead of a block name. You can also pass "html:" (will result in empty string). Problem is that first char of passed text will be stripped off. |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic![]() In-Portal Open Source CMS |