I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Google Ads for Redmine

This plugins provides a nice interface to Redmine hooks. With this interface any user can define his/her own HTML code to be placed on Redmine pages. The interface contains a nice thumbnails showing where the content is to be placed.
Added by Andriy Lesyuk over 13 years ago

Some time ago I was looking for a way to place Google Ads on this site... I found that many users use sidebar plugins. Others just modify core RHTML files. I like none of these ways! Why? Google Ads should be placed not only on sidebar to “work”. And changing core files means issues on upgrade...

For things like Google Ads Redmine has... hooks. What is this?.. These are “functions” which you can define in your plugins. These functions can return HTML code and this HTML code will be placed in the certain places on Redmine pages. That’s what any sidebar plugin uses! In addition to sidebar hooks allow adding custom HTML to many other places. Besides theoretically you can suggest your hooks by submitting patches to Redmine1.

That’s how I decided to write this plugin. This plugins provides a nice interface to Redmine hooks (well... some of them). With this interface any user can define his/her own HTML code to be placed on Redmine pages. The interface contains a nice thumbnails showing where the content is to be placed.

1 However seems none of my hooks were included into Redmine...


Comments

Terms of use | Privacy policy