What would be the consequenses of this? Should it never be done?
foxhound |
|
---|---|
I was talking to someone the other day and he suggested to use additional extra_fields to create a page text area. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
That should be fine. I don't know what sort of content is submitted by your members, but for example Markdown instead of HTML or BBCode can provide more consistency across the pages. |
foxhound |
|
---|---|
Right now all our pages are created with bbcode. We provide people with templates so all they have to do is change/add the text. However, even for some that is to hard and they start changing the templates making them bugged (so bbcode does not work) or changing them to a layout we do not wish to use or deleting them all together, so a submitted page has no layout at all and we need to adjust the submission. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
The Cotonti website is currently using HTML, but there are plans to start using Markdown for things like documentation. Here is more information on Markdown: http://daringfireball.net/projects/markdown/basics Though, even with Markdown it won't fully solve the problem you experience with members submitting pages that are not in line with your guidelines. |
foxhound |
|
---|---|
Thanks for that link and info. Its always good to get more up to date with available editors. <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
Add class="editor" to the extrafield's base HTML. <textarea class="editor" name="{$name}" rows="{$rows}" cols="{$cols}">{$value}</textarea>
|
foxhound |
|
---|---|
Excellent, works like a charm. Thank you very much!! :) <img src="http://www.armaholic.com/datas/thumbs/green-sea-battalion-uniforms-version-03-preview_4.jpg" alt="green-sea-battalion-uniforms-version-03-" />
|
Twiebie |
|
---|---|
Awesome! |