Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Custom sidebar #45

Open
innosflew opened this issue Aug 20, 2017 · 2 comments
Open

Custom sidebar #45

innosflew opened this issue Aug 20, 2017 · 2 comments

Comments

@innosflew
Copy link

Setup

  • Browsers and versions: Latest Opera/Opera Beta/Google Chrome
  • MediaWiki version: 1.29
  • Database version: MySQL 5.7.19
  • PHP version: 7
  • Pivot version: 1.0.5
  • Extension version (if connected to the issue): CustomNavBlocks 2.2.2 (7235add)

Issue

For the normal Vector skin I used an extension called CustomNavBlocks to enable me to add custom items to my sidebar, such as custom templates, custom navigation bars, or widgets such as my Discord chat widget. But I noticed that CustomNavBlocks doesn't works for the Pivot skin. Is there a way for me to be able to add custom items to my Pivot sidebar?

@raulcpop
Copy link

You got the solution? I needed it...

@mbilsky
Copy link

mbilsky commented Jun 4, 2019

I was able to make it work on my website MattBilsky.com by editing the Pivot.skin.php file.

at the very bottom, on a line before return; in the render sidebar function, you can add an echo() which will print out below the sidebar (you can see the links at the bottom on my site). I created a variable $variable_name = ' some
<more stuff and words';

then called it using echo($variable_name);

I'm not sure if this is the right way, but after a couple hours of searching around, it is the way that works for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants