Hi,
We were used to having a stylesheet where to insert the standard paragraph template, logo (w/ link), topgraphic (w/ link) and the end client could always change some text/title colors and sizes. The good thing about this is that it also showed up in paragraph editing.
Using the new method, do we loose all of these features? It looks like we have to duplicate the css so the end client has a "feel" of what the content is going to be like.
Another question is regarding the html head and Google API includes. We ussually create a javascript file where we put everything we need and load it after the jQuery library. To do this using Designs and Layouts, I have to inlude my script in the html's body, because if it's in the head it's always loaded before the Google API includes. Is there a way to change this?
One last question. Is there a way to activate the Google API includes per language/layer? We already have other websites in a particular solution, and would like to control them individually.
Best Regards,
Nuno
Developer forum
E-mail notifications
Designs and Layouts - stylesheets
Posted on 24/08/2010 11:35:03
Replies
Nicolai Høeg Pedersen
Posted on 24/08/2010 12:32:00
A replacement for the images set on the old stylesheet will be available with the next release. Something like <img src="default.jpg" class="dwimage"> in the template will result in a selectbox on the pages properties.
Fonts etc in the editor will also be solved by loading a specific .css file from the folder where the layout is situated. Still working on a solution, but it will not inlcude a admin interface where editors can change fonts as in the old approach.
I see the issue with the Google JS includes. I'll have the feature changed so they will load before any other JS includes.
Google API includes can only be activated for the entire solution. I see the point though.
BR Nicolai
Fonts etc in the editor will also be solved by loading a specific .css file from the folder where the layout is situated. Still working on a solution, but it will not inlcude a admin interface where editors can change fonts as in the old approach.
I see the issue with the Google JS includes. I'll have the feature changed so they will load before any other JS includes.
Google API includes can only be activated for the entire solution. I see the point though.
BR Nicolai
Posted on 24/08/2010 18:40:44
Hi Nicolai,
Here's a suggestion, have the paragraph load the css in the template. This way the end client could at least see the best approximation of the end result and the implementator did not have to do things twice.
A "problem" is usually the paragraph background-color. Maybe a "reserved" css class would allow us to easilly control it.
Having something like class="dwimage" result in a select box is great. Since you are planning to have some sort of code like that, let me just leave one more suggestion. It's common for us to variables page based. We have to use javascript arrays and check if the TopPageID = X. Would be nice if some tag would result in a textbox in the page properties.
As for the Google JS per language/layer, maybe in the future, you could have a checkbox in the language/layer to enable/disable standard Google JS lybraries definitions.
Best Regards,
Nuno
Here's a suggestion, have the paragraph load the css in the template. This way the end client could at least see the best approximation of the end result and the implementator did not have to do things twice.
A "problem" is usually the paragraph background-color. Maybe a "reserved" css class would allow us to easilly control it.
Having something like class="dwimage" result in a select box is great. Since you are planning to have some sort of code like that, let me just leave one more suggestion. It's common for us to variables page based. We have to use javascript arrays and check if the TopPageID = X. Would be nice if some tag would result in a textbox in the page properties.
As for the Google JS per language/layer, maybe in the future, you could have a checkbox in the language/layer to enable/disable standard Google JS lybraries definitions.
Best Regards,
Nuno
You must be logged in to post in the forum