1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do I control blocks for feed aggregator pages in Drupal

Discussion in 'Drupal' started by redzventures, Aug 13, 2011.

  1. #1
    Hi Drupal Experts,

    I'm having a small issue with the controlling of blocks on my Drupal site. I can easily control blocks for most content types but I cannot figure out how to do this with feed aggregator pages. For example on this page Kenyan UK News. How would I configure the visibilty settings to show or hide a block for this page because typing in the url did not work?

    Thanks in advance

    Jay
     
    redzventures, Aug 13, 2011 IP
  2. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #2
    What version of Drupal are you using?
     
    einsteinsboi, Aug 15, 2011 IP
  3. redzventures

    redzventures Active Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    68
    #3
    I'm using version 6
     
    redzventures, Aug 15, 2011 IP
  4. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #4
    specifying the url of the aggregator page should work. Are you using the machine url or the friendly url?
     
    einsteinsboi, Aug 15, 2011 IP
  5. redzventures

    redzventures Active Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    68
    #5
    redzventures, Aug 15, 2011 IP
  6. redzventures

    redzventures Active Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    68
    #6
    By the way, how do I configure friendly urls. I thought that I was doing this by using "path" at the bottom of each node? Which leads the url to look like /news instead of /node-1 etc
     
    redzventures, Aug 15, 2011 IP
  7. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #7
    You ARE currently using friendly urls. If you weren't your urls would look like index.php?q...

    For entering the url to exclude in the block config you need to use the relative path (new/aggregator/sources/1), not the full one like you're doing, and it's sometimes better to actually use the machine path. Hope this helps.
     
    einsteinsboi, Aug 15, 2011 IP
  8. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #8
    Actually you should use aggregator/sources/1 in the block settings, since your drupal is installed in folder /new/
     
    JamesColin, Aug 28, 2011 IP
  9. redzventures

    redzventures Active Member

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    68
    #9
    Thanks james - that worked perfectly!
     
    redzventures, Sep 16, 2011 IP