Login
Nome utente:

Password:

Ricorda



Recupero password

Registrati!
Navigazione
Utenti Online
8 utente(i) online
(1 utente(i) in News)

Iscritti: 0
Ospiti: 8

altro...

(1) 2 3 4 ... 12 »
Trucchi : Modifiche al blocco - Utenti online -
Inviato da timgno il 12/12/2007 13:00:00 (2688 letture)

Una semplice modifica al blocco - UTENTI ONLINE - per coloro che non vogliono far registrare altri utenti nel proprio sito e visualizzare solo alcune righe di questo blocco.

Leggi tutto... | altri 4239 bytes | 2 commenti
Trucchi : Hack modulo picito
 Inviato da astars il 6/11/2007 17:33:55 (3102 letture)

Questa e' solo un addon al modulo "picito" e per tanto va usato in quanto tale.
L'addon non e' stato creato dal team che ha sviluppato il modulo "picito".

Per qualsiasi domanda/critica/insulto :P potete contattarmi tramite:

WEB: http://www.astars.org
EMAIL: admin@astars.org

Citazione:

NOTA
L'addon e' stato volutamente strutturato per non essere integrato con il core al 100%, infatti effettua una query al DB-MYSQL e riporta i valori che ci interessano schematizzandoli e restituendoceli pronti per la lettura.

Leggi tutto... | altri 8137 bytes | 1 commento
Trucchi : Video hack modulo picito
Inviato da astars il 6/11/2007 17:32:59 (2339 letture)

Ciao, ho apportato una piccola modifica al modulo picito e ho fatto un video.

Se qualcuno fosse interessato alla modifica la postero' su xoopsitalia prossimamente.

Il video e' visibile QUI :xi

Commenti?
Trucchi : XoopsTrick in javascript per i temi
Inviato da astars il 24/7/2007 10:52:12 (2093 letture)

Quello che vi mostro e' un trucchetto carino, semplice e anche molto utile.

Lo script imposta una barra superiore che scorre insieme alla pagina.

La prima cosa da fare e' editare con un editor di testo il file themes.html che si trova in themes/nometema/themes.html.

La prima parte di codice va inserita tra:

<head>codice</head>


<!-- banner scorrevole home -->
<
style type="text/css">

#topbar{
position:absolute;
border1px solid black;
padding2px;
background-colorlightyellow;
width600px;
visibilityhidden;
z-index100;
}

</
style>

<
script type="text/javascript">

var 
persistclose=//set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX 30 //set x offset of bar in pixels
var startY //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (
document.compatMode && document.compatMode!="BackCompat")? document.documentElement document.body
}

function 
get_cookie(Name) {
var 
search Name "="
var returnvalue "";
if (
document.cookie.length 0) {
offset document.cookie.indexOf(search)
if (
offset != -1) {
offset += search.length
end 
document.cookie.indexOf(";"offset);
if (
end == -1end document.cookie.length;
returnvalue=unescape(document.cookie.substring(offsetend))
}
}
return 
returnvalue;
}

function 
closebar(){
if (
persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function 
staticbar(){
    
barheight=document.getElementById("topbar").offsetHeight
    
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
    var 
document;
    function 
ml(id){
        var 
el=d.getElementById(id);
        if (!
persistclose || persistclose && get_cookie("remainclosed")=="")
        
el.style.visibility="visible"
        
if(d.layers)el.style=el;
        
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
        
el.startX;
        if (
verticalpos=="fromtop")
        
el.startY;
        else{
        
el.ns pageYOffset innerHeight iecompattest().scrollTop iecompattest().clientHeight;
        
el.-= startY;
        }
        return 
el;
    }
    
window.stayTopLeft=function(){
        if (
verticalpos=="fromtop"){
        var 
pY ns pageYOffset iecompattest().scrollTop;
        
ftlObj.+= (pY startY ftlObj.y)/8;
        }
        else{
        var 
pY ns pageYOffset innerHeight barheightiecompattest().scrollTop iecompattest().clientHeight barheight;
        
ftlObj.+= (pY startY ftlObj.y)/8;
        }
        
ftlObj.sP(ftlObj.xftlObj.y);
        
setTimeout("stayTopLeft()"10);
    }
    
ftlObj ml("topbar");
    
stayTopLeft();
}

if (
window.addEventListener)
window.addEventListener("load"staticbarfalse)
else if (
window.attachEvent)
window.attachEvent("onload"staticbar)
else if (
document.getElementById)
window.onload=staticbar
</script>

<!-- end trick -->


La seconda parte di codice invece subito dopo
</headcodice


<!-- banner scorrevole home -->
<
body >
<
br /><br /><br />

<
div id="topbar">
<
a href="" onClick="closebar(); return false"><img src="http://www.astars.org/ax2016/images/images2/close.gif" border="0" /></a>
Per registrarti gratuitamente al sito clicca <a href="http://www.astars.org/ax2016/register.php">qui</a>
Mi raccomando.... :)
</
div>


La seconda parte di codice e' quella che potete modificare subito, quindi ricordatevi di scaricare e impostare l'url dell'immagine close.gif che trovate qui!

Spero che questo semplice trick vi possa essere utile.

Potete vedere l'esempio QUI!

Ciao a tutti astars

Leggi tutto... | 5 commenti
Trucchi : Xoops Trick per il modulo News 1.53 - Titolo Browser
Inviato da astars il 29/6/2007 12:10:00 (1508 letture)

Scrivo questa brevissima guida per tutti coloro che usano il suddetto
modulo come pagina di avvio nella home (http://tuosito/modules/news).

Leggi tutto... | altri 5023 bytes | 2 commenti
(1) 2 3 4 ... 12 »
Cerca
Sostieni XoopsItalia!
Ultimi Tutorial
Ultime Traduzioni
XOOPS ITALIA © 2002-2012 - Powered by XOOPS