Does anyone know what the 3 parameter columns are for in the cms_content_props table?
Are these reserved for modules or can I tap into these some way and perhaps use them for compund links etc?
e.g. page=index.php?page=events&year=&month=...
Enquiring minds wanna know.
CMS page content parameters in mySQL
Re: CMS page content parameters in mySQL
They're there for content types to use... so while you could tap into them somehow, it would require some custom coding of a new module type.
I just wanted to be sure I had every possible field when I made that table.
I just wanted to be sure I had every possible field when I made that table.
-
iNSiPiD
Re: CMS page content parameters in mySQL
Ah...so I shouldn't just be whacking my own data in there then? [oops]
Could oyu give an example of how they might be used properly? I didn't come acorss any populated fields.
NB: Just so you know, the answer is yes. This means I've got my driver's licence and am now playing around under the hood.
Could oyu give an example of how they might be used properly? I didn't come acorss any populated fields.
NB: Just so you know, the answer is yes. This means I've got my driver's licence and am now playing around under the hood.
Re: CMS page content parameters in mySQL
Well, keep in mind this is only in relation to making new content types...
Say you're designing a content type like a calendar of events (yes, we have a module for this, but I was trying to think of a weird example). Anyhoo, instead of having to save all of your data with cryptic names like 2005_05_10_14_33, you can put the date in param1, the time in param2, etc. It's for instances where the properties of a content type might have more than one primary key, basically.
Say you're designing a content type like a calendar of events (yes, we have a module for this, but I was trying to think of a weird example). Anyhoo, instead of having to save all of your data with cryptic names like 2005_05_10_14_33, you can put the date in param1, the time in param2, etc. It's for instances where the properties of a content type might have more than one primary key, basically.
-
superkat
Re: CMS page content parameters in mySQL
Is there any documentation or examples for making new content types??
Re: CMS page content parameters in mySQL
There is no documentation, unfortunately. However, looking at lib/contenttypes/Content.inc.php should shed some light on what's involved.

