Developing (v7+)

Block Common Code: Where to Put?

Let's say I'm creating a block which might appear multiple times on a given page. And let's also say that there are some utility functions or classes upon which this block type relies. In a non-C5 environment, I'd just include the common code once near th…

problem with "plain yogurt" theme

i can't get the header to change in the plain yogurt theme. it seems other people have had a problem with this in the past. why hasn't concrete5 fixed this? i just simply want to alter the name in the header or delete it all together. all the other themes…

override richtext editor size

I'd like to use something like this: [code] Loader::element('editor_init'); Loader::element('editor_config', array('textEditorHeight'=>'320')); Loader::element('editor_controls', array('mode'=>'full')); [/code] to initialize tinymce with a sp…

How to activate first sub-nav item on parent activation?

Let's say as example there is a main navigation with pages: mainA, mainB, mainC mainB has sub pages - sub1 - sub2 - sub3 What I want is to have sub1 page automatically "active" when mainB is clicked. (So basically there is no overview pag…

Pop-up block not working

Hi, I installed a pop-up block but somehow its not working. When I click the link with popupLink class it shows black background and loader.... and nothing else happens. Any idea? Thanks!

Access File info in attribute type?

I need to access the info for the current file in my attribute type controller for a custom file attribute. How do I do this? I can save and reference my own value, but I need the value to be based on certain properties for the file you are attaching it t…

Google Map in Template

Hello, all. I've created a special template in my site for Locations. I've created and assigned to that template a custom attribute fields called Address. Can anyone tell me if it's possible to: 1) hard-code into my Location template a Google Map…

Order of "Add Block" list

I did some searching on the forums...I hope I'm not repeating something that's been covered before. Is it possible to customize the order of the "Add Block" list the user sees when choosing a block type to add to a page? And is it possible to control w…

Filter Posts