Developing (v7+)

Way to show an entire scrapbook?

I'm guessing there is a simple way to do this, so please be gentle! I want to display an entire scrapbook on a page, without adding it block-by-block. eg Scrapbook1 contains Block1 and Block2 On a page I add Scrapbook1 (perhaps with code in the pag…

Load Page Selector with Search as the default tab

Can anyone point me in the direction of modifying the Page selector I would like it to list pages only below a certain page, and when you click select page it loads up by default on the search tab so that they can be displayed in alphabetical order. …

File block, add file size

Hi I have added some PDF downloads to a clients site using the File block, they are now asking if its possible to add the file size to the download link. Anybody know any code that I can add to make this work. Thanks.

Add dashboard single_page under "Add Functionality"?

I'm building a package and trying to install a dashboard single_page underneath the "Add Functionality" section (which has a path of "/install/"). For some reason, it's not working -- my page doesn't show up in the sub-tabs of the "Add Functionality" dash…

autonav refactoring

Hi there, I'm really enjoying getting in to concrete5 and am starting to customise autonav somewhat (using templates at this point). After digging into it a bit I'm finding that they rapidly become quite if/else-y and somewhat hard to decipher. My ba…

view.js and view.css loading twice

I have a Custom Block in development. For some reason the view.js and the view.css are loading twice into the head of the page! Using version 5.4.1.1 Any thoughts? Thank you Garry

Adding javascript, how to and best practices?

Hi I spent several hours yesterday trying to power up my c5 theme with javascript and eventually got it working but I know the way I've added my code is bad practice. I was trying to call jquery.scrollTo.js which I know is in the core c5 installat…

Collection Add

Hi, I want to make a modification to collection_add.php, I need to add some things after the new page type is selected. So once the user clicks on the page type I want to be able to do: If New Page Type = "full" do something or if New Page Type…

Resizing images upload via a form

I have tried suggestions regarding resizing images on the fly and have had no success. Can anyone help me intercept a file/image uploaded by a user in a form, resize to a specific width (say 600px) and then save. I know FRZ promised a revamp of the fi…

Grouping user attributes on register/edit pages

I'm wondering if there is a relatively easy way to group user attributes in the register and edit profile forms, kind of like fieldsets. A current project will have *lots* of user attributes, and being able to organize them visually would be a big help. …

Filter Posts