In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
1100 | [In-Portal CMS] Template System | bug report | always | 2011-08-17 04:15 | 2011-09-19 16:08 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 5.1.3-RC2 | ||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.1.3 | ||
Reference: | https://groups.google.com/d/topic/in-portal-bugs/Y_IgcJQKSRY/discussion | ||||
Change Log Message: | Fixed first stripped of char when "html:some_html_here" is passed instead of a block name for PrintList tag | ||||
Estimate Points: | 0 | ||||
|
|||||
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. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
lost_first_char_in_html_as_block_name.patch (970) 2011-08-17 04:15 http://tracker.in-portal.org/file_download.php?file_id=1104&type=bug |
||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-09-19 16:08 | alex | Note Added: 0003795 | |||
2011-09-19 16:08 | alex | Status | resolved => closed | ||
2011-08-24 02:38 | alex | Changeset attached | 5.1.x r14505 | ||
2011-08-24 02:38 | alex | Note Added: 0003690 | |||
2011-08-24 02:38 | alex | Status | reviewed and tested => resolved | ||
2011-08-24 02:38 | alex | Fixed in Version | => 5.1.3 | ||
2011-08-24 02:38 | alex | Resolution | open => fixed | ||
2011-08-24 02:38 | alex | Assigned To | !COMMUNITY => alex | ||
2011-08-24 02:24 | alex | Note Added: 0003687 | |||
2011-08-23 17:29 | Dmitry | Note Added: 0003679 | |||
2011-08-23 17:29 | Dmitry | Status | needs testing => reviewed and tested | ||
2011-08-23 11:54 | Dmitry | Note Added: 0003674 | |||
2011-08-23 11:54 | Dmitry | Target Version | Icebox => 5.1.3 | ||
2011-08-17 04:17 | alex | Assigned To | => !COMMUNITY | ||
2011-08-17 04:17 | alex | Developer | => alex | ||
2011-08-17 04:17 | alex | Status | active => needs testing | ||
2011-08-17 04:17 | alex | Reference | => https://groups.google.com/d/topic/in-portal-bugs/Y_IgcJQKSRY/discussion | ||
2011-08-17 04:16 | alex | Description Updated | bug_revision_view_page.php?rev_id=802#r802 | ||
2011-08-17 04:16 | alex | Description Updated | bug_revision_view_page.php?rev_id=801#r801 | ||
2011-08-17 04:15 | alex | New Issue | |||
2011-08-17 04:15 | alex | File Added: lost_first_char_in_html_as_block_name.patch | |||
2011-08-17 04:15 | alex | Change Log Message | => Fixed first stripped of char when "html:some_html_here" is passed instead of a block name for PrintList tag |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|