In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000116 [In-Portal CMS] Admin Interfaces bug report always 2009-07-17 20:34 2010-08-31 14:25
Reporter Dmitry View Status public Project Name In-Portal CMS
Assigned To Developer
Priority normal Resolution open Fixed in Version
Status active Product Version 5.1.0 Target Version Icebox
Time EstimateNo estimate
Summary 0000116: In-Portal Tags not Visible in FCK Editor Textareas
Description In-Portal Tags are fully skipped and not visible in FCK Textareas.

Example - Your suggested category "" has been added.

This mainly applies to Email Templates editing.

Need to find solution to escape <INP2:../> tags so they some visible or at least treated as Regular text.
Additional Information
Tags No tags attached.
Change Log Message
Estimate Points 0
Attached Files patch file icon in-portal tags in fckeditor.patch [^] (6,978 bytes) 2009-09-29 14:58 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0000136)
alex (manager)
2009-07-19 05:53

Reminder sent to: Dmitry

Earlier such tags were threated as HTML and were mangled and were broken as a result. I've implemented this quick fix, that hides such tags from editor window, but they will be back, when text is saved.

Although there are some cases, when tag is between two words and words are deleted, then tag is deleted as well.

Normally we should display place holders (yellow ones, like in Dreamweaver) where in-portal tags are located.
User avatar (0000157)
Dmitry (manager)
2009-07-19 08:47

Agreed, we'll work on this shortly
User avatar (0000188)
alex (manager)
2009-07-25 06:33

I've tried to research what actually FCKEditor will allow and here is what I've got:
1. all non-pair In-Portal tags are converted to pair tags, because FCKEditor don't know anything about them: <inp2:m_Param name="test"/> will become <inp2:m_param name="test"></m_param>
2. all tag names and parameter names are lowercased, because it's XHTML.
3. There is a way to replace In-Portal tags with fake images and replace them back when text is saved, but this results in that content of pair In-Portal tags, like "<inp2:m_if ...></inp2:m_if>" is not visible/editable after replace is made and we can see only one image. If we have nested pair tags, with some html inside, then we can't edit it after this replace.
4. When replacing In-Portal tags to fake images there is no way to determine if we are replacing opening or closing tag, both tags appear to be same document element with contents inside it.

As a result this quite difficult to do such a thing. Maybe you will have better luck finding useful solution on the Internet (pair tags content should be visible after fake images are shown!).
User avatar (0000590)
alex (manager)
2009-09-29 14:59

I've attached what I've done so far. I hope, that this will be starting point when we address this issue later.

- Issue History
Date Modified Username Field Change
2010-08-31 14:25 alex version => 5.1.0
2009-10-03 07:23 administrator Type @60@ => bug report
2009-09-29 14:59 alex Note Added: 0000590
2009-09-29 14:58 alex File Added: in-portal tags in fckeditor.patch
2009-09-20 15:18 alex Target Version 5.1.0 => Icebox
2009-07-26 19:49 Dmitry Target Version 5.0.1 => 5.1.0
2009-07-25 06:33 alex Note Added: 0000188
2009-07-19 08:47 Dmitry Note Added: 0000157
2009-07-19 05:53 alex Note Added: 0000136
2009-07-17 20:34 Dmitry New Issue

Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker