Loading...
 
Architecture / Installation

Architecture / Installation


3.2 to 4.1 problem: tabs in Admin: Features not working and new Wiki Edit page not enabled

posts: 17

Upgraded to 4.1 from 3.2 and now I'm having trouble navigating within the Admin panels. Specifically, nothing happens when i click on the tabs to go within the submenus. I can get around this on most panels by clicking "No Tabs." For example, when I go to Look & Feel, I see the Theme panel. But clicking on General Layout Options (/wiki/tiki-admin.php?page=look#content2) does nothing. However, if I click No Tabs, I can see all the options. The trouble is that this workaround does not work in Features. I can only see the one Main submenu and can't navigate to Global, Experimental, Etc.

The reason why I'm trying to mess around with the options is because the Wiki Edit page looks horrendous (text edit box is only 2 lines long, Tables are not correctly spaced) and nothing like what was advertised: http://doc.tikiwiki.org/Tiki4#Edit_interface_revamped

I'm hoping that there's something in the Features that will turn on this new interface.

Thanks for any advice!
kelle

posts: 1092

if you unccheck the feature tab in admin->look you will not have tabs anymore

But it is strange that it does not work. Is your browser enabling javascript?


posts: 17

Ah, great! I hadn't seen that option in Look & Feel. That did indeed solve my problem and enable me to turn on the WYSIWYG editor. Thanks!

but I agree, strange that the tabs don't work! And I don't have tabs in the new editor. I checked and my Javascript is enabled.

posts: 14

I too am having problems with tabs. In my case it is only the PluginTabs? labels that show up stacked vertically rather than side by side. The tabs in the the admin pages are correctly aligned.

Since the Plugintabs feature was my primary motivation for upgrading from 3.2 to 4.1, I would prefer not to just turn them off. I have tried disabling minify without improvement. I am using the Milkyway theme, but have also tried other themes including Strasa. My problem appears to be independent of theme.

posts: 946 Catalan Countries

for tabs to work:

  • visit some tiki sites where you can see the tabs working (you can try in your user page in tw.o)
  • identify the css properties for tabs (see Web developer toolbar for firefox, or similar). See Tools idf needed.
  • check your css in your site, and identify if you have those css entries for tabs. If not, try adding the to your css.


HTH

posts: 14
Thanks xavidp. I see some differences that don't appear to necessarily be theme related. How would I add them to 'my css'?
posts: 4539 Japan

There's an HTML break tag in the tabs plugin that needs to be given a "display:none" rule in your CSS file. I'm away from my own computer right now and can't check what the exact CSS is but will look later. In the meantime, it'd be a good idea to consider updating your site to Tiki 4.2. This will also fix the problem.

-- Gary

posts: 14
That fixed it! Thanks very much, Gary.
posts: 14

Thanks, Gary. Actually, I am already using 4.2. However, I would like to investigate your suggestion further, if you can point me to the right file/line to insert the display:none.

Also I should note that I keep getting this error in this forum:

Notice: this variable may not be empty: $_POST%22thread_sort_mode%22


Greg
xmaran.org

posts: 4539 Japan

Oh, sorry, I thought it was fixed in 4.2 but obviously not. Anyway, the CSS rule that's needed is

.tabs br {display: none;}

You can make a new file called custom.css with that line as content and put it in the css directory in the root of your Tiki site, or you can add the rule to the existing file styles/layout/layout.css. Either way, it should be used by all themes.

-- Gary

posts: 1797 Catalan Countries

Greg (gdville), thanks for reporting. There is a bug still around about applying default parameter for sorting threads in forums, which in theory gets avoided by setting local parameter for thread sorting. I've set this local preference for this forum, and it should avoid the bug.

Please, report again if you still see this error here in this forum.

HTH

Xavi


posts: 1001 Canada
Which browser do you use?

posts: 17
tab disfunction behavior is the same in Firefox 3.6 and Safari 4.0.4 on Mac OS 10.5.8 and 10.6.2.

posts: 1001 Canada
In Firefox, you can check for JavaScript errors that would occur when clicking on tabs in the error console.

posts: 17

wow, lots of warnings, but the one error that is repeated many times is
jqueryTiki is not defined
url/wiki/lib/jquery_tiki/tiki-jquery.js

is that helpful in figuring out what the problem is?


posts: 1001 Canada
Definitely. jqueryTiki not being defined would explain. As to explain why jqueryTiki isn't being defined, you could again look for earlier JavaScript warnings/errors. It should be defined as embedded JavaScript in the HTML pages.

posts: 17

hm, well, there were so many warnings/errors. in the source of my wiki, there is this:




and i've checked that the file exists in the path.
i've also made sure that the JQuery things are turned on in all the places I could find.

I'm at a loss but am eager to hear and explore other troubleshooting ideas.


posts: 1001 Canada
Whatever you tried to show was lost. It may be best to put it in a file and refer to that file.

posts: 17

the head section of my wiki page is attached...i copied it from the source. I think it shows that the javascripts are being loaded.

could this problem be related to using a non-4.0 compliant theme?

thanks for your help!


posts: 1001 Canada
If the head has nothing more, it's missing the embedded JavaScript defining jqueryTiki, so your problem is "normal". I'm not sure what you mean by non-4.0 compliant theme, but if you're using broken Smarty templates, that could very well explain the issue.

Upcoming Events

1)  Thu 23 Jan 2020 14:00 GMT-0000
Roundtable Meeting 2020 01

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.