Re: [Jaws-project-developers] gadget?
Status: Alpha
Brought to you by:
ionmx
|
From: Jorge G. <co...@ga...> - 2004-10-22 05:01:21
|
Compadre, esfuérzate un poquito mas en escribir bien. No manches!.
ch...@gn... wrote:
> heyt ke ondax! pues nunka habia escrito aki.. por ps la verdad no c mucho
> de progrmamacion de php y todo eso.. pero ps en eso ando..!! y kieria sabe
> si se puede hace un tipo gadget ke muestra una pagina en el centro del
> layout..!! una ves lo ise kon una verison anteriso pero ahora ne la 4 no
> puedo me sale gadget enable!! estubre tratando kon mysql agregando el
> nombre y todo pero parece ke no jalakon el gadget de chatbox le borre unas kosas y pues si jala la ves
> pasada.. espero y me ayuden kon eso haber si se puede.. chanse es algo muy
> fasil o una pregunta muy tonta pero ps no se :sbueno saludos!!
> y gracias de antemano!
> <?PHP
>
> class pag extends gadget
> {
> var $tpl;
>
> function pag ()
> {
> $this->name = "pag";
> $this->description = "pa meter tus propias paginas";
> $this->version = "0.3";
> $this->load_translation();
>
> // add actions
> $this->add_action("default_action","normal","Default
> Action"); $this->add_action ("display","layout");
> $this->add_action("admin","admin","Gadget administration");
> $this->add_action("set_limit","admin","Gadget
> administration"); $this->add_action("delete_selected","admin","Gadget
> administration"); $this->tpl = new
> template($GLOBALS["path"]."themes/".$GLOBALS["app"]->theme."/"); $this->tpl->load ("pag.html");
> }
>
> function default_action()
> {
> return $this->display();
> }
>
> function display ()
> {
> $this->tpl->set_block("display");
> }
> }
> ?>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Jaws-project-developers mailing list
> Jaw...@li...
> https://lists.sourceforge.net/lists/listinfo/jaws-project-developers
>
|