Hello
I was wondering if anyone has a customized the xxxx module (?) to achieve the following:
1. "Blog it"-button/link, appearing below all nodes (like "add comment") not only in the aggregator-block. It should copy the text into a new post just like the Blog-it button does from the block. If "perfect" it should ask which node type to "blog it as": Blog, Forum post, Book page, etc, but that can be a later variant, most important is to be able to blog any posts easily at all.
2. Blog-it button beside each item in the news aggregator listing where the teasers are shown.
Not being a PHP programmer myself, I'm looking for a bit of advice on how to customize to have this functionality.
Any help/advice is highly appreciated.
Comments
Modified this piece of code, is it correct?
Hi
I've been trying to achieve something similar.
So far I've done the some changes to the piece of code that appears in the aggregator.module-file, but I still didnt manage to see "Blog it"-button anywhere.
Could someone please review what I've done, and help me out?
***************************
**********************************************
This Solution Worked For Me
I just copied and pasted the "blog it" lines from the block section of the module to the page_item section. I think you did the same, the difference for me is where I pasted. See below.
I tried this out in Drupal 5 first; what's pasted below is what I ended up with in 4.7. The difference between 5 and 4.7? 5 used a function called module_exists(), while 4.7 used module_exist().
Hope this helps :-)
Adding "Blog It" to the Aggregator page itself
I needed the "Blog It" link/button to show up on each item on the actual aggregator PAGE not just the block. This is how I accomplished this:
to:
That's it! Hope this helps :)