#106 (permalink)  
Old 27.11.2008, 08:27
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Frage
Vorab: Tolles Modul.

Ein ganz wilder Wunsch:
Ist es moeglich, dass wenn ich einen Linke aus dem Modul angewaehlt habe, dieser dann auch markiert ist, also so wie im Origina-Navigations-Modul?

Irgendwie mit "link_p_a" oder so?
Reply With Quote
  #107 (permalink)  
Old 02.01.2009, 21:48
Aufsteigender Benutzer
 
Join Date: 02.2008
Posts: 348
Rep Power: 5
Forum is on a distinguished road
Quote:
Originally Posted by haenk View Post
Vorab: Tolles Modul.

Ein ganz wilder Wunsch:
Ist es moeglich, dass wenn ich einen Linke aus dem Modul angewaehlt habe, dieser dann auch markiert ist, also so wie im Origina-Navigations-Modul?

Irgendwie mit "link_p_a" oder so?

Ich schließe mich diesem wunsch an.

Wäre das möglich? Also der "Goldene Rand"?
Reply With Quote
  #108 (permalink)  
Old 03.01.2009, 12:16
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Blinzeln
Ich hoffe, ich darf das so veroeffentlichen:
Probier mal diesen Code, ist eine Modifizierung der Original-php-Datei

Code:
<?php

$links = explode("\r\n", $vbulletin->vbcmsoptions['navlinks']);

if(sizeof($links))
{
	foreach($links as $link)
	{
		$link = explode('|', $link);
		if(sizeof($link) < 2)
		{
         $navout .= $link[0] . "\n";
			continue;
		}
		
		$link[0] = str_replace(array('{username}'), array($vbulletin->userinfo['username']), $link[0]);
		$link[1] = str_replace(array('{su}', '{su_q}', '{userid}', '{username}', '{fp}'), array($vbulletin->session->vars['sessionurl'], $vbulletin->session->vars['sessionurl_q'], $vbulletin->userinfo['userid'], $vbulletin->userinfo['username'], $vbulletin->vbcmsoptions['vbcms_forumfolder'] . '/'), $link[1]);
		$link[2] = intval($link[2]);

///
		if ($link[0] == '<BR>')
         {
         $navout .= '<BR>';
         }
      else
         {
         /// 
         if (stripos($_SERVER['REQUEST_URI'], "$link[1]") == true)
            {
            $navout .= '<li class="link_p' . iif($link[2], ('_sub_a' . $link[2]), '_a') . '"><a href="' . $link[1] . '">' . $link[0] . '</a></li>' . "\n";
            ;
            }
         else
            $navout .= '<li class="link_p' . iif($link[2], ('_sub' . $link[2]), '') . '"><a href="' . $link[1] . '">' . $link[0] . '</a></li>' . "\n";
            }
	}
	
	eval('$this->portal_array["$module_row[id]"]["$module_row[colum]"] = "' . fetch_template('Portal_navigation') . '";');
	
	unset($navout, $links, $link);
}
?>
Reply With Quote
  #109 (permalink)  
Old 03.01.2009, 19:18
Aufsteigender Benutzer
 
Join Date: 02.2008
Posts: 348
Rep Power: 5
Forum is on a distinguished road
Hallo. Wo muss man das einbauen?

Danke.
Reply With Quote
  #110 (permalink)  
Old 04.01.2009, 14:29
Aufsteigender Benutzer
 
Join Date: 11.2007
Posts: 149
Rep Power: 5
haenk is on a distinguished road
Blinzeln
Den Code der "vbcmsmodul_navigation.php" durch den obigen ersetzen.
Aber der Hauptteil des Codes ist natürlich sozusagen geklaut.
Reply With Quote
  #111 (permalink)  
Old 05.01.2009, 11:09
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Quote:
Originally Posted by haenk View Post
Ich hoffe, ich darf das so veroeffentlichen:

Ja kein Problem
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #112 (permalink)  
Old 15.02.2009, 15:15
OCPerformance's Avatar
Aufsteigender Benutzer
 
