Jump to content
WebFlake
  • 0

Profile to sidebar


Greg S

Question

Hello,

I added a profile to the forums sidebar through the boardindex Template, which works great. but i have other hooks as well that i wish to keep on there, 
upon re-adding my hooks back it shifts the Profile sidebar all the way down, any solutions without removing the sidebars?
959fc2895c622b16e6f6578b724f6d99.png
Thanks! :)

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

You could try using this hook: http://webflake.sx/files/file/1955-profile-in-sidebar/

I believe the code for the code in that hook was taken from the same tutorial you used.

After that, you can go to your ACP -> System -> Manage Hooks, and then re-order them with the 3 little dots on the left side of the hook names.

37414494445120613.png

 

Or if you don't want to do that, make sure you're placing the tutorial's code before this part in your boardIndexTemplate:

            <foreach loop="side_blocks:$side_blocks as $block">
                {$block}
            </foreach>
Edited by Sanctuary

Need some IPB, MyBB, or HTML/CSS work done? Check out my thread!
:smiley:

Link to comment
Share on other sites

  • 0

Or if you don't want to do that, make sure you're placing the tutorial's code before this part in your boardIndexTemplate:

 

            <foreach loop="side_blocks:$side_blocks as $block">
                {$block}
            </foreach>

That was my issue...i put it after. Rookie mistake.
Thank you very much.

#Requesting Lock

Edited by Greg S
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...