[x] Navigation

[x] Wer ist wo
 Bots:
1: Baidu > Benutzerbereich
2: Google > Forum 9.x
3: Majestic-12 > Startseite
 Visitors:
1: Downloads
2: Downloads
3: Forum 9.x
4: Downloads

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Theme cpgnuke erweitern (header)

Author Message
lexi_
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPost subject: Theme cpgnuke erweitern (header)
Posted: 04.05.2006 17:10
Reply with quote

Hallo,
ich hab folgendes Problem:
ich habe folgendes in die Datei /themes/cpgnuke/theme.php eingefügt

Array:
'S_IRCChat'    => is_active('IRCChat') ? _IRCChatLANG : false,
'S_IRCCHAT'    => getlink('IRCChat'),

und in die Datei /Themes/cpgnuke/template/header.html

Array:
 <!-- IF S_IRCChat -->
    :: <a href="{U_IRCCHAT}">{S_IRCCHAT}</a>
    <!-- ENDIF -->

Im Menuepunk hab ich jetzt folgendes stehen

Array:
:: index.php?name=IRCChat  

wenn ich jetzt auf den link gehe komm ich auf meine hauptdomain

Array:
http://www.mainedomain.de/

der link wird nicht richtig angehängt

eingeschalteter Errorlog sagt folgendes dazu:

Array:

includes/classes/template.php(102) : eval()'d code

    * Notice line 30: Use of undefined constant S_IRCChat - assumed 'S_IRCChat'
    * Notice line 31: Undefined index: U_IRCCHAT


wo liegt mein Fehler
mfg
Lexi


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2
Back to top
View user's profile Send e-mail
Ertan
Webmaster


Joined: Mar 19, 2004
Posts: 1240
Location: Germany

PostPost subject: Re: Theme cpgnuke erweitern (header)
Posted: 05.05.2006 11:14
Reply with quote

<a href="{U_IRCCHAT}">

{U_IRCCHAT} -> wo definiert?

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
lexi_
Doppel-Null-Agent


Joined: Jul 07, 2004
Posts: 178

PostPost subject: Re: Theme cpgnuke erweitern (header)
Posted: 05.05.2006 21:03
Reply with quote

hab es jetzt so gelößt
/themes/dragonfly/theme.php
Array:
'CSS_FILE'     => ereg('MSIE', $_SERVER['HTTP_USER_AGENT']) ? 'ie' : 'style',
		'PUBLIC_HEADER' => !defined('ADMIN_PAGES'),
		'B_L_VISIBLE'  => hideblock('600') ? 'style="display: none"' : '',
		'B_L_HIDDEN'   => hideblock('600') ? '' : 'style="display: none"',
		'G_LEFTIMAGE'  => $imgl,
		'G_RIGHTIMAGE' => $imgr,
		'S_IS_ADMIN'   => is_admin(),
		'S_CAN_ADMIN'  => can_admin(),
		'S_IS_USER'    => is_user(),
		'S_LOGO'       => $site_logo,
		'S_SITENAME'   => $sitename,
		'S_HOME'       => _HOME,
		'S_DOWNLOADS'  => is_active('Downloads') ? _DownloadsLANG : false,
		'S_FORUMSPRO'     => _ForumsProLANG,
		'S_IRCCHAT'     => _IRCChatLANG,
		'S_FRIENDFINDER'     => _FriendFinderLANG,
		'S_MY_ACCOUNT' => is_user() ? _Your_AccountLANG : _BREG,
		'S_ADMIN'      => _ADMINISTRATION,
		'S_BANNER'     => ($banners) ? viewbanner() : '',
		'U_MAININDEX'  => $mainindex,
		'U_DOWNLOADS'  => getlink('Downloads'),
		'U_FORUMSPRO'     => getlink('ForumsPro'),
		'U_IRCCHAT'     => getlink('IRCChat'),
		'U_FRIENDFINDER'     => getlink('FriendFinder'),
		'U_MY_ACCOUNT' => getlink(is_user() ? 'Your_Account' : 'Your_Account&file=register'),
		'U_ADMININDEX' => $adminindex,

und

/themes/dragonfly/template/header.html

Array:
<tr><td colspan="3" class="headmenu">{G_LEFTIMAGE}{G_RIGHTIMAGE}
   .:: <a href="{U_MAININDEX}">{S_HOME}</a>
    <!-- IF S_DOWNLOADS -->
    :: <a href="{U_DOWNLOADS}">{S_DOWNLOADS}</a>
    <!-- ENDIF -->
    :: <a href="{U_FORUMSPRO}">{S_FORUMSPRO}</a>
    :: <a href="{U_IRCCHAT}">{S_IRCCHAT}</a>
    :: <a href="{U_FRIENDFINDER}">{S_FRIENDFINDER}</a>
    :: <a href="{U_MY_ACCOUNT}">{S_MY_ACCOUNT}</a>
    <!-- IF S_IS_ADMIN -->
    :: <a href="{U_ADMININDEX}">{S_ADMIN}</a>
    <!-- ENDIF -->
    ::.
  </td></tr>

mfg
lexi


lexi_'s Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Server SUSE 9.3 / PHP 4.3.10 / Mysql 4.1.10a / cpg 9.2.0.RC2
Back to top
View user's profile Send e-mail
Ertan
Webmaster


Joined: Mar 19, 2004
Posts: 1240
Location: Germany

PostPost subject: Re: Theme cpgnuke erweitern (header)
Posted: 05.05.2006 21:58
Reply with quote

Wink
_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's Serverdaten - verwendete Vers. (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page    Forum Index > > Installation & Upgrades 9.x
Page 1 of 1
All times are GMT + 1 Hour



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy