Archive

Archive for the ‘concrete5 for developers’ Category

typography.css in concrete5 themes

September 10th, 2009 5 comments

concrete5 recommends using additional typography.css stylesheet within a theme. I noticed that sometimes people don’t understand the purpose of the file and put there much trash, which shouldn’t be there. So what is typography.css and where it is used?
Read more…

Categories: concrete5 for developers Tags:

Showing recently edited pages

July 11th, 2009 No comments

Some developers may need to show the list of pages that were the most recently updated in concrete5. This code snippet should help you doing this or similar tasks.

So, open the file of your concrete5 theme and add the code snippet specified below. Or you can create a block with such code. Or just simply wait till we release such block the next week or so.;-)

Read more…

Categories: concrete5 for developers Tags:

Making concrete5 closer to w3c standards

April 13th, 2009 No comments

I recommend to apply the following fix in concrete5 to make the result xhtml code be more w3c compliant. As you should know, all ampersands (&) should be replaced with its html representation in hrefs, js sources, image sources, etc.:

&
Read more…

Categories: concrete5 for developers Tags:

utf-8 encoding problem in Firefox

April 10th, 2009 1 comment

Recently I faced with the following problem in Firefox 3.0.8. I prepared a website in Russian language, using concrete5 cms. I didn’t change the default encoding which was UTF-8. But what a strange behavior from Firefox: it correctly detected the encoding only from time to time. I opened the page once – the text was incorrectly displayed, refreshed the page – the text turned to be readable, refreshed more – unreadable again. Really strange, don’t you think so?

I managed to fix the problem by editing index.php in root concrete5 folder, just add the following line of code before the last line:

header("Content-Type: text/html;charset=utf-8");

Categories: concrete5 for developers Tags: