bootstrap 3.3.2: new glyphicons missing - twitter-bootstrap-3

I have installed the latest bootstrap 3.3.2 from scratch, but the new glyphicons like glyphicon-duplicate are missing.
<li><span class="glyphicon glyphicon-duplicate" aria-hidden="true"></span> Copy</li>
Any ideas?
Thanks
Michael

Clear browser cache? Check developer toolbox for any 404s on page load?

Related

How to integrate ckeditor to work with cutenews. Thanks

Someone please help me to integrate ckeditor4 (or 5) to work with cutenews 2.0 ?
Thank you, Michael
I did download CKEditor5 and place it in the plugins folder then configure in the System Configuration in the Cutenews 2.1.2. Nothing happen. I aso download CkFinder and install as instructed. Nothing show that Cutenews recognized CKEditor. I wonder, is there a place in the Add_news or Edit_News, where I can specify the CKEditor to be loaded?

Worklight 6.2 - HTML files being modified by build

I'm developing a SPA that uses RequireJS to load HTML template fragments. During the build, it seems WL 6.2 is parsing and trying to turn those into fully valid HTML documents. For example, a foo.html file that looks like this:
<div class="foo">
<% if (bar) { %>
<div class="baz">Message</div>
<% } %>
</div>
is becoming something like this:
<html><body><div class="foo">
<_ if="if" bar="bar" _="_">
<div class="baz">Message</div>
<_ _="_">
</_></_></div>
</body></html>
Minification and concatenation are turned off in the build configuration, and I didn't see any other likely settings.
How can I turn off this modification?
This problem is very similar to a bug currently identified in WL 6.2 (APAR PI21516)
IBM customers can see the APAR page at: https://www-304.ibm.com/support/entdocview.wss?uid=swg1PI21516
The bug has been already fixed and is queued to be delivered on the next iFix, which should happen soon. You can contact your IBM representative who can assist you in getting prior access to this iFix if needed.
I would suggest that you try this new version and, if the problem is not solved, register a PMR with the IBM support team for further investigation.
Also please keep this question updated so we and others can follow the problem resolution.
IBM fixed this in APAR PI22635 (WHEN DEVELOPING A SPA (SINGLE-PAGE APP) IN WORKLIGHT 6.2, THE SERVER IS CONVERTING HTML FRAGMENTS INTO A GARBLED INVALID OUTPUT), which is part of iFix Worklight v6.2.0.0 InterimFix 201408011709

Alternative option row classes for bootstrap table <tr class="success"> doesn't work. Why?

i can get this code working with twitter bootstrap
< tr class="success"> according to http://twitter.github.com/bootstrap/base-css.html#tables
It should mark table row with green color, but it doesn't work for me. Where can be problem ?
I'm using rails 3 and latest bootstrap gem. Thanks for reply.
edit: code here : http://jsfiddle.net/24RQM/28/
You are using an old version of Twitter Bootstrap. Move to 2.1.0 and it will work.
See it in action on this fiddle.
EDIT
twitter-bootstrap-rails versioning is confusing because gem version doesn't match framework version. So gem version 2.1.1 contains Twitter Bootstrap version 2.0.4.
To get Bootstrap v2.1.0 (latest version right now) you have to update twitter-bootstrap-rails to v2.1.2

Installing Dojo into Aptana

How would I install support for dojo into Aptana?
Basically I want to have auto completion working for dojo. Is there a way to do it?
The process has changed. Instead, you drop a library API file into your project:
http://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries
You do drop a library API file in your project as described in the link Ingo Muschenetz provided. However, no plugin that I have found currently FULLY supports Dojo content assist or auto completion. As in dojo.byId or dijit.byId are not supported through Aptana.
Here is the updated link to install Dojo support for Aptana:
http://docs.appcelerator.com/titanium/latest/#!/guide/JavaScript_Library_Support
Just follow the instructions under Dojo.

Where's the source code to the native PDF viewer in Google Chrome?

Can't seem to find it in trunk. Is this actually part of the open-source Chromium project? Or is the source to this not actually released? Only mention I could find:
http://www.listware.net/201007/chromium-discuss/93274-chromium-discuss-chrome-pdf-viewer-source.html
Fetch it with Git:
$ git clone https://pdfium.googlesource.com/pdfium
View and contribute:
https://pdfium.googlesource.com/pdfium/+/master (Source browser)
https://pdfium.googlesource.com/pdfium/+/master/LICENSE (BSD 3-clause)
https://code.google.com/p/pdfium/ (Bug-tracker)
Chromium just automatically embeds a page with PDF, the custom plugin is bundled up with Chrome. Adobe and Google has some mutual agreement:
You can right click and inspect the PDF Native Viewer to see yourself, you will see something like the following:
<html>
<body marginwidth="0" marginheight="0" bgcolor="rgb(38,38,38)">
<embed width="100%" height="100%" name="plugin" src="http://path/to/file.pdf" type="application/pdf">
</body>
</html>
I just cite a snippet of the Chromium wiki (last updated on Nov 20, 2012):
The Chrome PDF plugin uses 3rd-party non-free code; no Free Software PDF plugin exists that supports all the PDF features we'd like (such as filling in forms). :(
It is closed-source, just as native Flash plugin.