I am testing this theme, when I click on the forum page it goes to the first subforum and opens the add new topic textarea on the bottom instead of just listing the forum, is that normal?
Support Forum
hmm, I’ll have to check, I have javascript errors notifier extension for chrome and didn’t notice anything, I will look again
I don’t see anything, whenever I click on forums from the menu or breadcrumbs it opens the forum and then it directs to /forums/#spPostForm
Have you got your editor set to always be open? In this case (I believe we are talking about forum view here) it would be the $addTopicForm array at the very top of spForumView.php, see the second argument (hide), check if it is 0 or 1.
If it’s set to hide = 0, it will always be open, and it will center the screen on the editor whenever the page loads, rather than the top of the forum.
Sorry – I read through the thread and completely missed the topic title stating the obvious.. Iforum ![]()
It doesn’t look like you can use the same argument in the spForumSubView.php template.
nope, it’s set to one, and it only happens when you click on the main forum breadcrumb or on the forum from our menu, if I click on any of the subforums themselves, they show fine
I haven’t played around with Iforum much myself, but I know if you have the editor default to be open, as I said before, it will center the screen on the editor instead of the top of the page.
You could try adding the
'hide' => 1,
argument to the list in spForumSubView.php, note it doesn’t already contain it but it’s the same function as forum view so it will work fine.
Add it underneath the tagClass argument so it appears the same as the forum view template and see if that helps.
As I said I haven’t played around with Iforum that much so would need someone else to confirm that this is normal behavior, I know it is when you set any of the other stock themes to hide = 0. Note also that this will remove the editor and force you to use the ‘add new topic’ button to reveal it. If that’s a deal breaker then would have to wait for other advice!
yep, that worked, thanks ike! only thing is it also hides the forum toolset on the main forum, not a big deal though, it still shows on the posts themselves
actually it only removes it from the main forum, on the subforums it shows, is there anyway to move the forum toolset button on the subforums? they pop up and hover very close to the last post link and sometimes it shows the open forum toolset link, sometimes it will show the text bubble from the last post, it might be better on the right hand side of the display
It definitely shouldn’t be hiding anything else. I’ve tested locally and by just adding the hide argument to the editor array in spForumSubView.php everything works fine including the toolset..
You can move the tool button pretty easily. It’s generated in the spForumView.php template, just look for the sp_TopicForumToolButton function, and move it to where you like. You can also style the button in the stylesheet iForum.php by looking for the class:
#spMainContainer a.spToolsButton {