1
shaxs
tabmod is frustrating me, quick help?!
  • 2004/6/6 8:15

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


Okay, I installed tabmod and the theme yadda yadda. I create my home tab per the instructions. Now, when I try to add another tab, it won't work! I have wfchannel installed and a section called "Who We Are" which the link is:
http://localhost/shaxs/xoop/modules/wfchannel/index.php?pagenum=2

Okay, so I go to create a tab and here are the values I use:

tab name: Who We Are
parent: root_path
link: modules/wfchannel
condition: $dirname=="wfchannel" && $_GET[pagenum]==2

well, now the tab just shows this: http://localhost/shaxs/xoop/modules/wfchannel

Its not adding the page numer to then end.

Okay, thats problem number one. Lets say I wanted to use wfsection instead of wfchannels? Is this doable? Lets say I have this: http://localhost/shaxs/xoop/modules/wfsection/index.php?category=1

What would the condition be to get this to work?

third: After I add a tab and I want to edit it, I can, but it does not save the changes. Does anyone else have that problem?

Fourth and off topic: I have IIS installed running on win2k. I also have mysql, php, ect. When I point my browser to http://localhost/shaxs/xoop/, it gives me a directory and then I have to click on index.php. How can I set this up so that it defaults reads the php file like a .html file?

2
Mithrandir
Re: tabmod is frustrating me, quick help?!

tab nameWho We Are
parent
root_path
link
modules/wfchannel
condition
$dirname=="wfchannel" && $_GET[pagenum]==2

The "link" is the value of the tabbed link, ie. what it will redirect to.
The "condition" is to decide whether this tab is the current tab.
So change link to modules/wfchannel/index.php?pagenum=2

The condition for the wfsection would be that
$dirname == "wfchannel" && $_GET["category"] == 1

I have had problems with the editing until I found out that it cuts off if I place a single quote ' in the condition and I thought it was a matter of too many characters, but found it to be the '... I don't know if this is of help to you.

Fourth, I don't know, sorry.

3
shaxs
Re: tabmod is frustrating me, quick help?!
  • 2004/6/6 10:41

  • shaxs

  • Not too shy to talk

  • Posts: 116

  • Since: 2004/6/1 2


you rock thank you! Any chance you can help me with this problem:

https://xoops.org/modules/newbb/viewtopic.php?forum=5&topic_id=20695

Login

Who's Online

479 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 479


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits