Hi All,
I was just wondering about the add-ons and their templates files and was wondering what everyone else's thoughts on them are.
I am of the opinion that they are not needed as everything is set in the CB template and the whole style should be the same for all add ons.
Taking for example the tabs on CB profiles:
The joomla template has the css being used across the site.
CB then sets its own tab styles so you have to a new template in CB.
But then each addon sets its own style so you have to have a template for each addon.
While I am sure some people use the templates so each addons tab has a different style, could I make a suggest that the default template should not set any font or background stuff. And that each tab should use a standard class name.
What I mean is the articles addon uses (.cbArticles .articlesHeader ) but the forum addon uses (.cbForums .forumsHeader) with them containing the same style declaration. This is the same for the rest of the styles.
My suggestion would be just have a standard name for all elements that all plugin developers should stick to when creating plugins for CB.
Thus reducing HTTP requests for what is essentially duplicate styles and images.
And with the images being individual files rather than all in one there is lots of requests going on per page load. Even if things get cached.
Just my opinion though.
Kind Regards
Mike