Hello,
Where can I edit editor settings?
I want to remove the ability to add html code and links by users (
lov24.net/pl/
)
Best regards,
Piotr
Cześć Piotr.
Thank you for contacting us.
Great question, let me ask our developers so I can get that answered for you.
I'll be back to you ASAP.
Cześć Piotr.
Jak najbardziej...chociaż wtedy zrozumieją nas tylko Polacy.
Jeśli nasza rozmowa będzie dotyczyć problemów z JomSocial, to z rozwiązania będą mogli skorzystać tylko nasi Rodacy... a szkoda ;)
Cześć Piotr.
1. Kopiujesz plik ROOT/components/com_community/templates/jomsocial/layouts/events.forms.php (dla grup to będzie groups.forms.php) do
ROOT/templates/your-template/html/com_community/layouts/ (jeśli nie masz takiego katalogu to go tworzysz)
2. Edytujesz plik i szukasz data-wysiwyg
3. Znajdziesz taką linię:
<textarea class="joms-textarea" name="description" data-wysiwyg="trumbowyg" data-wysiwyg-type="event" data-wysiwyg-id="<?php echo ($event->id ? 0 : $event->id) ?>"><?php echo $this->escape($event->description); ?></textarea>
<textarea class="joms-textarea" name="description" data-wysiwyg="trumbowyg" data-btns="bold,italic,underline,|,unorderedList,orderedList,|,image" data-wysiwyg-type="event" data-wysiwyg-id="<?php echo ($event->id ? 0 : $event->id) ?>"><?php echo $this->escape($event->description); ?></textarea>
data-btns="viewHTML,|,bold,italic,underline,|,unorderedList,orderedList,|,link,image"
<textarea class="joms-textarea" name="description" data-wysiwyg="trumbowyg" data-wysiwyg-type="event" data-wysiwyg-id="<?php echo ($event->id ? 0 : $event->id) ?>"><?php echo $this->escape($event->description); ?></textarea>
<textarea class="joms-textarea" name="description" data-wysiwyg="trumbowyg" data-btns="bold,italic,underline,|,unorderedList,orderedList,|,image" data-wysiwyg-type="event" data-wysiwyg-id="<?php echo ($event->id ? 0 : $event->id) ?>"><?php echo $this->escape($event->description); ?></textarea>
data-btns="viewHTML,|,bold,italic,underline,|,unorderedList,orderedList,|,link,image"
HI, Piotr.
Member list is made with ul and li. li width are defined nearly to 50% so they create 2 columns.
prntscr.com/hdaxqo
So if you want to change it e.g to 3 columns you'll need to manipulate with li width (and with margins, nth will come in handy here).
You don't need to edit any file - just create class override in your current template css file (refer to members list li with class chains/stacked class).