Sign In  |  Cart  |  Join Now

Advanced Configuration Options

You must install Adobe Flash to view this content.

When installing concrete5, the file config/site.php is created. This contains certain settings that have to be set for the program to run. Additional constants can be defined in this file. Here are some of those options.

Enable Advanced Permissions

Concrete5's permissions out of the box allow basic website access control, but if you need more options, you should try out our advanced permissions. Advanced permissions allow any combination of users and groups to be assigned to the following:

  • Page-specific Access
  • Adding, editing, reading versions and deleting pages
  • Being able to add only specific page types to specific sections of sites
  • Area-specific control
  • Block-specific control

To enable advanced permissions, add the following line to "config/site.php":

<?php define('PERMISSIONS_MODEL', 'advanced'); ?>

Specify Valid Files for Uploading

This is now done through the Dashboard UI. Goto Dashboard > File Manager > Settings

Disable Automatic URL Redirection

By default, Concrete5 will forward any requests to your site to the specific BASE_URL you define when installing. This is for cookie/session authentication purposes. If you'd like to disable this to ensure that your site is served at multiple URLs, add this line to your site/config.php:

<?php define('REDIRECT_TO_BASE_URL', false); ?>

Specify your site's language

Once you've followed the instructions on how to download and install a concrete5 language pack, you'll have to modify config/site.php to use this language. If "de_DE" (German) is your new language, add the following to config/site.php:

<?php define('LOCALE', 'de_DE'); ?>

Change where the Help link points

<?php define('MENU_HELP_URL', 'new url');?>

Cache Engine (5.2.0 and above)

By default concrete5 (v5.2+) uses a custom PHP cache to improve performance. This can be swapped out with different implementations of the cache. Currently, only an eAccelerator-based version of the cache is available, and it's support is experimental, but you can try it by defining:

<?php define('CACHE_LIBRARY', 'eaccelerator'); ?>

Comments:

ideasponge
Posted by ideasponge on
typo in URL redirection
Fernandos
Posted by Fernandos on
What's the constant SITE for?

[code]
if (!defined('SITE')) {
Config::getOrDefine('SITE', 'concrete5');
}
[/code]
andrew
Posted by andrew on
That is your site name - which is usually set in sitewide settings. You can also define it as a define() variable.
ungeziefer
Posted by ungeziefer on
I enabled Advanced Permissions, but still can't figure out how to control permissions on a particular block.

Anyone?

Thanks in advance.

p.s.: The block is the main nav, and is part of the theme template -- don't know if that makes a difference or not...
frz
Posted by frz on
click on the block in question, in the menu you typically press "edit" from there should also be a "permissions" option now.
Posted by herbshirt on
Is it possible to restrict a Group's access right down to not even being able to see the dashboard, to only editing pages, not even being able to add a page?
frz
Posted by frz on
yes.
Posted by dmn2000 on
Frz:

Do you have an example or documentation on how to perform this task?

"Is it possible to restrict a Group's access right down to not even being able to see the dashboard, to only editing pages, not even being able to add a page?"
frz
Posted by frz on
with advanced permissions on....

goto sitemap.

check the box in the lower right " Show System Pages"

set permissions on the new pages that show up in the sitemap.

enjoy.
Posted by dmn2000 on
Frz:

Do you have an example or documentation on how to perform this task?

"Is it possible to restrict a Group's access right down to not even being able to see the dashboard, to only editing pages, not even being able to add a page?"
frz
Posted by frz on
yup
Posted by dmn2000 on
Frz:

Do you have an example or documentation on how to perform this task?

"Is it possible to restrict a Group's access right down to not even being able to see the dashboard, to only editing pages, not even being able to add a page?"
You must be logged in to leave a reply.
 
 

Hot Spots...

ForumsPartners | Contact | Blog

Search site