• » 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 3 4 5 6  » printview


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

    register now
    login
    Author
    Message
    webSPELL god
    Member of webSPELL e.V.
    7824 Posts
    20.10.2009, 11:46 email offline quote 

    have a look at the ajax fetch functions in the js/bbcode.js, they also support time based actions. all is pretty well documented there.
    webSPELL newbie
    8 Posts
    20.10.2009, 02:42 email offline quote 

    I've been playing with this mod a lot. I've pretty much managed to do with it what I wanted lächeln
    One thing I can't do is make it autoswitch content.

    I'll probably figure it out eventually but in some days.. tho there are some good coders here who could do it faster.. no ?
    Any1 has any ideas how ? amüsiert

    Thx
    webSPELL newbie
    8 Posts
    09.10.2009, 17:41 email offline quote 

    After some hours figuring this out I managed to put images instead of names...

    Code:
    1.
    2.
    3.
    4.
    5.
    6.
    7.
    case 'names':
          foreach($show AS $key){
                     $image= $boxes[$key][1];
                     $title= $boxes[$key][2];
                     $buttons.='<td border="0"><a title="'.$title.'" onclick="fetch(\'sc_switchbox.php?action=switch&target='.$key.'\',\'switchbox\',\'replace\',\'event\');">
                             <input type=image src="'.$image.'" width="50" height="16" border="0"></a></td>';
                   }

    Here is an example of the boxes array :
    Code:
    1.
    $boxes[0]=array('sc_articles.php', 'pics/tabs/css_tab.jpg', 'CS:Source Scene News');


    I'm not an expert in PHP (dunno it this is the best solution), but it does the job
    Happy with it amüsiert
    webSPELL newbie
    8 Posts
    09.10.2009, 13:28 email offline quote 

    Yes, I'm also interested to use images for buttons lächeln
    webSPELL newbie
    54 Posts
    24.09.2009, 02:13 email offline quote 

    hi, there is any way to change the Names links to images?
    webSPELL friend
    632 Posts
    31.05.2009, 14:48 online quote 

    Awesome man, thank you! It works perfect.
    webSPELL god
    Member of webSPELL e.V.
    7824 Posts
    31.05.2009, 14:43 email offline quote 

    haven't tested it, but this should work:

    Code:
    1.
    $buttons.='<a href="#" onclick="fetch(\\'sc_switchbox.php?action=switch&target='.$key.'\\',\\'switchbox\\',\\'replace\\',\\'event\\');">'.$_switchboxlanguage->module[$boxes[$key][2]].'</a>';
    webSPELL friend
    632 Posts
    31.05.2009, 14:34 online quote 

    Tried to define a link, but I dont see anythink. Can you help me please?
    webSPELL god
    Member of webSPELL e.V.
    7824 Posts
    31.05.2009, 13:56 email offline quote 

    sure, just change the names switchcase (in line 93) to your needs.
    webSPELL friend
    632 Posts
    31.05.2009, 13:49 online quote 

    Hi, is it possible, to change the "name" function without buttons, in a view with only links? No buttons when I use "names" - I need only the links.
    Sort:      «  1 2 3 4 5 6  » printview


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

    register now
    login
  • » Support

    » Topics
    20.06.2013 - 13:31 - 0 Replies
    » Spam problem omg
    Spam problem omg
    Last post: RUSSHEL
    Board: EN - Addons
    20.06.2013 - 13:31
    20.06.2013 - 11:06 - 8 Replies
    » Mousesports
    Mousesports
    Last post: Marceld
    Board: DE - Showroom
    20.06.2013 - 11:06
    20.06.2013 - 11:01 - 7 Replies
    » PHP Code wird als Text au...
    PHP Code wird als Text ausgegeben
    Last post: qleakz
    Board: DE - Allgemeiner Support
    20.06.2013 - 11:01
    20.06.2013 - 08:41 - 7 Replies
    » Bewertungs-CMS gesucht!
    Bewertungs-CMS gesucht!
    Last post: Marceld
    Board: DE - Suche
    20.06.2013 - 08:41
    20.06.2013 - 01:59 - 0 Replies
    » [4SALE] EXCLUSIVE WEBSITE
    [4SALE] EXCLUSIVE WEBSITE
    Last post: hornyst
    Board: EN - Offers
    20.06.2013 - 01:59
    19.06.2013 - 02:59 - 10 Replies
    » [SELL] Gaming Website - E...
    [SELL] Gaming Website - EXCLUSIVE WEBSITE
    Last post: hornyst
    Board: EN - Offers
    19.06.2013 - 02:59
    18.06.2013 - 23:10 - 1 Replies
    » [S] Aufträge Web- und Pri...
    [S] Aufträge Web- und Printdesign
    Last post: neiD-
    Board: DE - Suche
    18.06.2013 - 23:10
    18.06.2013 - 12:30 - 9 Replies
    » Querry Failed Error no 10...
    Querry Failed Error no 1054
    Last post: LoRd
    Board: EN - Technical support
    18.06.2013 - 12:30
    18.06.2013 - 09:43 - 13 Replies
    » webSPELL Bootstrap (respo...
    webSPELL Bootstrap (responsible)
    Last post: sKy-e.belst
    Board: EN - General
    18.06.2013 - 09:43
    18.06.2013 - 01:11 - 1 Replies
    » how can i transform back ...
    how can i transform back to old my website ?
    Last post: Schalla
    Board: EN - Technical support
    18.06.2013 - 01:11
    17.06.2013 - 20:50 - 3 Replies
    » Suche Coder !
    Suche Coder !
    Last post: naki
    Board: DE - Suche
    17.06.2013 - 20:50
    17.06.2013 - 12:48 - 0 Replies
    » [4SALE] Custom team websi...
    [4SALE] Custom team website
    Last post: element-
    Board: EN - Offers
    17.06.2013 - 12:48
    16.06.2013 - 21:21 - 3 Replies
    » update webspell problem
    update webspell problem
    Last post: RUSSHEL
    Board: EN - General support
    16.06.2013 - 21:21
    16.06.2013 - 20:42 - 0 Replies
    » "Make sure you have cooki...
    "Make sure you have cookies enabled" During Login
    Last post: Sasquatch
    Board: EN - General support
    16.06.2013 - 20:42
    16.06.2013 - 16:22 - 8 Replies
    » Farbe von "Dein Profil wu...
    Farbe von "Dein Profil wurde aktualisiert. Du wirst weitergeleitet" ändern!
    Last post: Cali-go
    Board: DE - Allgemeiner Support
    16.06.2013 - 16:22
    16.06.2013 - 16:19 - 2 Replies
    » Sehr erfahrener Programmi...
    Sehr erfahrener Programmierer gesucht (Community,Clanpage)
    Last post: StufF
    Board: DE - Suche
    16.06.2013 - 16:19
    15.06.2013 - 22:39 - 0 Replies
    » portfolio/agency for sale
    portfolio/agency for sale
    Last post: Thoomii
    Board: DE - Biete
    15.06.2013 - 22:39
    15.06.2013 - 16:39 - 2 Replies
    » [4SALE] eSport Design/Tem...
    [4SALE] eSport Design/Template
    Last post: LeG3nDz
    Board: EN - Offers
    15.06.2013 - 16:39
    15.06.2013 - 10:35 - 12 Replies
    » externe Festplatte spinnt
    externe Festplatte spinnt
    Last post: plenergy
    Board: DE - Internet
    15.06.2013 - 10:35
    14.06.2013 - 20:53 - 11 Replies
    » Webspell ver 1070 EN
    Webspell ver 1070 EN
    Last post: TyRRRax
    Board: EN - General support
    14.06.2013 - 20:53
    » Partners
    Bilderkiste.org Image Hosting
    k3rmit.org
    PascalMh.de


    » Blog
    28.03.2013 - derchris
    » Those damn spammers