Neeto
2nd January 2004, 07:51 AM
I KNOW this was posted somewhere, but for the life of me I can't find it. I have tried repeatedly searching for whatever I could think it might be called as well as weeding through threads til my eyes hurt. :eek:
All I want is to make it so that if threaded/hybrid is turned off, the dropdown menu won't be included in the menu at the top of threads. Can anyone help me find the thread please? :o
Floris
2nd January 2004, 12:51 PM
I can't remember reading this anywhere.
I think it is a design bug that it shouldn't even dislplay it when turned off.
It can be controlled through the php file easily. And otherwise through a conditional. (im sure)
showthread has the <a href="#displaymodes">$vbphrase[display_modes]</a> part
You could try like
<if condition="$vboption[allowthreadedmode] == 1"><a href="#displaymodes">$vbphrase[display_modes]</a></if> around it. so it only shows if it is set to yes.
Neeto
2nd January 2004, 05:02 PM
Thanks, Floris.
Yeah, I know it's a design issue, and a really minor one. When gamma was first released everyone seemed to complain about it. I was using threaded on my site so I didn't care. But then when I upgraded the other site that DOESN'T use threaded, I tried looking everywhere for it.
Just needed that elusive variable to use in the condition. THANKS!