Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
EDC:
Download extensions for Elxis CMS
.
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
HTML Submit Content
« previous
next »
Print
Pages: [
1
]
Author
Topic: HTML Submit Content (Read 5431 times)
jorgebravoc
Jr. Member
Posts: 73
HTML Submit Content
«
on:
May 30, 2011, 09:36:21 »
Hello everybody:
I have noticed that when someone with lower than superadmin level posts something from the frontend using the Add Content interface the HTML code gets deleted, the formats get messed up, things like tables, margins, img borders, etc... so when they are being created they look fine but they get messed up when published. I´m using the TinyMCE Editor to insert content form the frontend.
Anybody knows how to keep the html someone (other than a superadmin, author actually) creates when styling text, images and tables from the frontend?
thanks a lot
Logged
datahell
Elxis Team
Hero Member
Posts: 10357
Re: HTML Submit Content
«
Reply #1 on:
May 30, 2011, 19:22:25 »
You mean that
any
formatting is deleted? The article remains
plain text
? For example if you just make something
bold
it will be deleted after you press the submit button?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jorgebravoc
Jr. Member
Posts: 73
Re: HTML Submit Content
«
Reply #2 on:
May 31, 2011, 20:42:34 »
yeah, especially with positioning images. Someone could make an article using the TinyMCE editor at the frontend with a couple of images, formated, aligned left or right, tables, etc... and when they get published they show up as if they had no-formatting so what I have to do is access the article from the backend as a superadmin and re-format, thn when I save and publish it shows up as intended, well formated.
Logged
datahell
Elxis Team
Hero Member
Posts: 10357
Re: HTML Submit Content
«
Reply #3 on:
May 31, 2011, 21:04:28 »
I just tested it on Elxis 2009.2 and I don't see any problem. The formatting is preserved just fine...
It needs debugging on your site to tell why it doesn't work for you. If you wish you can do the following test.
1. Write an article and make something bold, colour some text, etc. Submit the article.
2. Click to edit the article (before publish). Is the format preserved?
3. If yes, login as admin go to administration area -> content -> submitted content and edit the article. Is the format preserved?
4. Save the article and re-open it for edit. Is the format preserved?
Where exactly the formatting was lost?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jorgebravoc
Jr. Member
Posts: 73
Re: HTML Submit Content
«
Reply #4 on:
June 01, 2011, 05:09:25 »
the formatting mainly disapears with images, I enabled the Ibrowser and when someone adds an image from it and gives a margin or border, the margins and borders disapear, the text is right next to the image as if it had no margins...
Logged
datahell
Elxis Team
Hero Member
Posts: 10357
Re: HTML Submit Content
«
Reply #5 on:
June 01, 2011, 17:37:08 »
ibrowser is not displayed in frontend! Have you modified the editor?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jorgebravoc
Jr. Member
Posts: 73
Re: HTML Submit Content
«
Reply #6 on:
June 05, 2011, 00:24:12 »
yeah, I modified it using a code I found here in the forum, it works perfectly. I'm fixing this problem by assigning a constant margin for any image inside the div holding the main content.
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
HTML Submit Content