Join Date: 10.2008
Location: Berlin
Age: 27
Posts: 196
Rep Power: 5
OCPerformance will become famous soon enoughOCPerformance will become famous soon enough
Send a message via ICQ to OCPerformance
Quote:
Originally Posted by Christian View Post
Dazu muss der PHP Code des Moduls geändert werden.

Code:
<a target="_blank" href="'

Wenn ich das richtig gelesen habe soll man ja den grad vermeiden.
Reply With Quote
  #113 (permalink)  
Old 15.02.2009, 15:32
Benutzer
 
Join Date: 10.2006
Posts: 35
Rep Power: 6
Bitti is on a distinguished road
Oder man verwendet dieses hier.
Ich glaube da schlägt W3C keinen Alarm.

HTML Code:
onclick="window.open(this.href); return false;"
Reply With Quote
  #114 (permalink)  
Old 16.02.2009, 02:17
OCPerformance's Avatar
Aufsteigender Benutzer
 
Join Date: 10.2008
Location: Berlin
Age: 27
Posts: 196
Rep Power: 5
OCPerformance will become famous soon enoughOCPerformance will become famous soon enough
Send a message via ICQ to OCPerformance
Top. Funtzt GUt.
Reply With Quote
  #115 (permalink)  
Old 16.02.2009, 09:40
vbdesigns Guru
 
Join Date: 03.2006
Posts: 528
Rep Power: 8
WeserInfo has a spectacular aura aboutWeserInfo has a spectacular aura about
Huhu,

ich würde gerne VOR die Links ein kleines Grafik-Symbol ( siehe Anhang ) setzen.

Jemand eine Idee wo das im Templates geändert werden müsste ? Bzw. ein Beispiel dafür ?
Attached Images
File Type: jpg navi.JPG (11.5 KB, 33 views)
Reply With Quote
  #116 (permalink)  
Old 16.02.2009, 11:02
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
In der PHP Datei vor <li.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #117 (permalink)  
Old 16.02.2009, 11:54
vbdesigns Guru
 
Join Date: 03.2006
Posts: 528
Rep Power: 8
WeserInfo has a spectacular aura aboutWeserInfo has a spectacular aura about
Quote:
Originally Posted by Christian View Post
In der PHP Datei vor <li.

Danke dir

Hmm,, dann ist doch die Grafik für jeden Link gleich , oder ?

Die Alternative wäre vielleicht das BB-Code in dem Modul einsetzbar wäre ? Also dort wo man die Links einträgt.

Last edited by WeserInfo : 16.02.2009 at 12:09.
Reply With Quote
  #118 (permalink)  
Old 16.02.2009, 13:07
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Quote:
Originally Posted by WeserInfo View Post
Danke dir

Hmm,, dann ist doch die Grafik für jeden Link gleich , oder ?

So ist es, man kann es aber auch dynamisieren, wenn man ein wenig PHP kann.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #119 (permalink)  
Old 16.02.2009, 13:57
vbdesigns Guru
 
Join Date: 03.2006
Posts: 528
Rep Power: 8
WeserInfo has a spectacular aura aboutWeserInfo has a spectacular aura about
Quote:
Originally Posted by Christian View Post
So ist es, man kann es aber auch dynamisieren, wenn man ein wenig PHP kann.

Kawumm,, da war sie wieder, die Keule

Wie sieht die Möglichkeit aus BB-Code zu verwenden ?
Reply With Quote
  #120 (permalink)  
Old 16.02.2009, 15:05
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Das ist ein PHP-Modul kein BBCode Modul.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RSS-Modul Surviver vBCMS® Module 120 15.02.2011 10:51
Modul Partnerseiten michaelk vBCMS® Module 10 07.01.2009 17:01
zweiter navigations Block iCO vBCMS® Fragen 1 27.02.2007 10:45
2 oder mehr Navigations leisten mit dem Tribe Style Dj-Chris Style- & Web Template Support 6 17.05.2006 21:14
Navigations Fehler SessionX Style- & Web Template Support 8 15.03.2006 21:46


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS