print/email icon dropdown issue with no bootstrap

print/email icon dropdown issue with no bootstrap was created by Boradan

Posted 7 years 2 months ago #39883
Regarding the dropdown box for Print/email for articles:

With Bootstrap:
i.gyazo.com/a1b77794307db9fc7cdc14c8f9cd30f1.png

Without Bootstrap:
i.gyazo.com/dcbf1718b66e766a5e8f629d7a3193bc.png

It seems that TC is creating a (very small) button instead of a dropdown box with icons and not showing the 'icon-cog' or the 'caret' icons
The 'dropdown' is also opened by default with no way of closing it (since the dropdown doesnt exist.

You can see this happening at:
sb-es.co.uk

Latest Joomla! and Template Creator CK used, and no other plugins except JCE
by Boradan

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic print/email icon dropdown issue with no bootstrap

Posted 7 years 2 months ago #39908
Hi
Please try to add this custom css
Code:
.icons .btn.dropdown-toggle { display: none; }
and tell me if all is ok
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Boradan on topic print/email icon dropdown issue with no bootstrap

Posted 7 years 2 months ago #39923
That makes the button disappear, yes.

But isn't it supposed to create the button for a dropdown menu containing 'Print', 'email' and 'edit' ?

the code generates is this:

i.gyazo.com/19d974f1be9d86555bdf1de045be767d.png

looks like it is trying to re-create a button like the Bootstrap one (cog wheel icon and caret icon) that opens out with the 'print' 'email' and 'edit' options (which is what I would LIKE it to do).

From what I remember, this is what happened in joomla prior to 3.x (when it integrated bootstrap)

Possibly, it is a conflict when you do not add bootstrap to the template (as it is in this case), yet joomla itself is integrating bootstrap.
by Boradan

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic print/email icon dropdown issue with no bootstrap

Posted 7 years 2 months ago #39929

But isn't it supposed to create the button for a dropdown menu containing 'Print', 'email' and 'edit' ?

not if you don't use bootstrap
This code is for bootstrap, if you don't want to load it, I will not emulate the same features (this has no sense for me ;) )

the source code has nothing to do with the load of the bootstrap files, it is generated by the com_content layout (which by default wants you to use bootstrap)

I manage this in css here to avoid to create a template override which would be a pain to maintain

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Boradan on topic print/email icon dropdown issue with no bootstrap

Posted 7 years 2 months ago #39932
ah, ok.
A misunderstanding from my end.

The fix you initially posted works though (button no longer being created)
by Boradan

Please Log in or Create an account to join the conversation.

Time to create page: 0.657 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1102 guests and no members online