PDA

View Full Version : How to disable change theme select in Account Options


Jamie
June 17th, 2002, 04:04 PM
This requires changing a theme file. In order to do this, you have to be running a custom theme. See the theme section of the installation doc for more info on how to do this. (squirrelcart/docs/index.php).

OK... so let's assume you are running a custom theme called "mysite". In the example below, your "custom theme folder" is "squirrelcart/themes/mysite". The theme file you need to customize is called logged_in.php, and is what controls what appears in the Account Options box after a user logs in.

1. Copy the file squirrelcart/themes/squirrelcart/logged_in.php to your custom theme folder.
2. Open up the file in an editor. It should look something like this:

<?=$Logged_in_Message?>
<br>
<?=$Account_Details_Link ?> |
<?=$Logout_Link ?><br>
<?=$Change_Theme?>

3. REM out the last line with an HTML remark:
<!-- <?=$Change_Theme?> -->

If you wish, you can also just remove the last line.

rmccrea
October 23rd, 2003, 05:30 AM
Maybe the log_in.php file has changed?
After copying the file to my theme directory all I had to do was remark the last line which looked like this:

<!-- <?=$Change_Theme?> -->

and that removed the theme pull down list from the login page

Jamie
October 23rd, 2003, 12:43 PM
Nothing changed....I think the original post at the top of this thread got a little messed up during our forum conversion. I'm fixing it now.

Thanks,
Jamie