111
risto
_POST , _GET vs _REQUEST ??? wazzup???
  • 2004/4/17 9:54

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Hi. Im working on a module now, for simplicity i used _REQUEST for input. my problem is the following.

This is all in admin section of xoops.

I have 3 variables :
matchgid - 8
homeid - 7
awayid - 5

if I post this all is ok, but if i add it to url ie _GET (yes I cheacked it it correct ) nothing......

anyone got an idea?



112
risto
Re: Lang definition like _MD_FRMYES from DB
  • 2004/4/15 17:12

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


nope!



soryy and thanks!



113
risto
Re: Lang definition like _MD_FRMYES from DB
  • 2004/4/15 9:08

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Its not working

this is the code I'm woking on have a look.
<?php 
    $eventtypeq 
$xoopsDB->query("SELECT *    FROM ".$xoopsDB->prefix("leaguestats_event_types")); 
    
    while(
$typedata $xoopsDB->fetchArray($eventtypeq)){
        if(
$modeventdata[EventType]==$typedata[EventTypeID]){
            
$selected ="SELECTED";
        }else{
            
$selected="";
        }
        
$var =    $typedata[EventTypeName];
        print 
'<option value="' $typedata[EventTypeID] . '" ' $selected '>' constant($var) . '</option>';
    }            
?>



114
risto
Re: Lang definition like _MD_FRMYES from DB
  • 2004/4/15 8:52

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


thanx



115
risto
Lang definition like _MD_FRMYES from DB
  • 2004/4/15 8:34

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


How can I translate _MD_FRMYES if I get it from the DB?
I might get it as $frmval, but if i try printing it oput, I will as you know get "_MD_FRMYES".

How can I make XOOPS translate it?




116
risto
Re: Template files vs templates in DB
  • 2004/4/15 8:24

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Thanx anyway. The template are too big for editing in textarea fields, for now......

thanx anyway



117
risto
Template files vs templates in DB
  • 2004/4/14 9:59

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


I’m wondering if there is a way of using templates as files insted of having to update the module every time i edit a templae. It would save a lot of time for me.



118
risto
Re: language file, main.php and so on.....
  • 2004/4/13 12:46

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


exelent! this will save me mutchos time!



119
risto
Re: language file, main.php and so on.....
  • 2004/4/12 13:15

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


Ill mail it all to you!

$xoopsTpl->assign(array("img_hotfolder" => $bbImage['newposts_forum'],
"img_folder" => $bbImage['folder_forum'], "img_locked" =>
$bbImage['locked_forum'], "lang_newposts" => _MD_NEWPOSTS,
"lang_private" => _MD_PRIVATEFORUM"lang_nonewposts" => _MD_NONEWPOSTS,
"lang_search" => _MD_SEARCH"lang_advsearch" => _MD_ADVSEARCH));


Just takes so mutch time to doo! I'd like to doo i ince for each file!



120
risto
language file, main.php and so on.....
  • 2004/4/12 12:16

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


I'm wondering, is there a way of getting all the defined words in the array in one go?




TopTop
« 1 ... 9 10 11 (12) 13 14 »



Login

Who's Online

146 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits