#1 (permalink)  
Old 20.09.2010, 15:20
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
Navtabs
Wie kann ich für den Kundenbereich und den Bestellprozess eines Bestimmten Produktes einen Navtab erstellen, der dann auch hervorgehoben wird wenn er angeklickt wurde...?
Reply With Quote
  #2 (permalink)  
Old 20.09.2010, 15:22
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
Nur über Templateänderungen und passendem HTML Code, da heißt es etwas basteln.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #3 (permalink)  
Old 20.09.2010, 15:23
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
JA es geht mir um das dämliche This_Script, könntest du mir das erklären
Reply With Quote
  #4 (permalink)  
Old 20.09.2010, 17:14
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
Was meinst du mit dämlich, dass ist doch eine ganz normale Konstante die sehr Hilfreich ist. Aber ohne entsprechende PHP Kentnisse kommst du natürlich nicht weit damit.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #5 (permalink)  
Old 20.09.2010, 17:28
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
Darum geht es nicht, wenn ich dort z.B: vbcms eintrage wir alles mit vbcms im Namen Dort für den Tab gewählt. Ud noch ne frage, Wenns es Templates sind, wieso dann PHP?
Reply With Quote
  #6 (permalink)  
Old 20.09.2010, 17:56
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
vbcms ist auch zu global, da musst du dir ne genauere Abfrage basteln, in Templates werden auch Variablen, if conditions etc. geparst ...
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #7 (permalink)  
Old 20.09.2010, 17:59
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
Ich will doch nur nen einfachen Purchase Link nix mit if und weis der Geier was... Versteh mich doch
Reply With Quote
  #8 (permalink)  
Old 20.09.2010, 18: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
Doch die ProduktID musst du schon abfragen, sonst wird der bei allen Produkten angezeigt.

Code:
<vb:if condition="$prod_row['prodid'] == 6">
    Zeige Link bei dem Produkt mit der ID 6
</vb:if>
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #9 (permalink)  
Old 20.09.2010, 18:29
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
also so:
Template (purchasetab):
HTML Code:
<vb:if condition="$prod_row['prodid'] == 5">
<vb:if condition="$vboptions['selectednavtab'] == 'purchasetab'">
<li class="selected">
    <a class="navtab" href="index.php?area=vbcmsarea_products&do=showprod&name=mylogin&prodid=5&catid=5">Purchase</a>
<ul class="floatcontainer">
<li><a href="index.php?area=vbcmsarea_products&do=checkout">Zur Kasse</a></li>
</ul>
</li>
<vb:else />
<li><a class="navtab" href="index.php?area=vbcmsarea_products&do=showprod&name=mylogin&prodid=5&catid=5">Purchase</a></li>
</vb:if>
</vb:if>
Und Plugin (proces_tmplate_complete):
PHP Code:
if (defined('purchasetab')) 
{
//set selected tab
    
$vbulletin->options['selectednavtab'] = 'purchasetab';
}
// add the "subtemplate" to the navbartemplate
$template_hook['navtab_middle'] .= vB_Template::create('purchasetab')->render(); 
Ansatztweise richtig?
Reply With Quote
  #10 (permalink)  
Old 20.09.2010, 18:30
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
Welches Template?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #11 (permalink)  
Old 20.09.2010, 18:36
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
Ein neues, habs etwas angepasst.
Reply With Quote
  #12 (permalink)  
Old 21.09.2010, 11:14
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
Ein neues und in welches alte bindest du es ein?
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #13 (permalink)  
Old 21.09.2010, 18:26
MyForm's Avatar
Benutzer
 
Join Date: 06.2010
Posts: 59
Rep Power: 2
MyForm is on a distinguished road
Was sagst du??????
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



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