Error reporting for admin ONLY. Debugging info should not show to other users, only admin group. I hate having to shopw everyone my debugging info when I'm trying to look at one thing. You should be able to set group access for this feature as well.
Yes, it's easy and possible to hack blocks, but the point of improving XOOPS is to make it so that the less things people have to hack the better, and these block/display issues, imo, are a major part of the core of any CMS, otherwise A CMS becomes "pointless" if you end up forcing people to hack blocks and news/article posting modules to get it to do certain basic things that all relate to handling "CONTENT."
And the News Module is part of the "core." The core comprises several standard modules which the new module development team is working on and these include News, Sections, Blocks, Forums, Downloads, Headlines, etc. At the moment the first module getting the major overhall treatment is the Sections Mod. But all of these modules are part of the "Xoops" standard "Core," such as it is.
I don't think you can have any realistic discussion about the "core" without talking about improving these modules and what the end user and administrative processes are going to be. Sure you can talk about function classes until you are blue in the face, but without real world applications it's pointless, especially for all of us non-coders.
malexandria wrote:
Well, is not the News Module and how content is displayed MAJOR part of the core?
Big_Bro wrote:
Malexandria hit the proverbial nail on the head. Without a doubt, more and more powerful content display blocks are the number one need in my book.
A content management system needs to have multitudes of methods for displaying the content that it manages, it can be perfect in managing content for a webmaster but if there are only basic ways to display that content, it fails to deliver it's promise. In my opinion slick management pages etc would be nice but I'd rather present the nice face to my users and have a crappy backend interface than vice versa.
A system of display that includes elements of the great work Draven has done with his gaining-mass site would be outstanding, such as the news topics category listings and side blocks that let you handpick news items for display. A block like I manually created in my newshax site would be great too, where we could list a certain number of stories of our choice by the headline and a fixed-size thumbnail image. I have a hand-coded version on my site at www.newshax.com, on top of the right column.
Anyway, my point is that admin interface improvements are certainly welcome but are a much lower priority than public interface improvements.
skalpa wrote:
Quote:A smarty based admin area
Well, I don't agree 100% with that one. However, being able to change its appearance is needed, so I choosed an intermediary option.
1) The admin is a sensitive part....
Quote:btw, I think skalpa already has an idea similar to this in the works
Actually, it's still in my mind. But the day I manage finding the way not sleeping anymore, you'll have it
Seriously, as 2.1 won't be here right now, consider it's planned for it.
Quote:Having this allows you to theme differently for each module
It's already there !
Check <{$module.directory}> and <{$module.name}>
Also, theme writers may want to try "Smarty debug" mode in PHP or insert <{debug}> in their templates to see all the defined variables.
if ( $totalpages > 1 ) {
$pagination .= ' <img src="'.XOOPS_URL.'/images/icons/posticon.gif" /> ';
for ( $i = 1; $i <= $totalpages; $i++ ) {
if ( $i > 3 && $i < $totalpages ) {
$pagination .= "...";
} else {
$addlink = '&start='.(($i - 1) * $forumdata['posts_per_page']);
$pagination .= '[<a href="'.$topiclink.$addlink.'">'.$i.'</a>]';
}
}
}
if ( $totalpages > 1 ) {
$pagination .= ' <img src="'.XOOPS_URL.'/images/icons/posticon.gif" /> ';
$setdots = 0;
for ( $i = 1; $i <= $totalpages; $i++ ) {
// Hacked by Draven
if ( $i > 3 && $i < $totalpages) {
if($setdots == 0){
$pagination .= "...";
$setdots = 1;
}
// -- End Hack
} else {
$addlink = '&start='.(($i - 1) * $forumdata['posts_per_page']);
$pagination .= '[<a href="'.$topiclink.$addlink.'">'.$i.'</a>]';
}
}
}