Developing (v7+)

Pretty permalinks

I have created a new page type that pulls information from a third party API. This information is initially a list, with links to further information for each item. So far I have www.mysite.com/my-new-page/ The links to the individual items are …

Overriding profile pages within a theme package

For the need of customizing the profile single pages, I'd like to know how to override the profile pages within a theme package? Rendering them within a themes' view.php is fine by adding them to config/site_theme_path.php, but I need to customize the ht…

Set Block Styles not working on single pages

I have a block in a global area. This block has a custom block design such as font size, colours, etc (the one that you set by clicking on the block and selecting Design from the menu). It works fine on all normal pages but the design does not seem to hav…

Display public date / time

Hi, I'm trying to post the public time for a calendar page I'm creating but for some reason the following doesn't seem to work: [code] $cobj = Page::getByID($cID); [/code] It shows the current time, not the public time of a page. Already foun…

Filtrify

Anyone played around with creating a C5 plugin for Filtrify? http://luis-almeida.github.io/filtrify/

Assigning A Page Design To A Page Type

Hi, First post here. I'm new to C5 and still on up side of the learning curve. Here's my issue. When assigning a page type to a page, how does Concrete5 know whether or not I have a corresponding design. I see pics of all the types and added my own pic …

Maximum quantity for a given product

Hello, Can someone please tell me how I can make sure my client's don't put more than 5 times a given product I have in my back-office ? For example, I have 2-3 products to sell. One of them must not be ordered more than 5 times within the same orde…

setDisplayMode() in custom attribute not working

Inside my package's install function, I have placed a code that installs custom page attributes. I am also trying to set the default display mode of 'textarea' attribute type to 'rich_text' but it's not working. Can someone figure out what I've done wrong…

Edit Page List Pagination

Hi, Complete noob when it comes to php. I can find my way around with guidance but am struggling to get the pagination feature of the page list block to work the way I want. The standard page list pagination has "Previous - 1 2 3 - Next" which alway…

Filter Posts