Concrete5.7 Add PageList Block Programmatically to Page

In this tutorial for Concrete5.7 we will programmatically add a PageBlock to a C5 Page. We find this useful for packages where we have a SinglePage and we want to load an Area with a PageList block. The page can also be a regular C5 Page based on a PageTy

0 Likes

Windows IIS7 Pretty URL

If you want pretty url on windows IIS7 then you need web.config file in your server as .htaccess not working on IIS7. Replace '[' with '' create a web.config file Add to root directory enable pretty url

1 Like

How to check if you are in edit mode or not

If you are building a concrete5 addon or customising the theme. you might have to check if you are in edit mode or not. There you can use global $c; if ($c->isEditMode()) { //////Do something//////////// } else { //////Do another thing/////////

3 Likes

Process to know logged in user from block

Here is simple code to get that user has logged in to edit/dashboard from block.

3 Likes

Using tabbed panels in concrete5 5.7

How to use tabbed panels in block forms in concrete5 5.7.

2 Likes

Package Install Notes

Package install note very useful to give installations option into your package, so user can install package as they needed.

4 Likes

Global Areas for each language section

How to generate Global Areas for every locale

3 Likes

File Permission Errors: How to spot and fix these errors in Linux

File permissions are easy to spot and easy to fix. When installing or moving C5, sometimes you get permission errors.

2 Likes