With the forum link tree removed from the front page, and with blocks on the left of the front page and of the forums, I would like to move the link tree so it resides just over the forums when in the forums section.
Basically, I would like to move the link tree from above the portal blocks on the forum page, to over just the forum part so that the forum part will move down a little with the link tree above it, and the blocks remain where they are like on the front page.
Actually, this would be a good idea to be incorporated into Simple Portal by default!
Here's how you do it.
Remove this code from your 'Themes/default/index.template.php' file.
// Show the navigation tree.
theme_linktree();
Add that code above to the end of the 'template_portal_above' function from the 'Themes/default/Portal.template.php' file.
Quote from: swtdivalove on October 20, 2009, 01:10:04 PM
Actually, this would be a good idea to be incorporated into Simple Portal by default!
Hmm, not so sure about that. It depends on the theme really. With the theme on this site for example, putting the linktree there would be quite ugly in my opinion. Anyway, its relatively easy to customize, so it will probably stay how it is. ;)
I tried this, and the link tree never showed up and had to revert back.
I think that more of the function that actually calls the link tree has to be added in order for it to work.
go to Admin - Forum Maintenance - Routine and clear your forum cache
Still a NO GO.
did you hard refresh after you cleared cahce, sorry should have mentioned that ... ctrl r is the common method
Yes, several times. Even closed my browser and tried it that way.
I even cleared my cache several times also.
Are you using a Custom theme?
Can you please attach your index.template.php and Portal.template.php files?
Sure!
Yes, I am using a custom theme.
Theme: SilentWave (2.0 RC1)
Just so you know, I have reverted the files so that there is a link tree the way that it normally is.
Looks like you had made some errors, there were a few unnecessary parts of code added to the Portal.template.php file.
Try the attached files.
Still no link tree over the top of just the forums.
Could you please post a link to your site?
Dreamlike Entertainment, LLC (http://www.dreamlikeent.com)
Try this Portal.template.php file.
Perfect, Nathaniel! Thank you!
But, now I'm getting an error on the bottom of the site:
QuoteFatal error: Call to undefined function: get2by2host_copyright() in /home/mc8402/public_html/Sources/Load.php(2009) : eval()'d code on line 231
And also I'm getting this error too:
QuoteSession verification failed. Please logout and login back in...
I only get that error when trying to login into the ACP. And, once I get that error, I am unable to logout of the site. I have to delete my cookies for the site and then login. But, as soon as the ticker has hit on the timer for the ACP, I cannot login/logout of the site nor can I login to the ACP.
I'm not getting any errors in the logs about it either.
Weird... It's working again.
It only happens once in awhile.
I've PMed you.
Got the PM on my website.
I had not noticed that the copyright was messed up until someone pointed it out to me.
I do not remove copyrights, at least not intentionally.
I would like to resolve this issue, but unfortunately, I do not know how to fix this issue.
Before upgrading to 2.3.1, the copyright was in fact in-tact and it was there.
Since I've had a couple of little issues, which I have been attempting to fix, I may have inadvertently messed up the copyright at the bottom of the site.
I am attaching my LOAD.PHP file, to which someone can hopefully help me fix so that the copyright is in fact intact.
Also, if there are any other files that need to be looked at to fix this, I will attach them.
Could you please attach your Subs.php and index.template.php files.
HEHE Thanks, Bud! I'm all fixed now!
Not sure what happened to cause it to error?