Usunięcie nazwy strony w banerze skórki Womanbird
|
pijar |
Dodany dnia 25.08.2011 11:34:52
|
Przedszkolak
Postów: 41 Ostrzeżeń: 2
v7.02.06 Data rejestracji: 20.04.2008 10:48
|
Jak w panelu administracyjnym, -zarządzanie stroną-główne ustawienia w zakładce: Nazwa strony, wpiszemy jakiś opis to wyświetla on się również w banerze.
Jak zrobić żeby opis został w PA, ale żeby nie był widoczny w banerze bo jest to nieestetyczne.
PW od moderatora:
- Przeniesienie tematu - Drecha 25.08.2011 11:59
Edytowane przez pijar dnia 25.08.2011 11:52:55
|
|
|
|
Wścibski Gość |
Dodany dnia 22.11.2024 11:02:36
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
Detektyw Monk |
Dodany dnia 25.08.2011 12:00:48
|
Przedszkolak
Postów: 52 Pomógł: 4 Ostrzeżeń: 1
v7.02.03 Data rejestracji: 04.06.2011 15:43
|
Daj plik theme.php swojej skórki. |
|
|
|
pijar |
Dodany dnia 25.08.2011 12:10:44
|
Przedszkolak
Postów: 41 Ostrzeżeń: 2
v7.02.06 Data rejestracji: 20.04.2008 10:48
|
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img src='".THEMES."Womanbird/images/bullet.gif'><span class='bullet'></span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table align='center' cellspacing='0' cellpadding='0' width='980px'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr align='center'>
<td class='woman1'>".$settings['sitename']."<p class='motto'>Your Text Here!</P></td><td class='woman2'></TD>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='980px'>\n<tr>\n";
echo "<td align='center' class='sub-header'>".showsublinks("","white")."</td>\n";
echo "<td align='right' class='white-header'>".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='980px' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "<table cellpadding='0' cellspacing='0' width='980px'>\n<tr>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='center' class='main-footer'><hr>".showcounter()."<br /><br />".stripslashes($settings['footer']);
if (!$license) { echo "Womanbirdv7 By Mndrs78<br /><br />\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr><tr>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table class='scapmaintitle' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td colspan='2' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></td></td>\n</tr>\n</table>\n";
}
?>
|
|
|
|
Borek |
Dodany dnia 25.08.2011 12:32:00
|
Bywalec
Postów: 399 Pomógł: 64
v7.02.05 Data rejestracji: 28.06.2009 19:38
|
Usuń sobie: <table cellpadding='0' cellspacing='0' width='100%'>
<tr align='center'>
<td class='woman1'>".$settings['sitename']."<p class='motto'>Your Text Here!</P></td><td class='woman2'></TD>
</tr>
</table>
Nie pomagam przez GG, PW itp. Tylko tutaj.
|
|
|
|
pijar |
Dodany dnia 25.08.2011 12:54:29
|
Przedszkolak
Postów: 41 Ostrzeżeń: 2
v7.02.06 Data rejestracji: 20.04.2008 10:48
|
Jak usuwam to znika cały baner. |
|
|
|
Borek |
Dodany dnia 25.08.2011 12:59:18
|
Bywalec
Postów: 399 Pomógł: 64
v7.02.05 Data rejestracji: 28.06.2009 19:38
|
To usuń tylko to: <td class='woman1'>".$settings['sitename']."<p class='motto'>Your Text Here!</P></td>
Nie pomagam przez GG, PW itp. Tylko tutaj.
|
|
|
|
pijar |
Dodany dnia 25.08.2011 13:02:38
|
Przedszkolak
Postów: 41 Ostrzeżeń: 2
v7.02.06 Data rejestracji: 20.04.2008 10:48
|
Nadal znika cały baner. |
|
|
|
Fasonsql |
Dodany dnia 25.08.2011 13:10:35
|
Przedszkolak
Postów: 75 Pomógł: 3 Ostrzeżeń: 1
Data rejestracji: 01.01.2011 20:26
|
Może wystarczy edytować tą linie:
<td class='woman1'>".$settings['sitename']."<p class='motto'>Your Text Here!</P></td>
Na:
<td class='woman1'>".$settings['sitename']."<p class='motto'></P></td>
Tutaj cały plik theme.php po edycji:
<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<img src='".THEMES."Womanbird/images/bullet.gif'><span class='bullet'></span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;
//Header
echo "<table align='center' cellspacing='0' cellpadding='0' width='980px'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr align='center'>
<td class='woman1'><p class='motto'></P></td><td class='woman2'></TD>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='980px'>\n<tr>\n";
echo "<td align='center' class='sub-header'>".showsublinks("","white")."</td>\n";
echo "<td align='right' class='white-header'>".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";
//Content
echo "<table cellpadding='0' cellspacing='0' width='980px' class='$main_style'>\n<tr>\n";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "</tr>\n</table>\n";
//Footer
echo "<table cellpadding='0' cellspacing='0' width='980px'>\n<tr>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td align='center' class='main-footer'><hr>".showcounter()."<br /><br />".stripslashes($settings['footer']);
if (!$license) { echo "Womanbirdv7 By Mndrs78<br /><br />\n".showcopyright(); }
echo "</td>\n";
echo "</tr>\n</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer middle-border'>\n";
echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']);
echo "</td>\n";
echo "</tr><tr>\n";
echo "</tr>\n</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
echo "<td class='capmain'>".$subject."</td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td align='center' class='news-footer'>\n";
echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']);
echo "</td>\n</tr>\n</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='capmain'>".$title."</td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td class='main-body'>\n";
}
function closetable() {
echo "</td>\n";
echo "</tr><tr>\n";
echo "</tr>\n</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
echo "<table class='scapmaintitle' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='scapmain'>$title</td>\n";
if ($collapse == true) {
$boxname = str_replace(" ", "", $title);
echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
}
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%' class='spacer'>\n<tr>\n";
echo "<td colspan='2' class='side-body'>\n";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>\n"; }
echo "</td></td></td>\n</tr>\n</table>\n";
}
?>
Jeżeli nadal nie zadziała do daj plik styles.css
Edytowane przez Fasonsql dnia 25.08.2011 13:15:06
Aplikacje Windows Phone | Front-end Developer | Web-Designer
|
|
|
|
Borek |
Dodany dnia 25.08.2011 13:14:30
|
Bywalec
Postów: 399 Pomógł: 64
v7.02.05 Data rejestracji: 28.06.2009 19:38
|
To dlaczego u mnie jest wszystko OK?
Plik theme.php (header): echo "<table align='center' cellspacing='0' cellpadding='0' width='980px'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr align='center'>
<td class='woman2'></TD>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='980px'>\n<tr>\n";
echo "<td align='center' class='sub-header'>".showsublinks("","white")."</td>\n";
echo "<td align='right' class='white-header'>".showsubdate()."</td>\n";
echo "</tr>\n</table>\n";
Nie pomagam przez GG, PW itp. Tylko tutaj.
|
|
|
|
pijar |
Dodany dnia 25.08.2011 22:11:15
|
Przedszkolak
Postów: 41 Ostrzeżeń: 2
v7.02.06 Data rejestracji: 20.04.2008 10:48
|
Teraz działa, podmieniłem Plik theme.php (header)i jest ok.
Dziękuję za pomoc. |
|
|