Setting controls color for Self registration form

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Caesonia

Setting controls color for Self registration form

Post by Caesonia »

Hi all. I was trying to adjust the color for the required fields from the default blue to a yellow or red- goes better with the site - and am not having much luck. My guess was I could do it here.

{$control->hidden}
    {if $control->color != ''}
      color}">{$control->prompt}{$control->marker}
    {else}
      {$control->prompt}{$control->marker}
    {/if}

modifying the tag {if $control->color! ='red'}, even though we are under hidden. I certainly got a change, but it changed ALL the fields to red. If I edited it back to where it was, it would show ALL the fields now as default color for the text in the site. I hd to go back to default to get the blue back.

So, obviously, while I thought I had the right idea, is didn't work as planned.

Do I need to go into the source code to do this?

or does someone else have some suggestions?

TIA.

Caesonia
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Setting controls color for Self registration form

Post by calguy1000 »

1.  {if $control->color != ''}{$control->prompt}{$control->marker}{else}{$control->prompt}{$control->marker}{/if}

2.  check the preferences tab in FEU
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Developers Discussion”