Cześć;
mam problem z automatycznym wycinaniem znaczników <span> przez cmsms.
Template oparty jest o bootstrap, chcę skorzystać z glyphicon class np.
<span class="glyphicon glyphicon-envelope"></span>
jednak po wstawieniu czy to w content, czy szablon czy globalne fragmenty kodu - wycina mi wszystkie znaczniki span i to co w nich
Znalazlam cos takiego: http://dev.cmsmadesimple.org/projects/dropcaps
ale zupełnie nie wiem jak z tego skorzystać
i czy rozwiąże to mój problem HELP
wycinanie <span> przez cmsms
Re: wycinanie <span> przez cmsms
Perhaps a short UDT (User Defined Tag) could be helpful to you:
(not tested):
Create a new UDT and name it e.g. 'glyphicon'
Then in your content / template use:
(not tested):
Create a new UDT and name it e.g. 'glyphicon'
Code: Select all
echo '<span class="glyphicon glyphicon-' . $params['icon'] . '"> </span>';
Code: Select all
{glyphicon icon=envelope}
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: wycinanie <span> przez cmsms
glyphicons and other stylings are design elements, and design decisions... not part of content. Your problem is the WYWISYG editor.
WYSiWYG editors are for content editors, not designers.
Disable the wysiwyg editor on blocks/pages that have design stuff in there that content editors should not be editing.
WYSiWYG editors are for content editors, not designers.
Disable the wysiwyg editor on blocks/pages that have design stuff in there that content editors should not be editing.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: wycinanie <span> przez cmsms
calguy1000
I have in WYSiWYG option to switch in HTML and then I put
<span></span>
velden
Thank You - it's working with User Defined Tag
I have in WYSiWYG option to switch in HTML and then I put
<span></span>
velden
Thank You - it's working with User Defined Tag
Re: wycinanie <span> przez cmsms
Easy way to use Font Awesome in CMS Made Simple
http://www.cmscanbesimple.org/blog/easy ... ade-simple
Use a UDT for content styling
http://www.cmscanbesimple.org/blog/use- ... nt-styling
http://www.cmscanbesimple.org/blog/easy ... ade-simple
Use a UDT for content styling
http://www.cmscanbesimple.org/blog/use- ... nt-styling
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -