Developing (v7+)

Custom page type, attributes, template but no inline editing.

I have made a custom "Product" Page Type with 5-6 custom attributes (photo,pdf file, category, etc.), a themes/base/product.php template where I print out all my custom attributes. Now in edit mode i can't inline edit the "Product" attributes, the only wa…

Call Block method directly.

Hey everyone, So here's what I got. I have a block (yes it's enabled) and within the controller I have this: [code] class MysuperblockBlockController extends BlockController { // .... typical block stuff public function view_layout($id){ …

Making a textarea, TinyMCE

I have a number of textarea's that I would like to convert to WYSIWYG editors. Can anyone tell me how to do this the C5 way? and anything I may need to strip when saving back to the db?, I have taken a quick look in the content block but I think tha…

Supersized slideshow background

Hi Everyone and all the best for the new year! I'm hoping someone will have done this in the past or know of a way to utilise Supersized (http://www.buildinternet.com/project/supersized/) as the background and main content of a site I am putting togeth…

Page Owner

is there a php snippet to display the page owner? ive looked on the cheatsheet, but didn't find anything.

Auto-Nav: Display Pages Beneath ...

I'm embedding the Auto-Nav directly into a template, and want it to only display pages under a specific page (e.g. - Articles) – how do I specify that? Here is my code: [code] [/code]

Adding a jQuery plugin to a block

I'm working on my first add-on, trying to include a jQuery plug-in with the package. I can't get C5 to recognize & load the .js file. This is a relatively simple template to modify the search block. The jQuery file is stored in the root folder of the p…

Rename Page Type Error

I added a page type to my theme with a rather long name. I assigned the design to 4 pages. ** I then renamed the page type. After renaming the page type, I can no longer see ANY of the pages in a page-list block! I have tried to: - add the p…

form/date_time helper datepicker dateformat issue

There is an issue with the core C5 form/date_time.php helper in that when it creates a JQuery datepicker it doesn't pass the dateFormat to match the C5 format set in site.php. I think this is something that requires a core fix as helpers cannot be overrid…

Filter Posts