fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: Stripping <i class code when saving module![RESOLVED]

Stripping <i class code when saving module![RESOLVED] 2 years 7 months ago #10766

  • ImageVillage
  • ImageVillage's Avatar
  • Offline
  • Premium Member
  • Posts: 126
  • Thank you received: 8
  • Karma: 0
Hi guys, when editing the template "services" module created in feature-1 position the module is being stripped of all the fa fa-xxxx code, highlighted in red. This means the circles with the icons are now not working as per the template because it seems something is stripping the code for the icons when saving the module with any updated content.

<div class="box-circle center">
<div class="vertical-space2"></div>
<div class="row">
<div class="col-md-3">
<div class="vertical-space2"></div>
<a href="#!">
<div class="icon-box-icon">
<i class="fa fa-pencil" aria-hidden="true"></i>
</div>
</a>
<div class="box-content">
<h3>Design</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typeeting indstry. Lorm Ipsum has been the industry's</p>
</div>
<div class="vertical-space2"></div>
</div>

<div class="col-md-3">
<div class="vertical-space2"></div>
<a href="#!">
<div class="icon-box-icon">
<i class="fa fa-bar-chart" aria-hidden="true"></i>
</div>
</a>
<div class="box-content">
<h3>Strategy</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typeeting indstry. Lorm Ipsum has been the industry's</p>
</div>
<div class="vertical-space2"></div>
</div>
<div class="col-md-3">
<div class="vertical-space2"></div>
<a href="#!">
<div class="icon-box-icon">
<i class="fa fa-laptop" aria-hidden="true"></i>
</div>
</a>
<div class="box-content">
<h3>Digital</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typeeting indstry. Lorm Ipsum has been the industry's</p>
</div>
<div class="vertical-space2"></div>
</div>
<div class="col-md-3">
<div class="vertical-space2"></div>
<a href="#!">
<div class="icon-box-icon">
<i class="fa fa-comments" aria-hidden="true"></i>
</div>
</a>
<div class="box-content">
<h3>Marketing</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typeeting indstry. Lorm Ipsum has been the industry's</p>
</div>
<div class="vertical-space2"></div>
</div>
</div>
<div class="vertical-space2"></div>
</div>
<div class="center"><a href="#!" class="btn btn-primary">Get in Touch</a></div></div>
</div></div>
If you can be anything in this world, be kind!
Last Edit: 2 years 5 months ago by ImageVillage.
The administrator has disabled public write access.

Stripping <i class code when saving module! 2 years 7 months ago #10782

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4489
  • Thank you received: 646
  • Karma: 115
Have you trying turning off the editor.

Nice Quote in the signature though!
-- Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
The following user(s) said Thank You: ImageVillage

Stripping <i class code when saving module! 2 years 7 months ago #10913

  • ImageVillage
  • ImageVillage's Avatar
  • Offline
  • Premium Member
  • Posts: 126
  • Thank you received: 8
  • Karma: 0
Hi Chetan,
Yes removing editor and editing in code view works but I cannot imagine half the people using these templates without coding knowledge would be able to work out how to recover the original code from the template using developer tools, nor would they know how to unpublish the editor and understand code.

The <i></i> tags are being stripped by MCE which is not ideal, although it's a quick fix this needs to be resolved!

Thanks for your advice, I have managed to rewrite the code with some custom styling and new FA icons to suite my clients site, looks great although there a few other issues.

Not to keep writing endless tickets can we resolve this here?

On the Smart Slider for some reason the styled button is not aligning centre, it is "kicked" off to the right, I have attempted various solutions to this but it just kicks off centre and makes the sliders look odd, any ideas?

Kindest regards,
Mark
If you can be anything in this world, be kind!
The administrator has disabled public write access.

Stripping <i class code when saving module! 2 years 7 months ago #10920

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4489
  • Thank you received: 646
  • Karma: 115
Hi Mark,

I agree about the editor thing. But It's something that's built the way it is, editor is really for writing and we use for for all kinds of HTML. Hence the reason page builders are taking over the world.

I wouldn't have a clue about the smart slider thing without looking at it. The Slider just has too many options and It could be that you are missing something somewhere. If not, post back a link to your site and we'll have a look at it, other's here are more familiar with the slider than I am.

Cheers,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Moderators: chandandeep
Time to create page: 0.330 seconds
Cron Job Starts