Function add on a non-object issue
Hey all, hoping someone more PHP savvy than myself can help out here.
I'm working on adding a new module to my theme and am basing it off of the other modules. Well, I am encountering an issue now in my class file. Quote:
PHP Code:
|
are you making a userbar ?? i could help you to make it
|
Sort of, yes, I am making a user control panel that is a separate widget from the sidebar.
If I could just get the function working properly then everything else would be fine, so I already have everything coded, just need to find out what's causing my function to bug out. |
Well seems to me that this is where you get the error:
PHP Code:
|
I couldn't wrap my head around it, but I found an alternative solution following Kyttias's code bits here;
http://mysidiaadoptables.com/forum/s...ead.php?t=4599 Thanks y'all for the replies! |
it can be done in template.tpl of template file ^^ but first assign the variables ^^
|
All times are GMT -5. The time now is 05:41 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.