Developing (v7+)

Package/Application Documentation

Hello Community! Due to the lack of documentation for the Package/Application system in C5 I decided to dig (took most of the day!) into the C5 code and get it sorted out. I think this is crucial and important feature to add large scale functionality to …

How do I contribute

I'm a php developer and have contributed to open-source for quite a while now. I would like to be able to contribute to c5 (patches, new features, etc), but I don't see any type of developers only forum/list or even a public svn/cvs repository. How do …

Block Documentation

Hello All, Too my utmost annoyance I have noticed that the documentation for the C5 block system is lacking if present at all. Is there currently anyone who is working on this? I am in the process of evaluating C5 for a large scale project and this seem…

Getting currently selected theme from a Block Controller or View

Hi, I am working on a few blocks and I needed to read some data from a XML file that I have in my currently selected theme. Of course I can hard code this path in, and I guess I could parse the directory and put in a drop-down box of the theme that is cu…

URL parameters

using the view's "action" function, is there a way to provide the friendly url. So instead of rendering [code]index.php?cID=33&bID=34&arHandle=Main&btask=passthru&method=removeEntry&entryID=1[/code], and related, is there a way to retrieve the parameters…

Assist with a helper

Being a php, then fairly long time ColdFusion programmer, and now finding myself back in PHP, I really liked the cfdump function in cf. This fellow: http://dbug.ospinto.com/ has written the equivalent in php, and I've pasted his code into a file in /my…

Retrieve posted date

From inside a theme, how can I use getVersionDateCreated() to retrieve the date of the page? Thanks... I'm loving this CMS!

NavMenu - set class via getCollectionName()

I'm trying to configure a nav menu and need to set the active menu hilite based upon current page. Any coders out there who could help? I need to figure out the If statement to do this. Here's sample of two items. I need the "current" class set depen…

domain independent setup?

my running c5 installation should react on 3 Domains (co-domains) all pointing to the same root. My root contains a script realising a domain sensitive redirect with header('Location: http://www.domain1.com/ab/'); What I need is that C5 keeps the requ…

Block->getBlockCollectionObject()

After adding a new block, I tried fetching the collection path off the current block object, but with no success. All that what was sent back to the browser, was an collection object with the attribute error=10 and the version object. In the block's sav…

Filter Posts