Archive

Author Archive

concrete5 template: lightword

July 7th, 2009 No comments

Have you been waiting for new concrete5 template? Here you get it! We are glad to introduce the next wordpress theme converted for concrete5 cms:
concrete5 template: lightword
Read more…

Categories: New concrete5 themes Tags:

introducing concrete5 theme: atahualpa

July 5th, 2009 3 comments

We are glad to introduce just another theme for concrete5 cms:
concrete5 theme: atahualpa
Read more…

Categories: New concrete5 themes Tags:

concrete5 themes updated and other news

July 2nd, 2009 No comments

Hi everyone!

We have updated our website with new design. Any comments on this are welcome.

We’ve also revised concrete5 themes and made some corrections to them. Now all the themes can be installed in the same way. No need to add specific blocks, just upload, install and activate.
Read more…

Categories: New concrete5 themes Tags:

if concrete5 causes core dump files

June 29th, 2009 No comments

Recently I noticed that sometimes concrete5 can cause core dump files generated in root concrete5 directory. The files look like core.12345 where 12345 is a process id. It seems that the problem is caused by the application getting out of memory.

You can try to resolve it by increasing memory limit for php. For example, hostgator hosting allows you to upload php.ini file with configuration directives.

You can use the following line to set memory limit to 32 megabytes (or more if you like):

memory_limit = 32M

core dump files contain the application state data only and can be safely deleted without breaking your application. If you are experienced developer or advanced unix user, you can investigate why the application had crashed with gdb utility (GNU project debugger). Use man gdb for reference on the utility usage.

For example:

gdb -c core.4010

It shows the following result:
Core was generated by `/usr/bin/php /home/user/public_html/index.php'.
Program terminated with signal 11, Segmentation fault.
[New process 4010]
#0 0x0830f8bf in ?? ()

Segmentation fault occurs when applications try to access more memory than it is allowed. So try increasing memory limit. That should help you.

Categories: concrete5 for advanced users Tags:

How to copy content block to another concrete5 website

April 16th, 2009 No comments

There could be a situation when you might need to copy some content from one concrete5-based website to another. You can try doing "Edit page" -> "Edit block", then select all and paste on the new website. It will work if you don’t have text formatting in the block, otherwise it might been copied with some format losses.
Read more…

Categories: concrete5 for dummies 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:

How to install concrete5 theme

February 1st, 2009 2 comments

This instruction describes the process of installing concrete5 themes that can be found on this website, but should work for any other themes as well.

We distribute themes in zip packages, so you will need a program to extract the files from archive. For example, you can use an open source archiver – 7-zip

Follow step-by-step instruction below:

1. Download theme from our or any other website.

2. Inside zip-archive you will find other ‘themes’ folder or a folder with theme name. You should extract and upload (if your concrete5 is hosted on remote server) the theme folder to ‘CONCRETE5/themes/’ directory, where CONCRETE5 means the root directory of your cms.

Attention: the ‘themes’ directory is empty by default. It shouldn’t confuse you. This folder is used mainly for custom themes and not for themes distributed in default concrete5 pack. There is ‘concrere/themes’ directory (this one not empty) with default concrete5 themes. You shouldn’t upload there anything unless you are going to make some changes to default theme.

Tip: most probably there would be a ‘README.txt’ file with the theme. Please check the archive for such a file, it might contain specific instructions for the theme you’re installing.

3. It’s strange, but you’re almost finished with the theme installation. Now open your dashboard and go to ‘Themes’ tab (since concrete 5.2.0 – “Themes and page types” )

If you do everything properly you will see the newly added theme in the bottom of the page. There should be an ‘Install’ button. Click it.

4. Once the theme is installed, you can choose its design for certain pages. For example, open a page, click ‘Edit this page’ and then click ‘Design’ button. You should see the theme thumbnail among available designs. If you don’t see it, the theme wasn’t installed correctly, or if there are several themes installed, you might need to scroll the selection (click the right arrow button). If you select the new design, this selection will be applied to the page.

You’ll have to select the design for each page unless you activate the theme. To activate it, you should click appropriate button in the ‘Themes’ section of the site dashboard. Note: this action will reset all previously set custom selections, i.e. all pages will be associated with the new design.

Just a reminder: Don’t forget to check ‘README.txt’ file of your theme before installing it.

Categories: concrete5 for dummies Tags:

Settting default blocks in concrete5

January 26th, 2009 No comments

When you set up a website you’ll most probably have some blocks that are repeated from page to page. There is no need to create a new block each time you add new page. It can be done through Page Types functionality of the great cms called concrete5. So, let’s say you need to have some content in the sidebar that is repeated on every page, here is what you should do to save your time:

1. Log in as admin of your concrete5 installation.
2. Open ‘Dashboard’.
3. Go to Page Types section.
4. Click on ‘Defaults’ button of the necessary page type.
5. Concrete5 will redirect you to the page where you can get into editing mode and add blocks that you want to be created on the page type pages by default.
6. You can also set default permissions the same way.
7. Once you exit editing mode and click ‘Publish changes’, default settings will be applied and every time you create a new page with that page type, it will have pre-defined set of blocks and permissions.

Categories: concrete5 for dummies Tags:

If you face with mbstring problem (cannot add blocks)

January 25th, 2009 No comments

When the problem can be reproduced. The mbstring errors can occur if you are on concrete 5.2 and do one of the following:
– add blocks in page editing mode (Fatal Error: Call to undefined function mb_detect_encoding() in);
– execute search engine index routine;
– in ‘Add functionality’ when concrete5 tries to connect marketplace;
– maybe in other cases when mbstring functions are used.

If you are on hosting. First, you should know what hosting account you have. If you are on dedicated or VDS (virtual dedicated server), then the problem can be resolved by installing mbstring extension for php, see Windows server or Unix server section below depending on what kind of server system is used on your concrete5 hosting.

If you are on shared hosting, you should check if you can edit php.ini. Run a simple script called phpinfo.php with the following code:


<?php
phpinfo();
?>

There find php.ini path (configuration file path). It’s usually not editable for you.

Create a simple php.ini file (may be even empty) and upload to your root web directory where the phpinfo.php file is. Run the phpinfo.php script again and take a look if configuration file path changed. If changed, it means you can continue trying to fix the mbstring problem. If not, you should likely to change your hosting provider or contact their support.

If you are on windows. Find the following line in php.ini


;extension=php_mbstring.dll

Remove semicolon to uncomment and try concrete5 again. Most probably you will need to download php_mbstring.dll (for your php version) and upload to extension dir.

If you are on Unix server, instruction is quiet the same but the extension will have the php_mbstring.so filename.

If you are a server admin, you can recompile php with –enable-mbstring configure option. See more details here:

http://php.net/manual/en/mbstring.installation.php

Categories: concrete5 for advanced users Tags: