HtmlSidebar Download 4.2

This component/theme works with latest OSSN version.
German Arsalan Shah 4 years ago

HtmlSidebar


Allow admin to post some html code or javascript onto the right sidebar.

> I'm wondering how hard it would be to write a component that would
> allow us to insert HTML on the sidebars (left or right). It
> could be useful for posting site news messages or widgets. Would it be
> too difficult to do something like that?

Using this component you'll get idea about:

  1. How to add new action
  2. How to create component settings page
  3. How to add content on right sidebar of newsfeed page.

V 4.2 comes with a WYSIWYG editor now to allow more comfortable editing.
Of course you may still add your own plain html and/or javascript by choosing "Tools -> Source Code" from the editor menu top right like:
Choose Configure -> HTML on sidebar from your admin panel
Chosse Tools -> Source Code
Add your code ...
And save

Comments
us Bansh33 - Replied 2 months ago

Ah, nevermind, I just saw that you need to enter html markup in the "source code" section for the newest version of this component, disregard my note about v4.2 not working correctly under Ossn 5.0.

us Bansh33 - Replied 2 months ago

v4.2 of this component does not seem to work with Ossn 5.0 (the version on the VM image, with the Textarea component enabled). Rather than displaying html, it displays the markup. I haven't tried v4.1, but v4.0 works fine and as expected in Ossn 5.0.

ua Estee Andr Replied 3 months ago

Great! Thank you very much!

gr Greta Kane Replied 6 months ago

I love this Component !!!!!!!!!!!
Thank you !!!!!!!!!!!!!

Bhutani Anware nori Replied 11 months ago

Hi how do i put an adsense code

I hope you put a picture

German ~Z~ Man Replied 1 year ago

@Bryce
basically yes, but it doesn't make too much sense because with moving it below the newsfeed column and Autopagination turned on it'll be pushed downward again and again. In other words: You would need to scroll to the end every time to view the content of the sidebar. :)

Any good ideas appreciated.

us Cody Jordan Replied 1 year ago

Would be nice to add on both sides of theme left right etc...

us Bryce alvord Replied 1 year ago

can this sidebar content be added to a bootstrap sidebar for the mobile views as well so that it can be viewed in the mobile layouts

German ~Z~ Man Replied 1 year ago

@Dickson
Into the editor I mentioned in my posting below.

ke Dickson Musyoka Replied 1 year ago

i want to post my google adsense code to monetize my site but dont know where to paste it, guide me

Component

Developer: Arsalan
License ossnv3
Type: Site admin
Ossn Version: 5.x
Latest Version: 4.2
Last Updated 2 years ago
Repository Url View Repository

Versions