Eigenes Layout

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Eigenes Layout

Postby elo22 » Jan 05, 2011 3:28 am

Wie kann ich mantis im eigenen Layout laufen lassen so wie bei http://bugs.eisfair.org/my_view_page.php?

Lutz
elo22
 
Posts: 9
Joined: Nov 24, 2010 10:49 pm

Re: Eigenes Layout

Postby atrol » Jan 05, 2011 11:44 am

Ich habe es mir nicht im Detail angeschaut. Eventuell ist es realisiert durch Setzen von $g_top_include_page und Änderungen im default.css von MantisBT.
Ich würde einfach mal bei denen anfragen.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Eigenes Layout

Postby elo22 » Jan 10, 2011 1:30 am

atrol wrote:Ich würde einfach mal bei denen anfragen.


Ok.

Lutz
elo22
 
Posts: 9
Joined: Nov 24, 2010 10:49 pm

Re: Eigenes Layout

Postby atrol » Jan 13, 2011 5:51 pm

Falls die Nachfrage etwas ergibt, wäre es schön wenn das Ergebnis auch hier landen würde.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Eigenes Layout

Postby atrol » Feb 15, 2011 3:13 pm

elo22, gib es hier etwas Neues zu berichten?
Das Thema interessiert noch mehr Leute.
viewtopic.php?f=9&t=15067
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3632
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Eigenes Layout

Postby fneurieser » Feb 17, 2011 4:06 am

Hallo an Alle,

dank elo22 ist hier die Antwort zu seiner Anfrage bezüglich der Gestaltung der Site :http://bugs.eisfair.org/my_view_page.php zu finden.

Die Integration von Mantis in eine eigene Page ist relativ simpel. Du
musst eigentlich nur zwei html-Files schreiben und diese in
config_inc.php referenzieren. Dort gibt es einen entsprechenden Abschnitt:

------------->8 schnipp 8<-----------------------
###########################
# Include files
###########################

# Specify your top/bottom include file (logos, banners, etc)
# if a top file is supplied, the default Mantis logo at the
# top will be hidden
$g_top_include_page = 'foo/header.htm';
$g_bottom_include_page = 'foo/footer.htm';
# CSS file
# $g_css_include_file = '%path%css/default.css';
# meta tags
# $g_meta_include_file = '%absolute_path%meta_inc.php';
------------->8 schnapp 8<-----------------------


Die beiden html-Files müssen sich also in Dein Layout integrieren und in
einem div-Tag darin befindet sich dann das eigentliche Mantis. Das
Header-File bei uns ist recht komplex, deshalb hier nur das Footer-File:


------------->8 schnipp 8<-----------------------
</div> <!-- content -->
</div> <!-- main -->
</div> <!-- page -->
</div> <!-- page_margins -->
------------->8 schnapp 8<-----------------------


Im Header-File werden die obigen div-Tags geöffnet und via css passend
zur CI der "Rahmen" ums Mantis gestaltet.


Wer also noch daran interessiert ist, kann sich hier bedienen.

Franz-Georg
fneurieser
 
Posts: 4
Joined: Feb 15, 2011 10:24 am


Return to Deutsch

Who is online

Users browsing this forum: No registered users and 0 guests

cron