What about have a option in Joomla administrator to choose TW2 or TW3?
This is very frustrating when developing themes.
I really don't care about 3rd party extensions, because they will adapt the changes if the Dev team announces this in a early stage.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
My $0.02
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4259 / Virus Database: 3697/7088 - Release Date: 02/12/14
Heads up! These docs are for v2.3.2, which is no longer officially supported.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cms+unsubscribe@googlegroups.com.
To post to this group, send an email to joomla-dev-cms@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3705/7091 - Release Date: 02/13/14
+1 on prefixing BS3 to keep BS2 compatibility and having a smooth transition.
--
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4335 / Virus Database: 3705/7102 - Release Date: 02/17/14
I personally think & agree that incorporating a switch is a great idea, via a 'quick check/lookup' in the admin.I also think that keeping BS v2.3.2 is important to allow people to transition over time and for things to be BWC.Adding the 'quick check/lookup' will give people the knowledge of what's installed/required. Then using Youjoomla's approach with both BS versions via a plugin, they then can switch to one or the other.
Is there anybody who feels that providing a 'switch' as suggested by YooJoomla and Philip is not a good idea?
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
--
I get why Joomla has done things the way it has, but I would really want to decouple the back end stuff from the front end.
Devs can forget about HTML and CSS and concentrate on providing content/data to the template.
This way there would not be any discussions about which framework to standardise on. That decision is the template designers' to make.
Back to the present...
Converting to/from BS versions could be handled by a plugin, replace bs2 class names with bs3 class names.
Replace the bs2 JS (from JUI) with bs3 JS.
Restructure the HTML where necessary (accordion, menu, etc).
Thus giving the illusion of bs3 - of course this is resource expensive, writing the output twice before rendering.
There could be plugins for any framework.
Not easy to do, but should be possible, and is a one off install.
Or override every view of every core and extention, and maintain them in line with any updates (but that's a big and ongoing undertaking).
I firmly believe that the long term goal should be to remove any style, HTML or JS from the core (and extentions) and allow the template designers full control over the site design (UI, UX, etc).
I would love to see the output to the template be JSON, with a defined structure for giving the template an idea of what the functions are...
form
Field
Label: name
Type: text
Field
Label: email
Type: email
Button
Type: submit
Entrypoint: /com_mine/form/subscribe
for example - very quick and dirty example.
Or
Article
Options
Type: xxx
Permissions: 1.0 2.1 3.0
Etc...
Content
String: "exact copy of the article content, including any images HTML, special tags, etc."
Plugins
Myplugin
TagInString: [MYPLUG]
Type:
Etc.
Meta
Author: me
Date: dd/mmm/yyyy
Etc.
Everything is still rendered server side, no need to change that, unless someone wants to do it client side if course - but that opens up a whole load of new challenges.
The specification of the format would be the hardest part, then getting all the extention devs and template designers to implement such a huge and non bc change - not to mention the core.
This does make template design and development a lot more complicated, but template frameworks could make that much simpler for new designers - or a couple of example starter templates maintained in the joomla GitHub account - along with some detailed documentation (yeah, I know).
For now though, I'd prefer plugins to rewrite the output for whatever framework you want to support.
If this has rambled a bit it's because I'm writing on my phone, so have pity :-)
Chris.
>> <mailto:joomla-dev-cms%252Bunsubscribe@googlegroups.com>>.
>> > To post to this group, send an email to
>> > joomla-...@googlegroups.com
>> <mailto:joomla-...@googlegroups.com>
>> > <mailto:joomla-...@googlegroups.com
>> <mailto:joomla-...@googlegroups.com>>.
>> > Visit this group at
>> >
>> http://groups.google.com/group/joomla-dev-cms.
>> > For more options, visit
>> > https://groups.google.com/groups/opt_out.
>> >
>> >
>> > --
>> > You received this message because you are
>> subscribed to
>> > the Google Groups "Joomla! CMS Development"
>> group.
>> > To unsubscribe from this group and stop
>> receiving emails
>> > from it, send an email to
>> > joomla-dev-cm...@googlegroups.com
>> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
>> >
>> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com
>> <mailto:joomla-dev-cms%252Bunsubscribe@googlegroups.com>>.
>> <mailto:joomla-dev-cms%252Bunsubscribe@googlegroups.com>>.
>> > To post to this group, send an email to
>> > joomla-...@googlegroups.com
>> <mailto:joomla-...@googlegroups.com>
>> > <mailto:joomla-...@googlegroups.com
>> <mailto:joomla-...@googlegroups.com>>.
>> > Visit this group at
>> http://groups.google.com/group/joomla-dev-cms.
>> > For more options, visit
>> https://groups.google.com/groups/opt_out.
>> >
>> >
>> > --
>> > You received this message because you are
>> subscribed to the Google
>> > Groups "Joomla! CMS Development" group.
>> > To unsubscribe from this group and stop receiving
>> emails from it,
>> > send an email to
>> joomla-dev-cm...@googlegroups.com
>> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com>
>> >
>> <mailto:joomla-dev-cms%2Bunsu...@googlegroups.com
>> <mailto:joomla-dev-cms%252Bunsubscribe@googlegroups.com>>.
>> <mailto:joomla-dev-cms+unsub...@googlegroups.com>.
Devs can forget about HTML and CSS and concentrate on providing content/data to the template.
I would love to see the output to the template be JSON, with a defined structure for giving the template an idea of what the functions are...
I was wondering when Twitter Bootstrap 3 will be included in Joomla. There is so much great new improvements and features in TW3, and it would be so great to have a updated version in next version of Joomla.What about have a option in Joomla administrator to choose TW2 or TW3?
if a project like joomla is able to build an entire cms and a fully fledged php framework, then it should be able to build a reliable css framework. end of story.
as it was proposed back in 2012, the only acceptable solution is to create a native joomla css framework and get independent in this key-part of the cms. that stance still stands today and anything else is irresponsible and harmful to the project. as you can see now.
Me>
Docs and demos can be done with a default template (one supplied with the CMS).
Support is a more difficult one, although first step in troubleshooting would be "is it the same in the default template?"
If no, it's your template (contact them). If yes, investigate further.
Docs for the back end would be the same as now (at least in my head) as the admin would stick with one default framework.
2.
Me>
I would love to see the output to the template be JSON, with a defined structure for giving the template an idea of what the functions are...
MB>
So, out of the box, how would the CMS work? If there is a dependency on a template actually being installed, does the CMS still ship one? Who decides how it should work (framework, JS dependencies, etc.)?
Me>
OK, I see it like this:
The CMS ships with a template, which is built using the same framework as the back end - eg bs2 at the moment.
Who decides on the framework used now? I guess the same person / people / process would do it.
---
Support from devs would be harder, no doubt, maybe the site debug option could include the actual JSON by module / component / plugin making it easier to provide support if the support request included this data.
Even if there was a debug flag for each extension that produces a log of it's output that can be included on a support request, rather than putting the whole site into debug mode.
There are plenty more issues I've not though about, along with others I have but are not relevant here.
And my thoughts are just the germ of an idea, there are other ways to decouple the content from the style / markup. Some have been proposed before, I'm sure.
Ideally the core should not add any style or HTML, just provide content and let the template handle ALL the front end stuff.I get why Joomla has done things the way it has, but I would really want to decouple the back end stuff from the front end.
Devs can forget about HTML and CSS and concentrate on providing content/data to the template
I firmly believe that the long term goal should be to remove any style, HTML or JS from the core (and extentions) and allow the template designers full control over the site design (UI, UX, etc).
I would love to see the output to the template be JSON, with a defined structure for giving the template an idea of what the functions are...
“Can I update to Bootstrap 6?”
“Sure, just update the assets and markup in the Bootstrap 5 template and we'll add the Bootstrap 6 template in the next minor release”.
“Won't that cause a BC break?”
“No. We won't make the new template the default until the next major release, Joomla 5.5.”
”Wow. Joomla Rocks!”
“It sure does Jimmy, it sure does.”
Cheers,
Victor Drover
Founder and CEO, Anything Digital LLC (BBB Accredited)
Co-founder, Watchful.li & jInbound.com
262-309-4140
Facebook: AnythingDigital | watchfulli | JInbound
Twitter: @AnythingDig | @watchfulli | @JoomlaInbound
--
I agree basically Paul if we can overcome the limitations not being upwards (!) compatible in the Bootstrap framework. Whatever way we choose that for sure is an issue which has highest priority imho
Its all well and good stating that there are "hundreds if not thousands of professional css gurus and template vendors who would love to participate." the facts are different. There is NOTHING stopping anyone contributing. The reality is that they don't.
Speaking on behalf of myself, and not the entire PLT, it would be helpful if those that are proposing solutions do so as a gist or Google Doc so that we can organise and evaluate them equally. It's honestly quite hard to pluck them out of an email thread like this. I would also hope that those proposing the potential solutions are also making a commitment to make them a reality.
I guess the process points above could be discussed and agreed to in this thread, unless there are other suggestions on how to best turn this good discussion into something clear that PLT can review.
Thanks,
paul
ie I want to change the bs2 CSS classes used to bs3 (or any framework) classes (and HTML structures, if necessary) by scanning the page output before it is displayed.
It would also swap out the default bs CSS and JS files for whichever framework is being used.
I'm thinking it's onAfterRender but I'm not sure.
I'm thinking this would be a system plugin (preferred), but it could be part of a template.
My idea is to avoid writing overrides for every component, just have one global 'override'.
How quick, resource intensive, etc. this would be is anybodies guess. It may not even be practical or usable, but I'm going to give it a go anyway - even if it doesn't work I'll learn plenty in the process.
Any constructive advice is appreciated.
Chris.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
- Move existing Bootstrap (and other) behaviours to the default template (The default Joomla:Bootstrap experience).
We don't have a responsible, or sustainable, long-term solution yet.
I think that we should try to achieve some sort of general consensus over the future direction we want to move in, with clear direction from leadership teams, before we start asking people to code-up. Sometimes a little talking can save a whole lot of unneeded, and unwelcome, code from being written.
--
What would this give us? If this happened today there would be no changes apparent to Joomla users, but it would give us a high degree of future-proofing.
It is as true as it is today. If they use a Bootstrap-powered template, made for the Joomla version in question, any Bootstrap expectant extension will continue to function as it did previously.
I think it's agood plan for 4.0.
This is Joomla 3.x component contact view https://github.com/joomla/joomla-cms/blob/staging/components/com_contact/views/contact/tmpl/default.phpMany of us that contributed to this post understand that code but an average Joomla beginner does not. It is beyond me why we have crammed 3 different layouts in 1 file.To make same files work for J2.5/J3.x I separated Plain , Tabs, Sliders in own files http://prntscr.com/2u8s48 and was forced to use pure html markup instead of JHtml::_('bootstrap. like in 3xThis way same files work on J25/3.x and again all I had to do is add additional class names . Example for sliders<div class="accordion panel-group" id="accordion2"><div class="accordion-group panel panel-default"><div class="accordion-heading panel-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">Collapsible Group Item #1</a></div><div id="collapseOne" class="accordion-body panel-collapse collapse in"><div class="accordion-inner panel-body">Anim pariatur cliche...</div></div></div></div>
I tested above markup and it works same in BS2/BS3 but I just did not like it , so at the end I made my own collapsible to make sure that future BS version would not force meto add more classes.Tabs and plain layout work out of the box.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-cm...@googlegroups.com.
To post to this group, send an email to joomla-...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-cms.
For more options, visit https://groups.google.com/groups/opt_out.
It seems to me that it would help to define a few things to help those who want PLT to consider different ideas:
- An easy way to help connect those who want to work together on a writeup/proposal for a different idea
- A common way and place for those people to work together and share their work
- A deadline to help motivate people to get this done and to give PLT confidence that they are reviewing the options that have the most support
- Maybe there are some additional points to add...
I guess the process points above could be discussed and agreed to in this thread, unless there are other suggestions on how to best turn this good discussion into something clear that PLT can review.
I have a novel idea. Let people i.e. extension devs get a download of bootstrap and take the parts they want and then develop their extensions with the class structure. Then when applying the extension give the css its own direct along with any jquery they are using. Like normal HTML extensions and plugins.
Then, I can take their code and alter it directly if I want. Once, I am done I can add that css to my custom style sheet and min it up... same with JS...
Why is this not the perfect solution? Am I crazy or something?