Use glyphicons or fontawesome icons within rich text - rich-text-editor

Is there an easy way to use glyphicons or fontawesome icons within the rich text?
Please have a look at the following CKEditor plugin I post here as an illustration of the question. https://www.michaeljanea.com/ckeditor/bootstrap-glyphicon
I failed to find a similar plugin for Wagtail.

A functional solution though having a sub-quality UX is to use raw HTML editing. Google provides few URLs on HTML editing within Hallo.js in Wagtail CMS. The most useful are as follows:
docs. http://docs.wagtail.io/en/latest/reference/hooks.html
example. https://git.sinnwerkstatt.com/cosinnus/cosinnus-core/blob/2989a6844733c732c7ca24c13cbcd30a0dc7f99d/cosinnus/wagtail_hooks.py
After implementing the hook, it is possible to add glyphicons (and fontawesome), e.g. by adding
<ul class="fa-ul">
<li><i class="glyphicon glyphicon-user"></i>User icon</li>
<li><i class="glyphicon glyphicon-home"></i>Home icon</li>
</ul>

Related

where I can change the links to social icons in Joomla?

I do not know Joomla, but I had one task in exsiting site, to change the link of social button, linkedin.
I thought it was simple task, but I wasted 2 days for it, looking in files and interface. Can you help me please, or just give me ideas where these social links can be placed.
version of Joomla is 2.5.14
<div class="custom">
<p style="text-align: right;">
Site Map
<img src="/images/siteImages/lnicon.png" border="0" alt="">
</div>
Thanks in advance)
you are my last chance :)
found the links in Module Custom HTML module, in administration panel.

Customizing the Okta Footer

I am trying to customize the footer that contains the support links etc. There is an option to enable/disable but I want to customize it so that I can add my own links or code in there.
Does anyone have any suggestions?
Currently, Okta only supports enable and disable of the footer.
You can, however, host a custom page and include an <iframe></iframe> with the source as https://{your-org}.okta.com/app/UserHome?iframe=true&iframeControlHideAll=true.
Example:
<body>
<iframe src="https://{your-org}.okta.com/app/UserHome?iframe=true&iframeControlHideAll=true"; frameborder="0" width="100%" height="100%"></iframe>
</body>
Another option is to completely build your own portal with a custom look and feel using the Okta API.

using ZURB Foundation with laravel

I am new to laravel so I am not sure how this can be achieved. I am using ZURB Foundation and trying to create a button in the page.
I use linkRoute always to redirect to a named route then redirect to a specific controller action. I have the below:
<body >
<h1 align="center">ShopCon.com</h1><br><br>
<a style="margin-left:50px;" href="{{ HTML::linkRoute('membersaccess', 'Members Access') }}" class="medium success button">Login or Register</a>
</body>
but when I render this, it shows like this
Members Access" class="medium success button">Login or Register
instead of showing the button and text within it and link to named route. How can this be fixed? I read something about macros but unable to clearly understand them or use them to achieve this.
Picture included for reference:
HTML::linkRoute produces an HTML anchor tag.
Since you only want the URL, use URL::route.

Generate Pinterest Share Button That Specifies URL

I am trying to create a "pinterest share" button, but am running into a snag.
Currently, I have the pinterest button (generated from their Widget Builder) appearing in a Lightbox. (For certain reasons, it must appear this way.)
The issue is the Lightbox code has direct linking on it, so the code for the lightbox window is something like: www.domain.com/#/social/4
Pinterest is picking up that URL (which has no images since it's just the lightbox) instead of the URL for the main page (www.domain.com).
Does anyone know how I can specify the exact URL to share via the pinterest button?
I have read some posts that said doing this would work:
<img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" / > <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
However, specifying the URL does not seem to work at all. It appears to be totally ignored and has no impact.
Any ideas?
Thanks in advance!
You can use a standard link and specify all the data in the parameters:
<a href="http://www.pinterest.com/pin/create/button/
?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkentbrew%2F6851755809%2F
&media=http%3A%2F%2Ffarm8.staticflickr.com%2F7027%2F6851755809_df5b2051c9_z.jpg
&description=Next%20stop%3A%20Pinterest"
data-pin-do="buttonPin"
data-pin-config="above">
<img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" />
</a>
Source: http://developers.pinterest.com/pin_it/
You can try using structured meta data and Rich Pins.

AJAX Wordpress Site with Difficult URL settings

On this WordPress theme utilizing AJAX, proves to be difficult. The developer of the theme cannot seem to find the issue or solution to it.
This site runs beautifully, if, and only IF, you type is this complete URL "http://www.geigerandwood.com/#!//" if you type in the .com site alone, it will appear but will be disfunctional.
I have made attempts in 301 redirects, even creating a static page with a redirect but still no luck. Is there something that I can add or change in the code to make this work properly?
FYI - it has been tested on the common web browsers on both OSX & Windows.
Here is a video of my presented issue. http://www.screenr.com/D1G8
What theme do you use?
My quick examination of your page source code is that I only can find something related to the #!// is in here
<div id="contentBoxScroll">
<a id="closeButton" href="#!//"></a>
<div class="dragcontainer">
<div id="contentBoxScrollDragger" class="dragger">
<div class="scroll_up"></div>
<div class="scroll_down"></div>
</div>
</div>
</div>
I assume it must be something inside the script from which that HTML is generated. I can say more since I can't see the full source.

Resources