By beckyjohnson on
I really need to make a block on my site that depending on what Blog I'm viewing, that it pulls in the tweets for that person....kind of like how the author pane module pulls in the user picture. I don't mind coding this myself, honestly but have a very small knowledge of php and I'm kind of on a deadline. I am using the twitter module and I have posted in that issue queue but I haven't gotten any response. The block that comes with the twitter module does not work.. I don't know why, but when I enabled it, nothing happened. I had to remove the uid argument that is in it to get anything to show up.
Does any one have any idea on how to modify this views block?
Becky
Comments
tweets block
Did you select php code input? If you don't it won't display.
No I didn't because out of
No I didn't because out of the box, I thought twitter would work properly with out me doing that.... I will try it..
In fact, when i view the default block that comes with the twitter module in views, it says no query was run...
In the tweet block under
In the tweet block under admin/build/block/configure/views/tweets-block there is no way to select php input...
Oh I see what you mean. You
Oh I see what you mean. You mean i have to put php in the view to make this work. Well, I don't actually know how to write the php..... Earlier someone helped me write php for a block to show up per user but I don't know how to re use it or if it works because I ended up using author panel......
Sample problem, simple solution.
Use the default View that is installed with the Twitter module. It does exactly what you want it to do. Then set the bock to show only in user/* pages. The view is called 'tweets'.