This plugin over-writes /views/default/page/layouts/one_sidebar.php/ and /views/default/page/elements/footer.php/ and displays the ad-content wherever echo elgg_view('adverts/elements/sidebar', $vars); and echo elgg_view('adverts/elements/footer', $vars); are called.
Updates:
Special Note:
View Shouvik Mukherjee's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Aha ... iframe. Actually, HTMLawed strips the code.
Thank you very much for the appreciation, people!
Thank you again Shouvic!
It does not work with me ! my and I have 1.8.3 version :s it should work find but I have no clue why it's not working. any suggsts?
I need more details i.e. precise errors, type of ads, position of the plugin on the plugins page, etc. ...
Can't see it in setting
after I installed the plugin I tried to find the plugin in the setting section where I can add and edit the ads, but the problem is I can not see the plugin, and it's active!!
http://tinypic.com/r/1444kn4/5
Faisal, are you using the latest version of the plugin? Maybe, some code didn't load properly. Please, download again from here and re-upload to your web-server and re-enable.
And, put the plugin close to bottom. If your theme over-writes the adverts plugin views, it won't show the adverts. Put it below the theme.
Downloaded latest version of this plugin and it could not be activated in 1.8.2, version code in Manifest file was too high. Not sure if that is intentional Shouvik? So I uploaded it to my 1.8.3 test-server.
I enter the code for a 240px wide 444px high iframe in the sidebar section of the plugins Settings and clicked Save. It said it had successfully saved but the code did not remain visible on the Setting page. The iframe does not display on the site. The Shouvik.com link displays in the Footer. Here's the code used, is this the fault?
<iframe src="http://www.mysite.com/widgets/ads.htm" width="240" height="444" scrolling="no" frameborder="0" overflow="hidden" ></iframe>
@Shouvik Mukherjee
I have the plugin installed and it works fine until I added
River addon 2012.03.01
. The footer ads still work fine but if I put adverts below
River addon 2012.03.01
in plugin order, it disables the "post to wire on activity page" feature from river addon.
Have you encountered this and can you suggest a work around for these plugins to work together?
I will also contact river addon creator for help...Thank you very much ~Ken
Just saw your post KenE. You can fix this in the one of the two plugins you prefer to edit.
If you want to edit Adverts:
In Adverts delete the folder layouts.
Add this line to start.php,
elgg_extend_view('page/elements/sidebar', 'adverts/elements/sidebar', '600');
Or if you want to edit River Addon:
In river_addon delete one_sidebar.php and two_sidebar.php in folder layouts.
In start.php find this line,
if (elgg_is_logged_in() && elgg_get_context() == 'activity'){
Below it add this,
if (elgg_get_plugin_setting('show_thewire', 'river_addon') == 'yes'){
elgg_extend_view('page/layouts/content/header', 'page/elements/riverwire');
}
Sorry I was out for a few days to get back here, KenE! I see that gillie has answered your question already. Thank you very much, gillie!
Worked beautifully! Thanks @gillie and @Shouvik Mukherjee
Worded good but i want like widgets in page.
@DEEPAN: Could you please tell me in detail regarding your concept?
I need a G +1 , Tweet and Facebook button in footer for Elgg ver 1.8.5
SksLink: Please download the newer version of the plugin and visit the tutorial specified on the plugin details section link to insert these codes.
http://ishouvik.com/enable-iframes-and-javascripts-on-ishouvik-easy-adverts-plugin