Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

dropdownfield simple dropdown questions


Reply


2 Posts   1122 Views

Avatar
steve_nyhof

Community Member, 224 Posts

5 January 2010 at 5:51pm

Edited: 05/01/2010 6:08pm

I have search the forum for help on this and there seems to be a lot of info, however, I just don't get it.

On the main tab in the editor, I want a dropdown with 3 choices.

Default Footer
Custom Footer
No footer

In my template I will setup an IF to check which of the three where selected - Defaulted to Default Footer

I need to expand a little. I am setting up two editors on a Page Footers tab. HtmlEditorField in a PageGlobal.php file that contains my global settings.

The top editor is my default - new HtmlEditorField('MyFooter',...
The bottom editor will be the custom - new HtmlEditorField('MyCustFooter',...

The Default Footer option will use the content from the top editor, the Custom Footer will use the bottom editor. And No Footer will bypass the code in the template.

I know how to add the code to the template.

~~~

Question? What is the difference between ...

public static

OR

static

Avatar
steve_nyhof

Community Member, 224 Posts

5 January 2010 at 7:45pm

I decided to go another direction