Page 1 of 1
Change bootstrap-responsive.min.css path
Posted: 13 Nov 2013, 13:41
by 01Kuzma
Hi!
I wonder where is the bootstrap-responsive.min.css path could be changed?
Why I need it?
Because guestbook 3.0 uses the TB 2.x version and mine template is designed for TB 3. I would like to point to the bootstrap-responsive.min.css third version.
Thank you!
Re: Change bootstrap-responsive.min.css path
Posted: 13 Nov 2013, 17:09
by Jan
Hi, Phoca Guestbook does not have own bootstrap library, it is taken from template. (I am planning to add there some additonal clause to load own bootstrap in case the template does not have any - e.g. not bootstrap template - but this is independent to your problem, you need to find the library in the template)
Jan
Re: Change bootstrap-responsive.min.css path
Posted: 13 Nov 2013, 18:42
by 01Kuzma
Jan wrote:Hi, Phoca Guestbook does not have own bootstrap library, it is taken from template. (I am planning to add there some additonal clause to load own bootstrap in case the template does not have any - e.g. not bootstrap template - but this is independent to your problem, you need to find the library in the template)
Jan
Hi!
Yes, I understand. But if I will replace the bootstrap library which loads from ''media/jui/css/" the backend of page will fail. Already tried this

Another problem, that old (2.x) library and new one (3.1) now have conflicts in the style

Should wait for you feature

Re: Change bootstrap-responsive.min.css path
Posted: 14 Nov 2013, 18:50
by Jan
Hmm, then I think, this should be a question on Joomla!.org forum

Re: Change bootstrap-responsive.min.css path
Posted: 14 Nov 2013, 19:42
by 01Kuzma
Native support of TB 3.x by Joomla won't be made in nearest future
Or it would be better to build a TB 3.x support by PhocaGallery
Re: Change bootstrap-responsive.min.css path
Posted: 15 Nov 2013, 14:24
by 01Kuzma
Yes, I forgot to mention that, for example nav-pills are collapsing with simultaneously loaded two libraries: 2 and 3-rd version.
So, I think it would be great to have an option to change the Guestbook/Gallerie options to have possibility to load TB2 or TB 3 version
Update: If you will make a Twitter Bootstrap 3 support as I see it should done in this way:
Ability to choose TB 2 or 3, in this case div classes should be automatically changed to chosen bootstrap's version.
And option to turn off the TB loading at all, because this library could be already loaded with custom joomla's template.
Re: Change bootstrap-responsive.min.css path
Posted: 25 Nov 2013, 20:01
by 01Kuzma
Hi!
here you can see how Third bootstrap's version is conflicting with existent second version's class names

P.S. it's 3.0.1 version with turned off bootstrap's second version
Re: Change bootstrap-responsive.min.css path
Posted: 27 Nov 2013, 19:30
by Jan
Hi, see following screenshot, there are 3 views:
1) bootstrap 2 and bootstrap 3 loaded together
2) bootstrap 2 loaded (by protostar)
3) bootstrap 3 loaded by Phoca Gweld (bootstrap 3 template)
I don't know if your template runs some plugin but e.g. Phoca Gweld is running a system plugin which translates some bootstrap 2 parts to bootstrap 3 (why? because Joomla! still producing bootstrap 2 code so such needs to be transformed - e.g. by plugin or by MVC)
As there is only one output in Phoca Guestbook - and standard is bootstrap 2 - if you template is running bootstrap 3, it needs to override the output by MVC or with help of system plugin (unfortunately bootstrap 3 and bootstrap 2 are different and it is not possible to set bootstrap 3 and bootstrap 2 html together as there will be some conflicts)
So, e.g. as written, Phoca Gweld (bootstrap 3 template) uses system plugin which translate some parts to bootstrap 3 (this then allows normal displaying of the Phoca Guestbook in bootstrap 3 template)
So I think, if your template does not use system plugin, then there needs to be add MVC part to overwrite the component output to be ready for bootstrap 3 (as for now the Joomla!'s priority is bootstrap 2)
Jan