Building with concrete5

How to add Blocks to Stacks with code

My purpose is to add a block - from blocktype survey and add it to a non-global stack. What I have so far:[code] Loader::model('attribute/categories/collection'); $args['question']='Just a question'; $options=array(0=>'Yes',1=>'No'); $args['pollOp…

Add more parameters in SEO url

Hi guys, I wandering what is the fastest and best way to add more parameters in URL. The thing I need to do is I have a page which lists news items. Each item needs to be a link to a details page where you can read full text. The url needs to be .../ne…

Does anyone here use git with c5?

I've started using git but have noticed a few issues with permissions and images - I think this is maybe due to excluding the following directories: /files/cache/ /files/tmp/ Does anyone else use git with c5 and if so, what files do you exclude? A…

Stacks and Advanced Permissions

I can't figure out why a user group can't add stacks. It's like there is something wrong with the permissions. I am trying to make it where the user group can only add a stack to an area. The user group has full permissions on the stack and full permissio…

Error: Invalid Form Token

I'm working with version 5.4.2.2 and have a problem that is occurring when trying to either delete or rename ANY block within a Scrapbook. I can add a new block, I can edit the contents of a block, but I can't delete or rename them without getting this e…

How to restrict access to dashboard

When running an earlier version of c5 I was able to replace the c5 logo in the dashboard and login screen with my own logo. I was also able to restrict access to the dashboard. However, since I updated to 5.5, the logo has reverted back to the c5 logo a…

Package JavaScript / CSS includes are in "http", need it in "https"

Hi, I am making a few pages to be in "HTTPS", however Google Chrome complains that some resources on the page are not delivered securely, I found it was the ProBlog JavaScript / CSS includes ( as viewed from "View Source" ): Beginning of page [code…

RSS Displayer with Images?

How can I modify the RSS Displayer Block to also pull in image files attached to the feed that I'm parsing? This is the feed in question: http://worldnews.msnbc.msn.com/_feeds/rss2/author I want to be able to display the images attached to these ne…

Preloading Blocks

So, I am coming from another small cms with a completely different paradigm, but I am making some progress getting things sorted. One thing that I am trying to figure out is setting specific blocks on certain page types. For example, when I am addin…

Filter Posts