2010-02-08, 08:07:40
(This post was last modified: 2010-02-08, 08:08:45 by SeanNieuwoudt.)
Hi all, first time posting, although I've had my eye on GetSimple for a while.
I'm developing a website for a client and was about to use my old standby CMS, but with this plugin I could possibly use GS. It's for an architect who has about forty odd projects he wants to feature, so I figured with a CustomFields plugin I could give him fields to plugin in "Project Name" "location" "Project Type", etc. for each of them
I'm trying to get this plugin working and I'm having a bit of a problem.
I can install the plugin with no problem and I see the fields boxes when I go to create a new page in the in the admin.
But nothing I do seems to let me display the info in the rendered template.
For example I created a custom field:
So in the template I put:
correct? or do I use "getCustomField"? I'm a php noob and have no idea what the difference is...
Either way though, I've done both it returns nothing on the page.
Also, do I add ALL my custom fields in the "customfields.xml" file?
And if I do this:
as per the example on your blog, the dropdown box in the page admin is blank.
And once I get this working what are the html tags for the displayed custom fields? What are the css hooks so I can style them?
And lastly is there a character limit to the "text" option? And if so, can that be changed?
Thanks for your patience with my zillion questions.
I'm developing a website for a client and was about to use my old standby CMS, but with this plugin I could possibly use GS. It's for an architect who has about forty odd projects he wants to feature, so I figured with a CustomFields plugin I could give him fields to plugin in "Project Name" "location" "Project Type", etc. for each of them
I'm trying to get this plugin working and I'm having a bit of a problem.
I can install the plugin with no problem and I see the fields boxes when I go to create a new page in the in the admin.
But nothing I do seems to let me display the info in the rendered template.
For example I created a custom field:
Code:
<item>
<desc>projectname</desc>
<label>Project Name</label>
<type>text</type>
</item>
So in the template I put:
Code:
<?php returnCustomField('projectname'); ?>
correct? or do I use "getCustomField"? I'm a php noob and have no idea what the difference is...
Either way though, I've done both it returns nothing on the page.
Also, do I add ALL my custom fields in the "customfields.xml" file?
And if I do this:
Code:
<item>
<desc>pagetype</desc>
<label>Page Type (Blog/Gallery) </label>
<type>dropdown</type>
blog
gallery
</item>
as per the example on your blog, the dropdown box in the page admin is blank.
And once I get this working what are the html tags for the displayed custom fields? What are the css hooks so I can style them?
And lastly is there a character limit to the "text" option? And if so, can that be changed?
Thanks for your patience with my zillion questions.