Follow is a great little (10kb) module that gives you a quick and dirty way to show how to connect to your social media sites. The mod gives you a nice icon for the service (there are a bunch that can be used off the shelf, FB, Twitter, MySpace, YouTube, Flickr…. about 15?) and allows you to put a bit of text by the link. It can be displayed with Panels – that is key. Forget Blocks and go with Panels. Good module! Here is a SS of how I implemented it.
Tag: social media
Twitter, Oauth and Search
Well, I believe that Twitter integration is the last big piece to be put into place before I start theming. I also want to try to have search simplified. Here is the problem:
Much of my data comes in from RSS feeds. These pieces of content are searchable through Views all day long but they are not indexed under the same engine as other content via the core search function. Now Feeds will pull RSS feeds in a way where each is a node and that would allow me to do that. But I don’t like what I saw from Feeds in terms of categorizing content from a bunch of rss items. and I have a lot of them around 100 a day at least. So I need to keep looking.
But the searches can be done in Views by exposing the Body field and the operator for the search. But it means having more than one way to search. and that is a pain.
Facebook Login and Drupal
I have the FB mod installed and it is working fine. But I would like to move it further down the login page. right now, it sits between the user/pass and the login button. i think that this is confusing.
so i am using firebug to track down where this placement is occurring. this is a great exercise for me and when i accomplish it i’ll post how i did it.
this is that I have so far. the login block comes from the core user module. specifically, the user.module file. look for the user_login_block function.
then the fbconnect.module file appends it code to the user_login_block function. I can change the weight of the output and move the login stuff above the regular login, but not below it completely, which is where i would rather have it. i have a post on drupal. i’ll update again tomorrow.
well, after i finished up some PHP stuff, i decided to have another go at the weight of that element. I didn’t think it would work. but, when i made it a negative number, it rose to the top. I had made it a 10 but it stayed in the same place. so, i made it 100. still the same. i thought, what the hell, and i made it 1000. and it went right where i wanted it to go. i don’t know what to say. i’m a little annoyed with myself over that. but i learned a few things about drupal architecture and inheritance. and i think that if you know those thing really well in drupal, you’ll be in a good position to do real customization work.