Next I created a div (#crew) and positioned it relative (also on the main CSS sheet)
#crew {
position: relative;
}
Finally I went to the sidebar and created the actual #crew div (which had a table, background, etc.). The sidebar appears where I positioned it, although it will show up there on EVERY page - to hide it on a specific page you would need to do something like:
.category-24 #crew {
display:none;
}
To hide it on all pages the only way I could find to do this was to hide it on every single board one-by-one, so I created some 50 copies of the above code each with a different number to cover everything.
Hopefully this helps… we couldn’t wait for the proper fix, but i’d advise waiting if you can - if not at least this is something of an option…
That’s the one. I should add that this does nothing for the width issue (we had other CSS that affected the width so that didn’t occur for us) but it shouldn’t be too hard to CSS the main table back into place. I’ll look up our code when i’m back in the office if someone needs me to.
EDIT: You’ll also need to adjust the positioning based on your own page - adjust the number next to “top” to move it up and down, and “right” to move it left (you can go negative) and right.
Compiler said: Error: Unclosed element `div` (on line 18).
(in /var/www/discourse/plugins/plugin_discourse_dynamic_sidebar/assets/javascrbarber-0.9.0/lib/barber/precompiler.rb:25:in `rescue in compile'
The plugin works for us in Discourse 1.5 (thanks to the PR from @zogstrip) but it seems it only shows basic html as @zajako said, and yes, the box is one-liner.
This plugin was released by our organization (Tc) via paying a developer team (@Daniel_Fernandez_Pes) to serve a specific project but we were not able to continue it with latest releases of Discourse (no time nor budget enough) so PRs are welcome to solve these issues (it’s GPL license)
Hi @Roxelle
Last time we tested (a week ago) it worked fine with a fresh install, but we have to warn about some conflicts with poll and tag plugins reported some days ago.
But, be careful, as we say in the repo it could have conflicts with other plugins.
This plugin was developed to solve one specific use case, but we could not mantain it for so long time with all the changes that a great project Discourse is, this software advances so fast!
the sidebar content filed is a small field for strings and not like the image shown in the main topic. and it makes it hard to work with the code in sidebar simply. is it possible to change the field type?