Postnuke Italia il meglio di postnuke in Italiano  


Nuova discussione   Rispondi
Precedente Versione stampabile Messaggi privati Successivo
Supporto Discussione
Status: Inviato

Autore Messaggio
redpirateOffline
Oggetto: pro  MessaggioInviato: 24 Gen 2007 - 05:09 PM
PN Utente Esperto
PN Utente Esperto


Registrato: 06 Feb 2006
Messaggi: 107

Status: Offline
allora riguardo il tag <head> lo trovi all'inizio della pagina subito dopo il tag <html>. prima che trovi l'altro tag </head> (che chiude il primo) inserisci <!--[pnphpbbstylesheet]--> (l'importante è che sia all'interno dei tag citati).

Se poi vai sulla tua installazione postnuke a cercare il file seguente: "function.pnphpbbstylesheet.php"

modules/xanthia/..... lo apri con un qualunque editor (io uso macromedia) all'inizio trovi diverse linee di commento che spiegano come usare la variabile <!--[pnphpbbstylesheet]-->.
ciao

_________________
======
redpirate
======
 
 Profilo Invia un Messaggio privato a questo utente Homepage  
Rispondi citando Torna in cima
tolucOffline
Oggetto: pro  MessaggioInviato: 15 Feb 2008 - 09:34 AM
PN Principiante
PN Principiante


Registrato: 07 Nov 2006
Messaggi: 5

Status: Offline
Salve, ho seguito le istruzioni ma qualunque modifica apporti, non cambia nulla. Ho verificato che il file theme_info.cfg viene aggiornato. <!--[pnphpbbstylesheet]--> l'ho inserito nel file \themes\PostNuke\master.htm e ho agiunto l'altro file in modules\Xanthia\plugins.
Qualcuno sa indicarmi qualche altro posibile errore?
Sto lavorando in locale con l'ultima versione di postnuke (0.7.6.4) e pnphpbb2 (1.2i-p3)

Saluti e grazie,

Luca
 
 Profilo Invia un Messaggio privato a questo utente  
Rispondi citando Torna in cima
tolucOffline
Oggetto: pro  MessaggioInviato: 16 Feb 2008 - 02:29 AM
PN Principiante
PN Principiante


Registrato: 07 Nov 2006
Messaggi: 5

Status: Offline
Questo post che ho trovato sul sito di pnphpbb è risolutivo e ben specificato:


If when you view the source of your ugly forum you DO NOT see a line similar to this one:

<link rel="stylesheet" href="./modules/PNphpBB2/templates/PNTheme/styles/PostNukeBlue.css" type="text/css">

between the <head> and </head> tags you have (finally) found the right post.

OK, if you have not been hunting up and down these forums and the docs for the last three days, proceed to do so now. You have not yet earned a direct answer to the theme/color matching question. However, if you were one of the many people whom have been viewing the same posts as I have over the last week, I finally figured out how the stuff works and here is the answer.

(I do not know much, just how to make a floating-in-empty-space-forum get some boarders and boundaries. So do not go asking me any questions outside of this post.)

PNR = your postNuke root folder (where you have postNuke installed)

1) Copy

PNR/modules/PNphpBB2/Xanthia/function.pnphpbbstylesheet.php

To:

PNR/modules/Xanthia/plugins/


2) Navigate to PNR/themes/

Here you will find all of the themes that Xanthia uses to make your site look nice. Starting with the top theme and doing the same #3 instructions for each theme proceed with #3.

(If you do not do it with each theme, 6 months from now you are going to change your theme and be right back here forgetting the solution!)


3) Edit “the theme”/templates/master.htm ex: PiterpanV2/templates/master.htm

Add:

<!--[pnphpbbstylesheet]-->

between the <head> and </head> tags of the master.htm

Add the same code between head and /head to:

/”the theme”/templates/modules/home.htm

(changes not required for ExtraLite theme, files do not exist, I do not know why)


4) Do this for each theme now! Just do it, or something stupid could result.


5) Go to your admin panel and open your settings module. Change your default theme to extralite, do the same for your personal theme, can be found under your “my account”. This is a safety thing to prevent you from doing something stupid… I did something stupid learn from my mistake.


6) Go into your Xanthia control menu (icon in the administration menu). “Remove” all active themes. “Add” the themes you want back. (this cycles them out of and back into your “database”)

If you did not heed my advice, and removed the theme you were currently using everything is going to go white, and you will see some crap about template not found. HIT BACK and add the theme you just removed. Switch to extralite.


7) Reset the default themes you want in your profile and settings. View your forums and turn on theme matching if required. For me, this made them as viewable as the rest of my site! (Both seabreeze, and piterpan do not have great color schemes, others look good though.)


Cool If everything has worked up to here you should be happy. If you want to make modifications to the forum style sheet navigate to:

PNR/modules/PNphpBB2/templates/PNTheme/styles/

And you will find a list of the style sheets that have been used while in the forums. (in other words, if you have not entered your forums with the seabreeze theme, you will NOT find the seabreeze.css at that location.)

IF you do not like the colors of the forum I THINK this is where color matching comes in, and I believe you have to modify the style sheet from the actual Xanthia theme. I have not tried this… and I doubt I will.


If that didn't help, give it all up and move to Nebraska.

Respectfully,
Eric


Saluti a tutti,

Luca
 
 Profilo Invia un Messaggio privato a questo utente  
Rispondi citando Torna in cima
Mostra prima i messaggi di:     
Vai a:  
Tutti i fusi orari sono GMT
Nuova discussione   Rispondi
Precedente Versione stampabile Messaggi privati Successivo
Powered by PNphpBB2 © 2003-2007 
Credits Vers. Italiana By PostnukeItalia.com


Web site powered by PostNuke ADODB database library PHP Language PostNukeItalia.com - La comunità italiana utenti PostNuke

Tutti i loghi e marchi in questo sito sono di proprietà dei rispettivi proprietari.
I commenti sono di proprietà dei rispettivi autori, ed il resto © 2008 PostNukeItalia.com
Questo sito è stato creato con PostNuke, supportato e personalizzato dallo staff di PostNukeItalia.com
PostNuke è un sistema di gestione di siti/portali scritto in PHP.
PostNuke è un software libero rilasciato sotto la licenza GNU/GPL.
Puoi visualizzare le nostre news usando il file backend.php



Page created in 0.28 seconds.