Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

front end editor stripping {grid} markup

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

On one of my dev sites - scheduled for Oct 15 go-live, I was testing front end editing, and among (many) other problems, I discovered that saving a content item strips out not just the wiggly-brace {code} markup, it is also wiping out all other formatting as well.

Not sure where to begin looking to figure this out. Could be Joomla, JCE, T3, or gremlins. Have you seen this before - and found a fix for it?

This site will have multiple contributors, some of whom will work only on the front end.

--> dev link <--
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Have you checked the acl for the different user levels together with text filters?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
doesn't even work for me, superadmin

I'm wondering if i need to configure the editor for the front end - it's as if the template.css doesn't exist.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Does JCE see the styles when working in the backend?

How does the stripping work if you test a front end user with a different assigned editor?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Interesting. when i made an editor account for myself, it worked ok. Using JCE.

(I say interesting. but I really mean, stránge.)

edit. More strangeness. When I log into the back end again as super admin, the {grid8} and {grid4_last} are stripped, but the divs are visible in code view... see attached:


tagstrip-1.png


tagstrip-2.png


(and yes, i cleaned out that duplicate grid8, probably left over from previous failed front end edit attempts.)
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 6 months ago by blueshift.
The administrator has disabled public write access.
What do you get if you disable the editor entirely for one user via the user manager options?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
i'm not sure I follow? Reduce privileges on a random user who presently has the necessary permissions?
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Select a user and in the users details chose basic options and in there set editor to none

or you could use global and set editor to none

We are trying to see if its the editor or Joomla that is stripping
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
here's the view when i login in with my editor set to 'none.' before I opened it [clicked the 'edit' button], '{grid8}' was clearly the first thing in the content box


tagstrip-3-no-editor.png
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 6 months ago by blueshift.
The administrator has disabled public write access.
And in the backend with no editor if you add the code it keeps the correct syntax?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
yes - the code is there. image is admin panel view, same article, same user with no editor

tagstrip-4-no-editor-admin.png
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Just checking but what syntax are you trying to use JB type or BS/T3 ?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
My default is *always* JBType. :)
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
hmm works for me when I try via the front end using jb type syntax
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Are you closing the tags correctly and using the last syntax for the final column?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I've just added the example of what I tried locally via the front end of the lifestyle2 quickstart
Attachments:
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I was expecting to see the {grid} markup - so users on the front end won't accidentally overwrite them and ruin a pre-defined layout.

(It's my superadmin login that was deleting them altogether - all {grid} markup gone, along with the attendant div statements. My lower level _editor login does not do this.)

I am also working with a couple plugin developers who have discovered front end jquery conflicts generated by their own components, and as these get suppressed, maybe other issues are clearing themselves up.

The important statement is in bold.... I am hoping JB type will be avaliable in front end editing via JCE or TinyMCE.
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
The administrator has disabled public write access.
Update:

everything seems to be OK now. The change you suggested to a lower-privileged access did the heavy lifting, and was complemented by the suppression of two component .js files to clear up about a half dozen other front end editing problems. (I used JQueryEasy for the suppression of the two files.)

Thanks for your help! :)
  • blueshift's Avatar
  • blueshift
  • 6 Month Developer
  • 2579 posts
  • 78 Thanks
  • Karma: 26
Last Edit: 9 years 6 months ago by blueshift.
The administrator has disabled public write access.
Cool was running out of ideas :)

Thanks for the update

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers