drupal commons tips

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
Post Reply
User avatar
Stevyn
SysOp
Posts:1773
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
drupal commons tips

Post by Stevyn » Sun Nov 18, 2012 1:22 pm

how to install a drupal module on drupal commons:

1. Create sites/all/modules directory if needed

2. Dump the contributed modules in to 'sites/all/modules' directory

3. Enable it under /admin/build/modules in the admin panel

also see: http://drupal.org/node/70151
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1773
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Showing an RSS Feed in a Drupal Block

Post by Stevyn » Wed Nov 21, 2012 5:59 am

Showing an RSS Feed in a Drupal Block

http://www.ostraining.com/blog/drupal/s ... pal-block/

First of all, we're going to set up the Aggregator module so that it can handle the RSS feeds for us.

Step 1: Go to Administer >> Site building >> Modules. Check the box next to "Aggregator" and click Save Configuration.
Step 2: Go to Administer >> click "By module" at the top.
Step 3: Find the "Aggregator" area right at the top and then click on "Feed aggregator":



Step 4: Click "Add Feed" along the top and enter the address of your RSS feed:

Step 5: Click "Save" and then "update items". That will load the latest articles from your RSS feed.


Now that Aggregator is handling the RSS feeds for us, we'll go and place it into a block on our site:

Step 6: Go to Administer >> Site building >> Blocks. Scroll down to find the block with the same name as the feed your created in Step 4. Aggregator has automatically created this for you.
Step 7: More than likely, you will need to click "Configure" next to the block and choose a new title. Aggregator creates a default title of "[feed name] feed latest items".
Step 8: Publish the block and check to see how it looks on your site:
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply