↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |
Who | What | When |
---|---|---|
*** | ChanServ sets mode: +o PeterThoeny | [02:34] |
........ (idle for 39mn) | ||
TerjeAndersen has quit IRC (Ping timeout: 245 seconds)
Hardcore has quit IRC (Ping timeout: 245 seconds) | [03:13] | |
........ (idle for 39mn) | ||
BR__ | olá, pessoal! / ¡hola, personas! / hello, people! | [03:52] |
........ (idle for 37mn) | ||
Sorry. connection drop. | [04:29] | |
....................... (idle for 1h50mn) | ||
PeterThoeny | BR__: welcome here on #twiki, are you a twiki user? | [06:19] |
BR__ | one minute...
welcome here on #twiki, are you a twiki user? / no. it's 1st. | [06:21] |
PeterThoeny | for intro see http://twiki.org/cgi-bin/view/Codev/TWikiPresentation2013x01x17 | [06:23] |
....... (idle for 32mn) | ||
TerjeAnd1rsen | JamesDiDona: Did the code snippet i sent work btw? I stole it from TWiki.WebChangesRightBox | [06:55] |
BR__ | até, pessoal! / ¡hasta, personas! / bye, people! | [06:57] |
bye, PeterThoeny! | [07:08] | |
............................................................................. (idle for 6h20mn) | ||
JamesDiDonato | how would you go about enabling the breadcrumbs plugin for an entire web? | [13:28] |
.............................. (idle for 2h25mn) | ||
I have a problem with my Navigation Bar. I have the navigation bar setup in my Main web, and my tabs link to the home pages of different webs , ex// [[Electrical.WebHome][Electrical Web]]. Each of my tabs are showing as active because the topic name is WebHome, but they shouldnt be because I am on Main.WebHome. how do I fix this? | [15:53] | |
.... (idle for 17mn) | ||
*** | Prokke1 has quit IRC (Quit: Leaving.) | [16:10] |
...................... (idle for 1h47mn) | ||
ChanServ sets mode: +o PeterThoeny | [17:57] | |
PeterThoeny | JamesDiDonato: reading the log, sorry i do not understand your question on "tabs showing as active" | [18:00] |
JamesDiDonato | The tabs of the navigation bar are all 'active' when I am on the Main.WebHome page, even when all of the other tabs of the navigation bar are; Electrical.WebHome, Administrative.WebHome , etc
For example, when I am in the Electrical web, I only want the electrical navigation tab to show as being active, but all of them are. http://i.imgur.com/TG80u8a.png that may help if you are confused | [18:02] |
....... (idle for 34mn) | ||
PeterThoeny | what nav bar do you use? | [18:40] |
JamesDiDonato | NavBarAddOn
plugin | [18:40] |
PeterThoeny | ah, this add-on is designed for navigation within the same web | [18:43] |
JamesDiDonato | Ahh okay, makes sense then | [18:43] |
PeterThoeny | not sure if it works across webs, and as you find out it does not | [18:43] |
JamesDiDonato | alright, any way I could set up a site-wide navigation then to put on my skin | [18:44] |
PeterThoeny | you could find the criteria for determining active and inactive and fix it
now the add-on likely just looks at the topic name you could change it to look at web.topic | [18:45] |
JamesDiDonato | yeah I considered doing that, but I dont think I possess the skills to do so...
its okay anyway, minor inconvience | [18:46] |
PeterThoeny | the crucial part is:
var topic = $(this).find('a').attr('href').replace( /.*//, '' ); if( %IF{ "defined 'active'" then="topic=='%active%' || " }% topic=='%BASETOPIC%' ) { you need to test for web.topic instead of just topic in javascript i would extract a new var web and then compare: if( %IF{ … }% web+'.'+topic=='%BASEWEB%.%BASETOPIC%' ) { | [18:57] |
JamesDiDonato | Where abouts is that, data/TWiki/NavBarAddOn.txt ? | [19:05] |
PeterThoeny | yes, edit the topic using the browser
but you need also to define the web variable look up how to extract WEB from http://domain/do/view/WEB/TopicName | [19:05] |
JamesDiDonato | ALright, I understand what I have to do, just let me see if I can figure it out
I am not that familar with javascript but ill give it a shot | [19:13] |
..... (idle for 24mn) | ||
do I have to write a function to extract it? OR can it be done in a single line | [19:37] | |
yeah I am afraid I am in over my head on this one... Do you think you could supply me with the line to extract WEB in javascript, Id greatly appreciate it, Thanks. | [19:44] | |
............. (idle for 1h1mn) | ||
I gotta go, ill check the logs tomorrow if you end up seeing this. | [20:45] | |
.... (idle for 16mn) | ||
*** | ChanServ sets mode: +o PeterThoeny | [21:01] |
.............. (idle for 1h6mn) | ||
VickiBrown has left | [22:07] |
↑back Search ←Prev date Next date→ Show only urls | (Click on time to select a line by its url) |