• » webSPELL.org - Free Content Management System
  • Language switch: English German
  • login



    » lost password?   » register now
  • About webSPELL

    webSPELL is a free Content Management System which was especially developed for the needs of esport related communities. Since a short while we are also offering an optimized and enhanced webSPELL version for the special requirements of non-profit organisations. The purpose of both systems is to offer a professional and free opportunity to create and administrate your own website in an easy and optimized way.

    » Learn more about webSPELL     » Download webSPELL now!
  • Advertisement

    Follow us

  • Sort:      1 2  » printview
    Author
    Message
    Moderator
    Member of webSPELL e.V.
    1014 Posts
    01.08.2009, 18:58 email offline quote 

    hello

    I wrote a new modification for webSPELL 4.2.* (Successfully tested on 4.2.1a and 4.2.2a).

    Zum deutschen Thema

    About:
    The Unified Template Modification, short UNI template mod combines multiple templates into one file. From originally 293 templates it creates 73 uni templates. The goal is the make template adoption easier. As by-product it allows to have multiple templates installed and change template with one click in the admin center, a front end implication hasn't been done yet. The quality of uni template mod is it's sleek implication into webSPELL. Only 6 standart webSPELL files are edit automatically, including 2 languages files and admincenter.php with the link to the template manager. The mod itself contains 3 files.

    Installation:
    Follow the instruction in readme.txt. It's a easy 3 step installation.

    Performance:
    With a freshly installed webSPELL without any content it takes about 0.005* seconds per request longer than without. However the number varies a lot depending the page and content. But with lots of content this modified 'gettemplate' function will start to perform better since it has a cache.
    If someone would like to do a extensive unit test I would appreciate it and be very interested in the results.
    * Tests run on a XAMPP Installation on Mac OS X 10.6.2 with a Intel Core 2 Duo 2.4 Ghz with one template installed

    Debug mode:
    If you activate the webSPELL debug modus in _settings.php you can edit your template files live without reimporting them over the admin center. If you're done editing templates it's important to deactivate debug modus again to increase performance.

    Download:
    FILE NAME wsutm05alpha2.zip
    DOWNLOAD LINK http://www.crying-wolves.net/ws/wsutm05alpha2.zip
    VERSION v0.5 Alpha 2
    MD5 9da578452b98f998562bb63dea3a6559
    SIZE 11.0 KB
    FORMAT ZIP -> 3 PHP files
    NOTE This is a alpha release, ment for development and testing purpose. I do not recommend using it on a live page just yet. Wait for a beta!

    Information:
    NAME Unified Template Modification
    COMPATIBILITY webSPELL 4.2.*
    NEWEST VERSION v0.5 Alpha 2
    LICENSE GNU GPL v3
    COPYRIGHT 2010 by warcry <Thomas Preusse, Switzerland>

    Changelog
    0.5 Alpha 1 to 05. Alpha 2
    • + Caching templates to increase performance when get_template() is used in loops
    • * Fixed problems with converting index.php to a unified template


    Kind regards
    warcry
    webSPELL newbie
    30 Posts
    04.08.2009, 17:58 offline quote 

    An elegant idea!
    webSPELL hero
    1783 Posts
    04.08.2009, 19:44 offline quote 

    sounds very good lächeln i get an query failed after installing and import the default tmplate
    Moderator
    Member of webSPELL e.V.
    1014 Posts
    12.03.2010, 15:43 email offline quote 

    Alpha 2 was released yesterday. Thinking about doing a beta soon, I will make the css styles template specific and also allow a simple txt file to provide this information at the first import of an design (bg color, win loose and so on).
    webSPELL newbie
    12 Posts
    19.03.2010, 19:28 offline quote 



    cool site amüsiert
    webSPELL friend
    674 Posts
    20.03.2010, 11:37 email offline quote 

    awesome! looks like webspell's getting multi templates amüsiert
    idea:
    In admincenter make .cfg or .xml file so it reads information about that template and shows: template name, template author, author link, template screenshot...

    www.kode-designs.com
    How much wood would a woodchuck chuck if a woodchuck could chuck wood?
    Moderator
    Member of webSPELL e.V.
    1014 Posts
    20.03.2010, 12:21 email offline quote 

    @gljiva It's the site of a designer friend, he does some cool interfaces.

    eggzy wrote:

    awesome! looks like webspell's getting multi templates amüsiert
    idea:
    In admincenter make .cfg or .xml file so it reads information about that template and shows: template name, template author, author link, template screenshot...

    Yeah I plan to do something like that:
    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    TEMPLATENAME=xy
    AUTHOR=warcry
    LICENSE=GPL
    PAGEBG=#e6e6e6
    TABLEBORDER=#666
    HEADBG=#333
    ...

    The Style information will be editable in the admin center however the name, author and license only by editing the file. I would also recommend for people who do take the time to edit all or most files to not use the db driven colors like cell bg x and win/loose/draw but instead create clean css classes. However I will support them since they are sometime also used in the php files and not everybody has the time to edit all the files.

    But if somebody would be interested in creating a clean xhtml strict template which is structured after a good schema and easily styleable via CSS be sure to contact me I'm sure there is a great need for it.
    webSPELL friend
    674 Posts
    20.03.2010, 12:35 email offline quote 

    I think it would easily be done by changing bgcolor="" to class="" and assign class names in _settings.php

    btw I need to reimport template after making it default?

    www.kode-designs.com
    How much wood would a woodchuck chuck if a woodchuck could chuck wood?
    Moderator
    Member of webSPELL e.V.
    1014 Posts
    20.03.2010, 12:52 email offline quote 

    eggzy wrote:

    I think it would easily be done by changing bgcolor="" to class="" and assign class names in _settings.php

    btw I need to reimport template after making it default?

    Yes it could but I don't want to create a branch of webSPELL on my own just yet xD So massive php file editing is not something I'm aiming at right now - I'm more into the smart mods and addons lächeln

    No you won't need to reimport after changing which template is default.
    webSPELL newbie
    35 Posts
    22.03.2010, 20:41 email offline quote 

    I have a fresh install of 4.2.2 and it seems i got this mod installed properly, but how do i add several themes so i can switch between them??



    Sort:      1 2  » printview


    To start or to reply to a topic you have to be registered and logged in!

    register now
    login
  • » Support

    » Topics
    23.05.2013 - 14:50 - 3 Replies
    » Kalendar-Box
    Kalendar-Box
    Last post: kassor
    Board: DE - Anfragen
    23.05.2013 - 14:50
    23.05.2013 - 14:04 - 5 Replies
    » I cannot upload template ...
    I cannot upload template to my cms .
    Last post: arjanw1987
    Board: EN - General
    23.05.2013 - 14:04
    23.05.2013 - 11:29 - 14 Replies
    » High Quality Website
    High Quality Website
    Last post: BlueaKaKev
    Board: EN - Offers
    23.05.2013 - 11:29
    23.05.2013 - 10:14 - 12 Replies
    » Mein Forum
    Mein Forum
    Last post: Lordy4007
    Board: DE - Fragen zur Seite
    23.05.2013 - 10:14
    23.05.2013 - 02:08 - 10 Replies
    » forum anzeige erweitern
    forum anzeige erweitern
    Last post: LoRd
    Board: DE - Allgemeiner Support
    23.05.2013 - 02:08
    22.05.2013 - 23:06 - 9 Replies
    » When the update?
    When the update?
    Last post: kola60
    Board: EN - General
    22.05.2013 - 23:06
    22.05.2013 - 22:21 - 2 Replies
    » Website For SALE! CODED
    Website For SALE! CODED
    Last post: Osamakillz
    Board: EN - General
    22.05.2013 - 22:21
    22.05.2013 - 21:43 - 3 Replies
    » Slider Links Bitte um Hil...
    Slider Links Bitte um Hilfe
    Last post: bazic
    Board: DE - Allgemein
    22.05.2013 - 21:43
    22.05.2013 - 21:28 - 464 Replies
    » Wettscript 2.1 for 4.2.3a...
    Wettscript 2.1 for 4.2.3a - Betscript
    Last post: Amokossi
    Board: DE - Fertige Skripte
    22.05.2013 - 21:28
    22.05.2013 - 17:46 - 3 Replies
    » Admin login
    Admin login
    Last post: blackmoonstah
    Board: DE - Allgemeiner Support
    22.05.2013 - 17:46
    22.05.2013 - 17:28 - 1 Replies
    » Design Ausverkauf - alles...
    Design Ausverkauf - alles unter 70€
    Last post: Freestyler92
    Board: DE - Biete
    22.05.2013 - 17:28
    22.05.2013 - 14:54 - 2 Replies
    » adminlogin auf allypage f...
    adminlogin auf allypage funktioniert nicht mehr. bitte um hilfe
    Last post: blackmoonstah
    Board: DE - Technischer Support
    22.05.2013 - 14:54
    22.05.2013 - 14:41 - 4 Replies
    » Content laden
    Content laden
    Last post: bazic
    Board: DE - Anfragen
    22.05.2013 - 14:41
    22.05.2013 - 09:57 - 0 Replies
    » [4SALE] eSport Design/Tem...
    [4SALE] eSport Design/Template
    Last post: LeG3nDz
    Board: EN - Offers
    22.05.2013 - 09:57
    22.05.2013 - 09:24 - 1 Replies
    » Updatefunktion?
    Updatefunktion?
    Last post: Sysix
    Board: DE - Vorschläge
    22.05.2013 - 09:24
    22.05.2013 - 00:47 - 5 Replies
    » msql datenbank transfer
    msql datenbank transfer
    Last post: pgene
    Board: DE - Technischer Support
    22.05.2013 - 00:47
    21.05.2013 - 19:43 - 9 Replies
    » login startseite
    login startseite
    Last post: Argu
    Board: DE - Technischer Support
    21.05.2013 - 19:43
    21.05.2013 - 13:18 - 7 Replies
    » [Biete] Template Designs
    [Biete] Template Designs
    Last post: Marceld
    Board: DE - Biete
    21.05.2013 - 13:18
    21.05.2013 - 05:15 - 0 Replies
    » Need Designer for Logo/Te...
    Need Designer for Logo/Template
    Last post: Kody
    Board: EN - General
    21.05.2013 - 05:15
    21.05.2013 - 05:13 - 0 Replies
    » Looking for Designers/Cod...
    Looking for Designers/Coders (paid)
    Last post: Kody
    Board: EN - Requests
    21.05.2013 - 05:13
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers