Hi,
I didn“t find a way how to do disable / enable the page quickly, so I started using that:
$command= `sed "s/'disabled' => '0',/'disabled' => '1',/g" /path/to/admin/Links/Config/Data.pm > /path/to/admin/Links/Config/tmp`;
$command= `mv /path/to/admin/Links/Config/tmp /path/to/admin/Links/Config/Data.pm`;
#enable
$command= `sed "s/'disabled' => '1',/'disabled' => '0',/g" /path/to/admin/Links/Config/Data.pm > /path/to/admin/Links/Config/tmp`;
$command= `mv /path/to/admin/Links/Config/tmp /path/to/admin/Links/Config/Data.pm`;
It would be probably easier to approach this with a code snippet from the Links System itself, but this was quick and dirty and maybe useful for somebody.
Regards
N || I || K || O
I didn“t find a way how to do disable / enable the page quickly, so I started using that:
Code:
#disable $command= `sed "s/'disabled' => '0',/'disabled' => '1',/g" /path/to/admin/Links/Config/Data.pm > /path/to/admin/Links/Config/tmp`;
$command= `mv /path/to/admin/Links/Config/tmp /path/to/admin/Links/Config/Data.pm`;
#enable
$command= `sed "s/'disabled' => '1',/'disabled' => '0',/g" /path/to/admin/Links/Config/Data.pm > /path/to/admin/Links/Config/tmp`;
$command= `mv /path/to/admin/Links/Config/tmp /path/to/admin/Links/Config/Data.pm`;
It would be probably easier to approach this with a code snippet from the Links System itself, but this was quick and dirty and maybe useful for somebody.
Regards
N || I || K || O