Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
XTE Core Themes Still Need some fixes.
  • Posted: 12.05.2004, 09:07
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    A few things really need to be done with the core themes before we get out of RC status.
    1. The style stuff to remove borders needs to be added in to the core themes.
    2. The centerblock needs to be disabled for all but home.
  • Posted: 12.05.2004, 17:36
     
    Chestnut
    rank:
    Steering Committee Steering Committee
    registered:
     August 2002
    Status:
    offline
    last visit:
    03.03.08
    Posts:
    1221
    I've encountered issues on XTE themes that won't add themeselves properly or fail to reload templates but my comp is getting screwed with time... I'll try on a new comp somewhere today or tonight.

    I made a check for differences between the Xanthia/pndocs/theme/theme.php and my theme.php and I found nothing different... Between XTE RC2 (or 3) and the last one, is there some change ?

    --
    Chestnut !
    Support via Private message won't be answered...
    http://dev.pnconcept.com
    http://www.postnuke-france.org
  • Posted: 12.05.2004, 18:35
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Michael,

    1) What themes are you seeing the need to add to the CSS files? I've checked two themes so far and the CSS is present.

    2) I've still to write the howto on this one. As themes stand we can't setup custom module templates from theme install script so it's difficult to provide themes pre-setup this way. I can (and will) sort out a howto for this over the next few days - I ran out of time this weekend for sitting down and writing this.

    -Mark
  • Posted: 12.05.2004, 20:13
     
    Chestnut
    rank:
    Steering Committee Steering Committee
    registered:
     August 2002
    Status:
    offline
    last visit:
    03.03.08
    Posts:
    1221
    "PostNuke" theme is one (missing img border 0 style)... didn't had the time to see for the others.

    --
    Chestnut !
    Support via Private message won't be answered...
    http://dev.pnconcept.com
    http://www.postnuke-france.org
  • Posted: 12.05.2004, 22:18
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534

    markwest


    1) What themes are you seeing the need to add to the CSS files? I've checked two themes so far and the CSS is present.

    PostNuke is one, I haven't checked all of the others yet though.

    Quote


    2) As themes stand we can't setup custom module templates from theme install script so it's difficult to provide themes pre-setup this way.


    At least for the core modules (home, user & admin) this should be possible. I imagine few, if any of us, want the center blocks on every page on the site. I can see where some may use the centerblock area for a menu or banner, but really, that's not the best place, at least in the core themes, to do that. As I've said, right blocks, while I find them annoying in the Admin area, are no huge deal, but the center block is annoying on all pages because it means you have to scroll down to get to the content, making the site a pain to use, and the visual block editor is okay, but it's a pain to have to go through each page to remove it.
  • Posted: 13.05.2004, 01:24
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    here's a screenshot of the PostNuke silver theme included with 0.750 and served from MacOSX running Apache viewed in Safari.

    You can see the box in the upper right hand corner and the issues with the menus on the left.
  • Posted: 13.05.2004, 06:10
     
    r3ap3r
    rank:
    Helper Helper
    registered:
     January 2004
    Status:
    offline
    last visit:
    22.02.08
    Posts:
    381

    mhalbrook


    2. The centerblock needs to be disabled for all but home.

    The problem with trying to control the center blocks from the install is that once you assign a block control to a module (index, admin, user, or any other module) then you have to explicitly tell it which blocks to display. In order for it to not show up for anything other than the index or user modules then I need to add block controls to each module. When the average user goes to add a new block they come back complaining that it never showed up and what should they do. That person then needs to go to the Xanthia block control for each theme and add the block to each module in order to get it to display. Simple math tells you this will take forever, especially if they are making the change over a dialup modem.

    By having it show up on all pages it mimics the standard themes and is less confusing to the beginner. I think it is more logical to have the more advanced users (the ones who are to the point of trying to control which blocks show up on which page) be the ones to make the change rather than the noob (the guy who just installed it for the first time, created a block and can't figure out why his block isn't showing up).

    Just my $0.02

    -Chris
  • Posted: 13.05.2004, 06:20
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    The center block doesn't show up on every page in a typical theme, only on the index.php page. To turn it off for every module takes forever, to turn it off in master by default and have a special template for the home page would solve the problem. If that can't be done, then Xanthia needs to go back to the drawing board.
  • Posted: 13.05.2004, 14:34
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    I've updated the PostNuke theme in CVS to create a custom module template for the homepage (custom module name *home). Can someone grab the theme and see what they think. If this looks ok i'll update the other themes to reflect this change.

    -Mark
  • Posted: 14.05.2004, 01:36
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    Failed to reload templates from file system
  • Posted: 14.05.2004, 01:42
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Michael,

    For this to work you need several new files including a new init script and an additional template in the modules directory. The zones are setup as part of the theme init script so to test it works remove the theme and re-initialise.

    If the theme is installed already you'd have to create the zone and assign the home.htm template to this custom module.

    -Mark
  • Posted: 14.05.2004, 01:59
     
    mhalbrook
    rank:
    Legend Legend
    registered:
     December 1969
    Status:
    offline
    last visit:
    01.12.08
    Posts:
    6534
    I removed the PostNuke theme, made sure it wasn't active and then uploaded the new one.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula