Needs work
Project:
Memetracker
Version:
6.x-1.1-alpha3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2008 at 06:21 UTC
Updated:
13 Aug 2008 at 20:43 UTC
Jump to comment: Most recent file
Sometimes (As in my case) users aren't that interested in EVERY related article they just want find an interesting story and THEN see related articles.
This patch I quickly put together gives the ability to collapse the related article section. Currently I have it set to uncollapsed by default but wanted to know what other people thought, should it be collapsed or uncollapsed by default or should there be an option in the MemeTracker settings to let you choose.
This was put together really quickly as I just wanted to get community feedback so we could develop it further. Also I'm not sure if it's a little early in development to be submitting this type of patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | collapsible_memes.patch | 1.6 KB | SeanBannister |
| collapsible_memes.patch | 1.42 KB | SeanBannister |
Comments
Comment #1
kyle_mathews commentedSean,
Love the thought -- check out http://memes.educon20.org/technology -- I've been working on something similar. Tell me what you (and others) think. BTW, I messed up meme detection somehow today, so nothing's related. I need to debug that tomorrow as I want to push out the javascript toggle functionality and other new stuff I've added.
Comment #2
SeanBannister commentedThat's cool, you beat me to it. That looks really good just having the article title.
Just a few things that I think would be useful in relation to this update:
1. Being able to show just the "+ Related" without the names of the websites displayed next to it. Just for people who want cleaner designs. Because my MeMeTracker has one with 30 related articles :)
2. The ability to move the website name of the top article below the title.
4. Just noticed there's an icon next to the site name, how about making that the sources favicon.
3. Possibly a page that displays all the articles, similar to what it looked like before the "+" button went in. Also on this page it could allow for comments.
Anyway just incase, here's an update to my patch, just found a pretty big bug.
Comment #3
kyle_mathews commentedGreat ideas. My only worry toward your suggestions is they're mostly themeing issues. I'm not a fan of providing lots of options as that means a) more work for me and other developers to build and maintain the UI and b) more confusion for first time users as they'll have to figure out what all the different options do.
Perhaps it'd be better just to provide recipes in the handbook on how to build different types of memetrackers? In any case, due to the computational needs of memetracker, any non-trival installation of Memetracker will require fairly strong technical skills.
So in other words, provide a clean, middle-of-the-road memetracker configuration out the box and provide good instructions on how show only the "+ Related" or other modifications.
What do you think?
Comment #4
SeanBannister commentedYeah that sounds like a good idea. If you could provide some hooks there might even be room for another contrib module for themeing and getting more control over the display of Memes.
Comment #5
kyle_mathews commentedGreat idea.
I'm still a bit sketchy about how Drupal theming works -- but the proper the way to implement theming hooks is through creating a Preprocessor hook? That and the meme.tpl.php/memebrowser.tpl.php templates I've created should make it pretty easy for anyone to over ride the display of memes.