Hide second options checkbox

View: New views
9 Messages — Rating Filter:   Alert me  

Hide second options checkbox

by Felix Oertel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I'm looking for a way to hide the second options checkbox. I configured
localconf.php to allways display the second palette so the checkbox is
obsolet.

I found some discussions about not to display the checkbox if the second
palette is empty, but as I can see it never made it to the core.

I read t3lib_tceforms.php but I think it's not in there and the file is
kind of not that well commented. ;)

Does anyone have a hint for me?

Regards, Felix
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Felix Oertel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi again :)

Felix Oertel schrieb:
> I'm looking for a way to hide the second options checkbox.

Just let functionMenus() in typo3/alt_doc.php return NULL.

Is there a config-way to do it? I feel kind of bad to hack corefiles for
this. ;)

Regards, Felix
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Steffen Gebert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 06 Oct 2009 08:27:58 +0200, Felix Oertel <typo3@...> wrote:

> Hi again :)
>
> Felix Oertel schrieb:
>> I'm looking for a way to hide the second options checkbox.
>
> Just let functionMenus() in typo3/alt_doc.php return NULL.
>
> Is there a config-way to do it? I feel kind of bad to hack corefiles for  
> this. ;)

There was a plan to do add this config setting in 4.3, unfortunately it  
got not ready till freeze.

Steffen
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Bernhard Kraft-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Felix Oertel schrieb:
> Hi again :)
>
> Felix Oertel schrieb:
>> I'm looking for a way to hide the second options checkbox.
>
> Just let functionMenus() in typo3/alt_doc.php return NULL.
>
> Is there a config-way to do it? I feel kind of bad to hack corefiles for
> this. ;)

Since 4.2.9 (or even earlier) HTML templates get used for almost any BE
pages. So you could simply copy:

cp typo3/templates/alt_doc.html fileadmin/my_alt_doc.html

And then make a setting for example in "typo3conf/ext_tables.php" or the
ext_localconf.php or ext_tables.php of any of your own extensions:

$GLOBALS['TBE_STYLES']['htmlTemplates']['templates/alt_doc.html']='../fileadmin/my_alt_doc.html';

Then simply edit the template "my_alt_doc.html" and remove the marker:
"###COLUMNS_ONLY###"


greets,
Bernhard
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Felix Oertel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Bernhard Kraft schrieb:
> Since 4.2.9 (or even earlier) HTML templates get used for almost any BE
> pages. So you could simply copy:
>
> cp typo3/templates/alt_doc.html fileadmin/my_alt_doc.html

thanks. The customer is running 4.2.5, so I will stick to the
modification of alt_doc.php and go for the templates after I get the
customer to update. :D

Regards, Felix
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Peter Russ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Original Nachricht ---
Absender:   Bernhard Kraft
Datum:       06.10.2009 10:48:

> Felix Oertel schrieb:
>> Hi again :)
>>
>> Felix Oertel schrieb:
>>> I'm looking for a way to hide the second options checkbox.
>> Just let functionMenus() in typo3/alt_doc.php return NULL.
>>
>> Is there a config-way to do it? I feel kind of bad to hack corefiles for
>> this. ;)
>
> Since 4.2.9 (or even earlier) HTML templates get used for almost any BE
> pages. So you could simply copy:
>
> cp typo3/templates/alt_doc.html fileadmin/my_alt_doc.html
>
> And then make a setting for example in "typo3conf/ext_tables.php" or the
> ext_localconf.php or ext_tables.php of any of your own extensions:
>
> $GLOBALS['TBE_STYLES']['htmlTemplates']['templates/alt_doc.html']='../fileadmin/my_alt_doc.html';
>
> Then simply edit the template "my_alt_doc.html" and remove the marker:
> "###COLUMNS_ONLY###"

Please confirm:
as far as we were told there should be no update in features in bugfix
releases. So how does it come that this "feature" is available since 4.2.9?

Regs. Peter.

--
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Steffen Gebert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 06 Oct 2009 19:53:31 +0200, Peter Russ <peter.russ@...>  
wrote:

> Please confirm:
> as far as we were told there should be no update in features in bugfix  
> releases. So how does it come that this "feature" is available since  
> 4.2.9?

I also was really astonished reading such words by a core-developer ;-)
For sure, it wasn't introduced with 4.2.9.

Regards
Steffen
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Peter Russ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Original Nachricht ---
Absender:   Steffen Gebert
Datum:       06.10.2009 19:59:

> On Tue, 06 Oct 2009 19:53:31 +0200, Peter Russ <peter.russ@...>
> wrote:
>
>> Please confirm:
>> as far as we were told there should be no update in features in bugfix
>> releases. So how does it come that this "feature" is available since
>> 4.2.9?
>
> I also was really astonished reading such words by a core-developer ;-)
> For sure, it wasn't introduced with 4.2.9.
>
> Regards
> Steffen

Than documentation should be improved as it seems to take 9 bugfix
releases until core devs detects "new features" added by other core devs.
How should "normal" devs stay uptodate ;-)

Peter.

--
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: Hide second options checkbox

by Bernhard Kraft-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steffen Gebert schrieb:

> On Tue, 06 Oct 2009 19:53:31 +0200, Peter Russ <peter.russ@...>
> wrote:
>
>> Please confirm:
>> as far as we were told there should be no update in features in bugfix
>> releases. So how does it come that this "feature" is available since
>> 4.2.9?
>
> I also was really astonished reading such words by a core-developer ;-)
> For sure, it wasn't introduced with 4.2.9.

I wrote "since 4.2.9 (or even earlier)" ...

Which means I do/did not know exactly when this feature got introduced.
It may be that it got introduced with 4.2.0. I did not check this yesterday.

Right now I had a look at 4.2.0: The feature is there already. So it got
introduced with the 4.2 branch. I did not find the "templates/"
directory in 4.1.10


greets,
Bernhard
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev