Custom php breakouts
Permalink
Ok so I discovered Concrete .. fantastic. Ive been through the mill with Joomla and drupal. I am so impressed with this CMS.
I need some custom php blocks to do some very specific things based on the page I'm on and perhaps the user that is logged in .
How can I say call up the current page title and the current user variables.
Is there some way to do a print_r($what goes in here);
do I need to do a traditional call to the database to obtain these.
If you can answer these questions I think you would accelerate development work ... Put em under Development FAQ
I need some custom php blocks to do some very specific things based on the page I'm on and perhaps the user that is logged in .
How can I say call up the current page title and the current user variables.
Is there some way to do a print_r($what goes in here);
do I need to do a traditional call to the database to obtain these.
If you can answer these questions I think you would accelerate development work ... Put em under Development FAQ
Thanks Jon , great answer. In fact you beat me to the post on the two links as I found those very two after doing more searching .
I'll try out the firePHP cool!
I am really interested in improvement in the document structure. It really needs like you say a development faq for each section and if possible very simple real world examples of the implementation.
As far as I can see a lot of new plugins could be born from people writing their own style of php solutions - then converting them to concrete plug-ins.
Therefore the marketing angle to get good development activity is to have simple simple simple examples of use with regular php code - not because they are novice code writers , but because it leads them to the right place to get started.
..Sorry I'm going on a bit ... thanks for the reply
I'll try out the firePHP cool!
I am really interested in improvement in the document structure. It really needs like you say a development faq for each section and if possible very simple real world examples of the implementation.
As far as I can see a lot of new plugins could be born from people writing their own style of php solutions - then converting them to concrete plug-ins.
Therefore the marketing angle to get good development activity is to have simple simple simple examples of use with regular php code - not because they are novice code writers , but because it leads them to the right place to get started.
..Sorry I'm going on a bit ... thanks for the reply
Hi. I have a question about the Concrete5 difference between the words developer and designer. When someone tries to do the the Concrete5 tutorials, they have the options of choosing between editor, designer, and developer. I want to quickly, quickly put together some Concrete5 websites.
What is the difference between the developer tutorials and the designer tutorials?
Thanks for helping!
What is the difference between the developer tutorials and the designer tutorials?
Thanks for helping!
Current page information:
http://www.concrete5.org/documentation/developers/pages/overview...
User information:
http://www.concrete5.org/documentation/developers/permissions/users...
You can always use print_r or var_dump, but alternatively, have a look at the logging:
http://www.concrete5.org/documentation/developers/system/logging...
Also, search the forums for FirePHP. I uploaded a helper somewhere that allows you to out variable etc into the firebug console which is sooo useful! I use it all the time.
All these pages and more under "Documentation" -> "Developers Guide" (Top right of this screen)
Hope that helps :)
Jon