Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/17/2008 10:48 PM |
|
Over the past few days, I've been completing a code overhaul of the news articles module (Restructuring and refactoring elements of the code into a more manageable form).
While looking at the elements at the top of the form, I have been tempted to merge a few into the following:-
{Categories, Search, Syndication} becomes Archive. The archive page would default to a category list showing a list of categories and the articles belonging to each (similar to this page). There is also scope to have a link to show the exact same format for authors.
The only piece of functionality we would be missing out on is the RSS feed to subscribe to the last 25 articles, but I think that can be added on the current listing page in the template.
{My Articles, Create Article, Approve Articles, Approve Comments} becomes Article Manager, the one stop page for managing all of these items.
So, we would then have:-
Current Articles, Archive, Article Manager, Admin Options at the top.
Doe sthis sound like a good idea?
|
|
Scott McCulloch Site Administrator |
|
|
Richard Teachout Gold Membership
 Nuke Super Newbie Posts:24


 |
| 8/18/2008 9:17 AM |
|
I like the idea.. everytime we can cleanup / streamline a module, it would be beneficial in the long run. |
|
|
|
|
avi a Gold Membership
 Nuke Master Posts:684

 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/18/2008 3:36 PM |
|
| It will be templateable (unlike the search/categories/syndication that exists today) |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 8/18/2008 4:44 PM |
|
All for it! In reference to the RSS feed issue for the last 25 articles, (suggestion) I like how PA currently has it set at the top right corner of the page. |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Tareq Gold Membership
 Nuke Addict Posts:91

 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/19/2008 3:33 PM |
|
| Tareq, when does the broken link feature get used? |
|
Scott McCulloch Site Administrator |
|
|
goBlanks Gold Membership
 Nuke Wiz Posts:175

 |
| 8/19/2008 4:03 PM |
|
| I can see where "report abuse" might be useful for instance in the comments section. Not sure about "broken link" though......... |
|
My DNN Projects: NortheastOK.com, goBlanks.com |
|
|
Tareq Gold Membership
 Nuke Addict Posts:91

 |
| 8/19/2008 4:14 PM |
|
Well it can serve multiple purpose it is more like reporting. For example if I have tutorial site where anyone can submit tutorials. In some cases people will post some one elses article as their own which is a copyright violation. So when a user click report it can retrieve the article id and a small comment section where user can report copyright violation or may be even an abuse or offensive words.
In another scenario if I have a site where I just keep the abstract of an article and put a link to the original site who wrote the article and decide to remove that will give a broken link on my site. An example of such site will be good-tutorials.com
I think your article module is very well thought and probably will not cause any broken articles link other then if someone just bookmarks which gets deleted or moved.
The comments can serve the same pupose as well but a report can go to a separate email so it can be taken care of in higher priority. Also it will give an option not to enable comments and just use the report feature. It is just and idea so f it is easy to implement you can look at it. I am not sure if any other member needs it.
|
|
Fowara.com PlanetTutorials Giving Back To Humanity |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/19/2008 4:55 PM |
|
Over the past few years, the "default" template has received a lot of feedback as being too ugly, or at least too far away from the generic styles within DNN.
So, the new release will have a new standard template that will auto-apply to new installs. Old installs will still use the old default blue template.
What do you guys think of the screenshot below? It uses only core styles. |

|
Scott McCulloch Site Administrator |
|
|
Tareq Gold Membership
 Nuke Addict Posts:91

 |
| 8/19/2008 5:13 PM |
|
Hey Scott,
Looks great. Only thing I would suggest is having different background color for the footer with Kick It permalink...... May be a little darker than the article background itself. Can't wait for the new version.
|
|
Fowara.com PlanetTutorials Giving Back To Humanity |
|
|
Robert Axford Gold Membership
 Nuke Master Posts:765


 |
| 8/19/2008 5:25 PM |
|
I very much approve of using core styles, however, make sure you wrap the whole thing in a a single module-specific class as well. The ensures that the module looks good by default but can be easily targeted for specific changes. e.g. if you put a class="NewsArticles" around the lot, and the text has class="Normal" then it's a simple matter to change that text just for the News module with .NewsArticles .Normal{font...} This method should really be the norm for all DNN modules. It would greatly simplify styling overall and also remove all the font styles out of module.css where they don't really belong. The module.css should really only contain layout styles and all fonts should be taken from the skin. Regards, Rob |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/19/2008 7:50 PM |
|
Rob, it still uses templates, so in the templates it wraps an article in listing.item.html with a #article. I'll look at putting something around the entire layout though (although you could still do it in the templates as well). Tareq, the problem with making the background different from the default background is that some skins are dark by default and you wouldn't see the difference at all. I could make it a grey, but those with grey backgrounds wouldn't see it. This is kind of the problem I have now with the default template (it doesn't look good on different coloured templates). |
|
Scott McCulloch Site Administrator |
|
|
Tareq Gold Membership
 Nuke Addict Posts:91

 |
| 8/19/2008 8:05 PM |
|
Well no big deal it looks nice as is. We can always change the CSS to customize our own look.
Are you by any chance implementing the tinymce editor for articles? I love how you have the code posted in your forums. It is always challenging to add code samples in the fckeditor. |
|
Fowara.com PlanetTutorials Giving Back To Humanity |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/20/2008 8:32 AM |
|
TinyMCE will be a separate html/text provider - it is separate from news articles.
Attached is some more screenshots to do with layout.
- Comments will now support gravatars
- Post comment form will now be on the same page as the article
- The templates (View.header.html, View.item.html, View.footer.html) are now merged into just View.item.html.
- Comments will be referenced by using [COMMENTS] as opposed to being appended on to the article form.
- [POSTCOMMENT] will display the comment form anywhere on the article screen.
The layout is just using core styles, so it might not look the greatest on the DNN blue skin, but you always have the option to customise to tailor towards your skin. |


|
Scott McCulloch Site Administrator |
|
|
Robert Axford Gold Membership
 Nuke Master Posts:765


 |
| 8/20/2008 4:03 PM |
|
| This is looking like another excellent update :) |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/20/2008 4:21 PM |
|
It will break a few templates temporarily, but should be just a matter of combining them together (view item/header/footer). The comment template will just become comment.item because you can put the header and footer in the view item as it's referenced by [COMMENTS] now. The default templates will be updated though. |
|
Scott McCulloch Site Administrator |
|
|
Tareq Gold Membership
 Nuke Addict Posts:91

 |
|
Steve J. Gold Membership
 Nuke Wiz Posts:109

 |
| 8/25/2008 7:32 AM |
|
Scott, I think it's great - one thing I would add for the comments template is that it would be nice to use an image or something to make it more obvious that commenting is a feature. The current - Click here to post a comment - isn't obvious enough. I asked for a token a while back that would allow me to use an image if there were no comments. Would it be possible to make that happen? Thanks! Steve |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12819


 |
| 8/25/2008 7:51 AM |
|
The [POSTCOMMENTLINK] is going away and being replaced with a comment form on the same page (like property agent). You'll be able to do the image in the next release as the comments template can be embedded in the view article template, so you could go:- [HASCOMMENTS][COMMENTS][/HASCOMMENTS] [HASNOCOMMENTS]Display image.. [/HASNOCOMMENTS] |
|
Scott McCulloch Site Administrator |
|
|