Active
Project:
Managing News
Version:
6.x-1.1-beta2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Dec 2010 at 03:04 UTC
Updated:
10 May 2011 at 19:17 UTC
BTW, I'm using Managing News v1.2.
Is there a way to place blocks for advertising banners on a site using the Managing News Drupal distribution?
Comments
Comment #1
danoprey commentedI'm sure you could easily paste some code in to Profiles > Managing News > Themes > custom > jake > page.header.inc
Comment #2
Gryphon commentedI'm not really a "coder", so I'm not sure how to do that. I'm trying to use these "solutions" to keep from having to code. But thanks for the suggestion.
Comment #3
Will White commentedGryphon, I think you'll have to deal with HTML markup in order to achieve this. I'm not sure where your banners are coming from, but most of the time, putting ads a site requires copying & pasting HTML. If this is not the case for you, please describe what you'd like to do in more detail. Thanks!
Comment #4
danoprey commentedI haven't used them before but I'm sure there are plenty of modules that can be install which enable you to add a block with your configured code in to any of Managing News' regions.
Take a look at Google Adsense for Drupal.
Comment #5
Gryphon commentedThe original page.header.inc file is this:
============================================================
==============================================
And I want to put 468x60 ad spot on the site. The code provided by the ad server is this:
===============================================
===============================================
Do I just add that to the bottom of the page.header.inc file?
Can I add modules to the site even though I used the Managing News installation profile? If so, will adding the Ad module allow me to put ads on the site and specify their location on the page?
Thanks to all responding.
Happy Holidays!
Comment #6
danoprey commentedYes, most modules (all except a few that cause conflicts) that are compatible with Drupal 6.x should be compatible with Managing News, so yes, you could add the Ad module and put the block wherever you want it on your page. You could also just add a custom block and paste your ad code in there.
Pasting the code straight in to page.header.inc would mean it appeared on every page. It might require a little coding to do though, as the parts of your header 'float' next to each other to align.
A custom block with your code or a premade Ad module is probably the best way for a non-coder.
Comment #7
Gryphon commentedThanks. I figured out how to directly post the ads into the page.footer.inc and page.header.inc files. But I don't like modifying the theme's files like that. And, as you said, they appear on every page. Fortunately this is just a test site right now that I'm using to play around with Managing News, so I can "tinker" with it as I want.
Here's the link to the site in case anyone's interested in what I've done so far and any suggestions are welcome and appreciated.
http://tmi360.com
BTW, I know the site is slow right now. I'm about to change hosting companies because of the poor performance and worthless tech support. I don't recommend Netfirms for anyone who wants to run a Drupal based site. While it's an install option from the control panel, they are clueless about Drupal beyond that basic, automated install.
Another question, are there alternate themes available for a Managing News based site?
As for using the Ads module, I'm a little confused as to how I would specify where the ads are to appear and how to create a "custom block". Perhaps the Ad module handles all that once installed? I have been under the impression that theme has to have ad spots defined as they are in the Open Publish installation. Is that an invalid assumption?
Thanks to all in the Drupal and in particular the Managing News community who have responded or will respond in helping me with this. You folks have been wonderful in providing info and tolerating my lack of knowledge and coding expertise.
Happy Holidays.
Comment #8
Will White commentedHi Gryphon,
You site looks good. Glad to your using Managing News.
Unfortunately, there are not any custom themes that I know of that work with Managing News. I think the best place to start is to override the default "Jake" theme with a custom theme and make adjustment there.
Your assumption about blocks in Drupal is correct. Blocks can be placed in "regions" that are provided by the theme. The Jake theme that ships with Managing News offers several regions that you can use, or you can add more by again, creating a custom theme that overrides Jake.
There is more documentation about blocks, regions, and overriding themes in the Drupal book.
Cheers,
Will
Comment #9
Gryphon commentedWill,
Thanks for your feedback/info.
I'm FAR from being ready/able to create a theme.
Where in the Jake theme do I find these usable regions?
If I install the Ad module, will it be obvious how to place the ads in those regions?
I guess my real question is where I can see the defined regions in the Jake theme and then how can I put stuff in them without messing up the rest of the site layout?
Thanks again.
Cheers,
Gryphon
Comment #10
Will White commentedHi Gryphon,
I'm not sure about the Ad module as I've never used it myself. You can administer the blocks on you site by going to http://yoursite.com/admin/build/block. This page will list the available regions and allow you to place blocks into them.
Will
Comment #11
Gryphon commentedAwesome! Thanks.
It seems that Managing News sorta hides some of the guts of Drupal admin stuff (if I'm looking in the right place) and I didn't know how to get to all the other "admin" stuff.
Thanks SO much.
Gryphon
Comment #12
danoprey commentedThe admin UI in MN is horrible, you'll want to download something like Admin Module and unzip it in to your sites/all/modules folder (create if you don't have one) then enable it by going to http://tmi360.com/admin/build/modules.
It gives you a nice little pop out menu on the left which makes it really easy to get around.
Managing News has several regions built in, probably enough for your needs:
Palette
Page tools
Page title
Left sidebar
Right sidebar
Content
Header
As Will White said, there are no other themes for MN at the moment. I might release one at some point soon!
Comment #13
Cruth commentedNormally, with all other installations of drupal, there are blocks one can activate or deactivate.
You then just add ad code / scripts ( or other content ) to the blocks.
Managing News is first version of drupal I have seen so stripped down. I have gone through the admin sections, and I am a bit lost.
And, I do not even see forums or comment sections to ask for help. The online help / documentation is minimal.
Might be wrong, but this might be a backburner project for Phase two technology.
Comment #14
mailking commented+1