Developing (v7+)

5.4 Block Edit Problem?

As of version 5.4, when the new AJAX block update approach was implemented, any embedded JavaScript within a block's view doesn't seem to get executed, whereas it did in 5.3.x. I have some embedded JS within my block's view.php which uses "document.wri…

Description page attribute

I noticed that when you have multiple paragraphs or line breaks in a page description attribute it doesn't preserve any of the formatting when used with the page list (its just one giant paragraph). Is it possible to have the description use some paragra…

Description page attribute

I noticed that when you have multiple paragraphs or line breaks in a page description attribute it doesn't preserve any of the formatting when used with the page list (its just one giant paragraph). Is it possible to have the description use some paragra…

Adding a view to the RSS block.

I would like to add a view to the RSS block that comes with C5. It seems like this would be an easy task with the MVC architecture. What I want to do is create a second view that strips out the date and all the and displays the links as unordered list…

Access another table from a block

Hi ! I need for a block a 2nd table to access, so I have 2 tables in the db.xml and this works fine. But.... How can I access the second table with ADODB_Active_Record? The standard block table works fine (add, delete block, and so one). From…

5.4.0RC1 File Set Custom Permission Oddity

Go to the file manager, create a new file set, edit the file set and check the box to set custom permissions. A group with a blank name shows up at the top of the list of groups.

5.4.0RC1 block permission bug

From an administrator account, I added testgroup to the permissions for a page. I went to a block in an area and removed testgroup from the permissions. I went back to the block permissions, and it has this message at the top. "Permissions for this blo…

Autonav: don’t show home link on home page?

I haven’t found anything covering this so I’m gonna start a new thread: Is there any way do exclude the home page link from the home page ONLY? I know I could do this with CSS but that’s not an option as it would mess with the styling of the menu (I’m …

How do the new site_whatever files work?

I have seen several references in the documentation to new site_ files, such as site_db.xml. How do these files differ from the regular site files? How do they interact with core files? What files can be site_ files? Any pointers to additional documentati…

5.4 Bugfix - Areas from foriegn pages w/ Layouts

I use something like [code] $home = $Page::getByID(HOME_CID); $a->Display($home); [/code] This is great for displaying content that's consistent across multiple pages _and_ multiple page types, as well as keeping those areas from going into edit …

Filter Posts