Open nguyenmp opened 11 years ago
Code that might be relevant is ./modules/node/node.admin.inc:403
I think this is how the recently edited articles from http://localhost/sexinfo/admin/content are generated.
If there's anything I've learned from this issue, it's that I don't know how to PHP. Code was SUPER simple. lol
Nice! Is that only displaying to logged in users?
I just checked and it's for all users. I'm kind of stuck with this now. It's functional but I don't really know where to shove this little piece and how to decorate it. I looked at the other fields on the home page and they all have insane classes and stuff. The code resides in recent-changes
.
Well it's intended for the writers right? I think just toss on a bit of CSS and display it only to logged in users (I'm happy to do either or both), and it's fine where it is!
Hmm. I thought I already commented on this issue but apparently not. My aim with this issue/feature is to have something on the front page (or somewhere) showing new things. Some of the writers were complaining that the website doesn't change a lot. Like, you have to spend a lot of time to find stuff that's new and interesting. This will give new things a spotlight to shine in.
I see - in my head it was for writers only, for whatever reason. I definitely wouldn't do that little modal thing if it's for everyone, although I'm not sure where else to put it if that's the case.
Would there perhaps be a place for it in the topics page? I know Nina wanted to also do one with random articles.
Andrew Berls notifications@github.com wrote:
I see - in my head it was for writers only, for whatever reason. I definitely wouldn't do that little modal thing if it's for everyone, although I'm not sure where else to put it if that's the case.
Reply to this email directly or view it on GitHub: https://github.com/sexinfo/sexinfo/issues/36#issuecomment-19088002
Perhaps. I'm experimenting with tweaking it on the front page, shooting for something similar to this:
I was thinking of putting the "random articles" button on the sidebar I will work on that will appear to the right of each article. We can put a "random article" button in other places too though. Putting it by a "new article" section sounds logical.
Lol Andrew, your post just popped up. I feel like the formatting could use some work but it's a good idea.
Yeah, I'm having a lot of trouble extracting a content summary from a node though. I have it back to this, but I have no clue what to do with it. Maybe worth thinking how it might fit into the new topics page.
Would you be able to do it if you had the actual content for each article? I found the table where the content is stored (as HTML) and it'll just be a matter of filtering by the node ID's. I'm thinking of stripping headers and just showing the first 160 or so characters.
That looks good :D That looks like something that would be good to have on the front page too. As far as putting it on the topics page, maybe we can have a category labeled "New" that will show the latest articles? That could even be the default open tab so that people always see the most recently changed articles first.
Mark: I was able to get the actual content - I just gave up for the time being because I didn't want to figure out how to strip out tags. The question form shows up too, which isn't great - printing out the value creates a giant pink "Think youre pregnant" button in the list :p
Nina: I like the idea of a tabbed display! Could work well along with the grid
Yeah--the mockup already has the tabs and it would just be the one at the top/the one selected by default. I think that could be a good idea. :D
Working on trying to get all the recently edited and new articles on the front page or something.
Maybe a tab on the Topics page.