The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
My newest stumbling block?next & previous
Okay... so I want to put rel = next and rel=prev link tags into the head of pages that need them. "easy peasy," says I... the logic and links to those pages is already there in the pagenav template.
So, I copied out the pagenav template and, form what it contained, built this: HTML Code:
<if condition="$show['prev']"> <link rel="prev" href="$address$address2<if condition="$prevpage != 1">&page=$prevpage</if><if condition="$anchor">#$anchor</if>"> </if> <if condition="$show['next']"> <link rel="next" href="$address$address2&page=$nextpage<if condition="$anchor">#$anchor</if>"> </if> "Done and dusted," says I, smuggly! But alas, it doesn't work. $address $address2 $prevpage $nextpage are empty! It seems as though those values aren't fetched until $pagenav is called later in the template. Is this a job for a plugin? --don |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|