Needs work
Project:
Grid Inspired
Version:
5.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2008 at 13:43 UTC
Updated:
27 Jun 2008 at 16:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
marquardt commentedA simple way to get the $links div (including any read more links) on the summary pages would be to modify node.tpl.php to output them; in the original version, this is apparently not foreseen. The attached patch does this, also wrapping the the $links div into the same class ("meta") as for full page views, but not showing any tags. One probably has to add more CSS to get the links line consistent with the typography in, e.g., the comment links.
I don't like this solution very much, though. I believe the original Wordpress theme had a link to the comments (and their number) on the upper right part of each individual post / teaser, where now the author name is displayed - plus a "Read more" link at the end of the teaser if necessary...
Comment #2
marquardt commentedOk, here's an alternative - the attached patch (again against the original node.tpl.php) places the number of comments into the upper right corner of each post, similar to the original WordPress theme.
There still isn't an explicit "Read more" link. However, implementing one following Earl Miles' excellent suggestions at www.angrydonuts.com is probably straightforward. Or you could make use of the Read More Tweak module, which really just is an implementation of Earl's ideas. There's even an unofficial version for D6 in the issue queue which mostly works fine for me; the only drawback is that this particular module hasn't seen much work recently.
What would be the best way forward? Relying on an external module, or writing a customization module dedicated to a single theme?
Comment #3
marquardt commentedComment #4
marquardt commentedOoops - some CSS is also required. I've added a bit to grid_focus.css but forgot those changes in the previous patch. Here it is - both this and the patch from comment #2 are required for the "alternative" solution...
Comment #5
linuxbcn commentedThis non solution the issue. The theme don't show the coments for the anonymous user.
Comment #6
marquardt commentedStrange.
I could only reproduce this behavior by unchecking the 'access comments' permission for anonymous users in Home -> Administer -> User management -> Permissions. I know it's a pain, but have you double / triple checked?
If you click on a link while being logged in, copy the URL from that particular comment to the clibboard, log out and and try to navigate to the URL of the comment - does that give you an error message? If that doesn't work, do you find any entries in the log files of your web server?
Comment #7
linuxbcn commentedUPS! yes, the permisions for the anonymous users were correct. The problem is that existing comments were without Post, only to see it was possible admin.
Now is great!