Keyword

Bootstrap and K2 Modals Conflict

  • Sandra Currey
  • Sandra Currey's Avatar Topic Author
  • Offline
  • Junior Member
  • Namaste
More
9 years 1 week ago #143237 by Sandra Currey
Bootstrap and K2 Modals Conflict was created by Sandra Currey
Hi,

I have been waiting for K2 Version 3 to solve a conflict between K2 modals and the bootstrap template I am using (Joostrap Pressmag). Since it seems indefinite time before version 3 will be delivered, and in the meantime I don't want to upgrade my K2 beyond 2.6.8 as I will have to redo the changes I needed to allow front-end editing to work (due to conflict with "Modals").

Would using a JoomlaWorks template instead ensure there is no conflict?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 week ago #143243 by Krikor Boghossian
Replied by Krikor Boghossian on topic Bootstrap and K2 Modals Conflict
Yes we are not using Bootstrap in our templates.
Also to be honest the issue should be resolved by the template's developer.

Also if you use overrides you will not have an issue during the updates.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 1 week ago #143268 by Joe Campbell
Replied by Joe Campbell on topic Bootstrap and K2 Modals Conflict
Hi Sandra,

Use NoNumber ReReplacer to remove the modal code produced by K2.

I hope this helps,

Joe Campbell

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 days ago #143310 by Krikor Boghossian
Replied by Krikor Boghossian on topic Bootstrap and K2 Modals Conflict
I think it is the other way around.
These classes are needed in Sandra's case for front-end editing.
A CSS solution (there are several posted in the forum) would be much more preferable.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
9 years 4 days ago #143381 by Joe Campbell
Replied by Joe Campbell on topic Bootstrap and K2 Modals Conflict
Hi Sandra & Krikor,

I did not consider front-end editing. In that case, you could still use NoNumber ReRplacer (Pro Version) and utilize the Publishing Assignments "User" parameter. This will enable you to execute the search & replace for only non-registered users or exclude it for groups or even specific user(s).

Use the following for your search:
jQuery(function($) {
			SqueezeBox.initialize({});
			SqueezeBox.assign($('a.modal').get(), {
				parse: 'rel'
			});
		});

and replace it with nothing (blank replace field)

Here is another post on the modal conflict:
www.joomlaworks.net/forum/k2-en/36210-solved-striping-off-javascript-declaration

I hope this helps,

Joe Campbell

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


Powered by Kunena Forum