Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# itamar82 9/8/2008 9:55 PM
Hi,

I was hoping someone could assist me by explaining how to develop a custom template. I have read the Template Development Guide however this is for very simple template modifications... only 4 placeholders... not enough in my requirements.

As far as I understand, to create more complex templates, I would have to write a class that inherits from BaseTemplate, but supports more placeholders for example...

Is this correct? Adding new placeholder's using BaseTemplate is futile since Cuyahoga will not recognize them.

Is there a recommended design or strategy for complex template development?
# martijnb 9/9/2008 10:33 AM
I don't know exactly what you're meaning, but you can add an infinite amount of placeholders in a template that inherits from BaseTemplate. These placeholders are automatically recognized in the page admin. In the past I've built templates with 15 placeholders without issues.
# itamar82 9/9/2008 4:32 PM
Ok, because I was having problems with this last night. I guess I have an error. I'll check tonight.

I appreciate your prompt reply, thanks a lot for this great CMS.