Topic: Addition Fields Visibility

Suggestion for next version of cute news version http://cutephp.com/forum/style_emoticons/default/smile.gif

Additional fields should be visible at all times so when you go on the add news page you can see them straight away without having to click 'More fields...'

See attached image to see the section I am talking about.

Thanks,
James.

2 (edited by 2012-12-03 15:07:20)

Re: Addition Fields Visibility

Suggestion for next version of cute news version http://cutephp.com/forum/style_emoticons/default/smile.gif

Additional fields should be visible at all times so when you go on the add news page you can see them straight away without having to click 'More fields...'

See attached image to see the section I am talking about.

Thanks,
James.


You can mod the addnews template like I did James:

                [url=#]More fields...[/url]
            <div id="add_flds_collapse" style="display: none;">
                    <p><table class="panel">
                    {foreach from=xfields}
                        <tr>
                            <td>{$xfields.1}</td>
                            <td><input tabindex=2 type=text size="42" value="{$xfields.3}" name="{$xfields.0}" >   <span style="font-size:7pt">{$xfields.2}</span></td>
                        </tr>
                    {/foreach}
                </table></p>
                </div>

Becomes:

                
                    <p><table class="panel">
                    {foreach from=xfields}
                        <tr>
                            <td>{$xfields.1}</td>
                            <td><input tabindex=2 type=text size="42" value="{$xfields.3}" name="{$xfields.0}" >   <span style="font-size:7pt">{$xfields.2}</span></td>
                        </tr>
                    {/foreach}
                </table></p>

Be sure to make a backup first.