coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: yakand on May 14, 2006, 03:40:25 AM

Title: How do I hide ligin/logout button
Post by: yakand on May 14, 2006, 03:40:25 AM
I read an old post answered by GauGau about hiding the login/logout button by changing the line <!-- BEGIN login --> in the theme.php. The trouble is I can not find this code-line in my theme in CPG1.4.5. Can anyone help?
Title: Re: How do I hide ligin/logout button
Post by: Paver on May 14, 2006, 04:14:09 AM
If you went to post this message on the correct board, you might have seen the other threads which ask the same question.  The correct board is the themes board (http://forum.coppermine-gallery.net/index.php?board=51.0), of course.  Here's one thread (http://forum.coppermine-gallery.net/index.php?topic=31373.0) from two days ago that might help.

There's also a plugin to remove blocks on the plugins board that would do the same thing, called Final_Extract (http://forum.coppermine-gallery.net/index.php?topic=26893.0).  It would effectively remove the <!-- BEGIN login --> block that you mentioned.

You can also remove that block just the same as in 1.3 if you are using a theme that defines the SYS_MENU using straight HTML.  Most of the themes (besides classic) in 1.4 use the straight HTML approach and you'll see the <!-- BEGIN login --> block as before.
Title: Re: How do I hide ligin/logout button
Post by: yakand on May 14, 2006, 04:37:03 AM
Thank you Paver. Final_Extract did the job.
Title: Re: How do I hide ligin/logout button
Post by: Paver on May 14, 2006, 04:50:02 AM
You're welcome.  As I was typing the first answer, I realized that I didn't mention the plugin in the other thread, so figured I'd say that here.  I'm glad it answered your question.