The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Have bbs load bottom of page instead of top from outside URL
How would I go about loading forum.php so when you click on the link it loads the page from the bottom first with an anchor? So the link would look like www.mydomain.com/bbs folder/forum.php#footer
|
#2
|
|||
|
|||
I am not sure I understand your question, it is a bit unclear.
When forum.php is executed it loads template FORUMHOME. So you could place an anchor in "FORUMHOME right above the footer template variable. You could also place your anchor in the "footer template" directly, thus making it available on all pages. Not sure if this is what you are looking for. Code:
<a href="#footer"></a> {vb:raw footer} <!-- footer template variable --> |
#3
|
|||
|
|||
Quote:
That would load the footer part of the page if one would follow that link. That is what I am trying to do. Sorry to be confusing. |
#4
|
|||
|
|||
Should work, give it a try. As long as the user has access/permission to the page.
|
#5
|
|||
|
|||
Quote:
just above it and it did not work. Do I wrap that href code around something? |
#6
|
|||
|
|||
It works, but you will have to reposition the anchor to the top of your shoutbox or the template hook that it uses.
Code:
http://forum.huskermax.com/vbbs/forum.php#footer You could try sticking the anchor above: Code:
{vb:raw template_hook.forumhome_below_forums} |
#7
|
||||
|
||||
Why not just use:
Code:
http://forum.huskermax.com/vbbs/forum.php#footer_time |
#9
|
||||
|
||||
Yeah, I just gave you a alternative to adding additional code to the template.
|
#10
|
|||
|
|||
Good suggestion, but he really needed below the forums, not above the footer. His explanation was in reverse notation. I think the correct lesson here is that you can use any existing #ID field on an HTML element as it is also a destination anchor.
|
Благодарность от: | ||
ozzy47 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|