Building with concrete5

setAttribute thumbnail programmatically

Hi, I'm trying to set a thumbnail attribute programmatically. I have the attribute setup for the page - 'thumbnail' and I have the image uploaded into the filemanager and I know the ID of the image (in this case '235')... I'm thinking that it's somethi…

Filter images in a gallery (5.7)

My site will have a gallery of photos that the user ideally will be able to filter between several attributes, i.e. "width", "depth" and other attributes, with multiple options able to be chosen. Something like this: http://www.produnkhoops.com/photos/…

adding a user attribute programmatically

Hi everyone, I am trying to add a user attribute programmatically but i cant seem to find the solution in the documentation. If someone could please help me out that would be great :) Gr

adding a user attribute programmatically

Hi everyone, I am trying to add a user attribute programmatically but i cant seem to find the solution in the documentation. If someone could please help me out that would be great :) Gr

2 single pages with identical code, but one doesn't work...

Hi there, this one is really puzzling me... I have made 2 'single pages' called 'storesearch' and 'stores'. Both have identical code (as storesearch was initially a test page) and both have controllers (which are named properly and have the correct rel…

Page Types within Packages and Wrapping

I've built an extension in Concrete 5.6.x and make use of a page type within. When rendering, this page type's content is wrapped with the theme's view.php in much the same way as a single page is. Can anyone guide me as to why this is happening (as…

Package development with Vendor resources

Hi all I'm new to C5 and wanting to create a new Auth Type which I've selected Spotify with it being a service not included in the current C5 version, although the OAuth vendor library from 'Lusitanian' is :) One of the classes I think I need to cre…

setting up a controller for a page type (5.6)

Hi, I'm trying to setup a controller for a 'page type'. I have tried to follow the instruction here: http://documentation.concrete5.org/developers/working-with-pages/controllers-for-page-types but it will not work... My page type is 'event_page' and…

Block save function attaching itself to any button in form???

I'm building a block similar to the concrete5 image slider. I'm using underscore.js to make the template for each item. Whats interesting is when I use on any items inside the text/template html, C5 automatically binds the controllers save function to …

Filter Posts