free Devart concrete5 theme released

January 27th, 2009 No comments

screenshot

New wordpress theme converted for concrete5. This theme has about 25,000 downloads among wordpress users.

Specifications: 2 columns, fixed width

To install the theme, follow instructions specified in README.txt file inside ‘themes/devart’ directory.

You can download the devart theme here:  http://www.smartwebprojects.net/concrete5-design/devart-theme/

Categories: New concrete5 themes 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:

How to use logo instead of site name

January 25th, 2009 4 comments

If you want to have a logo instead of  Site name in the header of your pages, do the following:

1. Locate the directory of your theme. For default (Plain Yogurt) theme it is /concrete/themes/default/

2. Upload your logo (for example, logo.jpg) to the images directory inside your theme directory.

3. Find the template header.php file at the directory with the theme you are using.

For example, header.php for default (Plain Yogurt) theme can be found in /concrete/themes/default/elements/

4. Open the file and find the code:

<h1 id="logo">
<a href="<?php echo DIR_REL?>/">
<?php echo SITE?></a></h1>

5.  REPLACE

<?php echo SITE?>

WITH

<img src="<?php echo $this->getThemePath()?>/images/logo.jpg" alt="logo" />

Of course, images/logo.jpg must be the filepath for the logo you upload at step number 2.

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:

Adding external link in navigation

January 24th, 2009 No comments

If you want to have an external link (the link that points outside of your concrete5 cms) in navigation menu and in the sitemap structure, you can do it the following way:

1. Log in as admin.
2. Go to Dashboard.
3. Click on the page you would like to be the parent of your external link (for example, you can add external link to homepage or to `About` page), so in the sitemap structure the external link will be shown as a child of this parent.
4. In the popup menu click ‘Add External Link’.
5. Fill the URL of your link and its title (name).
6. Click ‘Add’.

The link will appear in your sitemap structure and in the Auto-Nav (automatically generated navigatio) block.

Categories: concrete5 for dummies Tags: