![]() |
Switching themes... anyone know the variable
Okay, I have been working on getting the template switching mechanism back on track but I don't know what the value is for the mysql statement.
The problem lies within the mysql update code: Code:
$query = "UPDATE {$prefix}settings SET value='$themeurl' WHERE name='themeurl'"; Code:
$query = "UPDATE {$prefix}settings SET value='$themeurl' WHERE name='theme'"; One can replace '$themurl' <--- the problem I am running into with whatever template name one wants to lock on. Or change it in mysql. So if anyone can tell me what the variable is that needs to go there. PLEASE HELP FIX THIS. Thank you all for reading this. Edit: After a few moments, I realized that I made this sound like it is the only problem, which it may not be. It may very well be the only problem or one of a few that are preventing this from working. Perhaps the variable is never defined. |
All times are GMT -5. The time now is 09:58 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.