Google+

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nu ii activ header-ul..
#1
Am umblat eu pe la global.css (am vrut sa pun cod analitycs...) in #header l-am bagat codul si dupa l-am sters ca m-am gandit ca nu ii bine acolo si acum nu mai imi este activ imaginea de la header (adica nu mai pot da click pe header ca sa ma duca pe prima pagina) forumul este http://www.biostil.net/index.php Ce pot face?
#2
mergi in Admin CP >> Templates & Styles >> Templates >> Tema ta >> Header Templates >> header si cauta urmatorul cod sau ceva de genul asta:

Code:
<div class="logo">

in interiorul acestui <div> verifica sa ai ceva de forma asta:

Code:
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>


teoretic ar trebui sa ai numai <img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /> si nu trebuie decat sa adaugi <a href="{$mybb->settings['bburl']}/index.php"> la inceput si </a> la sfarsit.

p.s.
codul analytics nu se pune in fisierul .css se pune in template-ul mybb-ului. deobicei in footer (Admin CP >> Templates & Styles >> Templates >> tema ta >> Footer Templates >> footer ).

#3

Code:
<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>

Asa am div class etc.

#4
posteaza tot codul de la header aici.
#5
(02-26-2012, 11:22 AM)Dinstup Wrote:

Code:
<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>

Asa am div class etc.


Sterge tot ce este deasupra la <div class="menu"> si baga codul asta.

Code:
<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>

Pentru a mentine un forum unitar si pentru a utiliza informatia intr-un numar cat mai mic de subiecte, va rugam ca inainte de a deschide o Discutie Noua sa folositi functia Cautare (Search) !
Cititi periodic
Regulamentul
#6

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<a href="#top" name="top"></a>
<div id="container">
	<div id="header">
					<a href="{$mybb->settings['bburl']}/index.php" id="header_home_link"></a>
				<div id="header_search">

<form method="post" action="search.php">
<input type="hidden" name="action" value="do_search" id="site-search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="overlabel" name="keywords" value="{$lang->toplinks_search}..." onfocus="if(this.value == '{$lang->toplinks_search}...') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->toplinks_search}...'; }" />
</form>
		</div>
		
	</div>		
	<div id="navigation">
		<div id="subscribe">
					<a href="{$mybb->settings['bburl']}/misc.php?action=syndication" id="rss_icon_link"></a>
					<a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a>
		</div>
	</div>
<div id="content">
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
		<div id="panel">
			{$welcomeblock}
		</div>
		<hr class="hidden" />
		<br class="clear" />
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			<navigation>
			<br />

Tot codul de la header..

#7
Incearca asa.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<a href="#top" name="top"></a>
<div id="container">
	<div id="header">
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
				<div id="header_search">

<form method="post" action="search.php">
<input type="hidden" name="action" value="do_search" id="site-search" />
<input type="hidden" name="postthread" value="1" />
<input type="hidden" name="forums" value="all" />
<input type="hidden" name="showresults" value="threads" />
<input type="text" class="overlabel" name="keywords" value="{$lang->toplinks_search}..." onfocus="if(this.value == '{$lang->toplinks_search}...') { this.value=''; }" onblur="if(this.value=='') { this.value='{$lang->toplinks_search}...'; }" />
</form>
		</div>
		
	</div>		
	<div id="navigation">
		<div id="subscribe">
					<a href="{$mybb->settings['bburl']}/misc.php?action=syndication" id="rss_icon_link"></a>
					<a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a>
		</div>
	</div>
<div id="content">
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" title="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
		<div id="panel">
			{$welcomeblock}
		</div>
		<hr class="hidden" />
		<br class="clear" />
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			<navigation>
			<br />

Pentru a mentine un forum unitar si pentru a utiliza informatia intr-un numar cat mai mic de subiecte, va rugam ca inainte de a deschide o Discutie Noua sa folositi functia Cautare (Search) !
Cititi periodic
Regulamentul
#8
Nu merge, imi distruge tot header-ul le pune una peste alta..:|
#9
Omule, trimite-mi prin pm datele de acees la admin si rezilv problema direct de acolo.
Pentru a mentine un forum unitar si pentru a utiliza informatia intr-un numar cat mai mic de subiecte, va rugam ca inainte de a deschide o Discutie Noua sa folositi functia Cautare (Search) !
Cititi periodic
Regulamentul
#10
Ti-am trimis mesaj intra!


Forum Jump:


Users browsing this thread: 1 Guest(s)