Search

Use this forum to ask questions about how to do things in GuMax skin.
Post Reply
User avatar
Kelly
Rank 1
Rank 1
Posts: 5
Joined: June 5th, 2010, 11:32 am

Search

Post by Kelly »

Hi.
I installed Vertical GuMaxV 2.0. Looks great.
I don't have Search, Toolbox, Languages, operable. Did I miss something or override? Navigation works well.
http://www.cccresource.com
Thank you.
User avatar
Nysha
Rank 0
Rank 0
Posts: 2
Joined: June 7th, 2010, 8:51 pm

Re: Search

Post by Nysha »

Fortuitous timing - I am having the same issue, using GuMaxDD 1.1. From what I can tell, the issue stems from the fact that all three affected sidebar elements are "referenced" in MediaWiki:Sidebar rather than explicitly stated - see here. GuMax produces SEARCH, LANGUAGES etc rather than the correct Mediawiki output.

The example I'm struggling with (I may try to fix the php during the night; if it looks completely broken, it probably is): http://en.ryzomnomnom.com/w/index.php?t ... in=atystry
User avatar
Kelly
Rank 1
Rank 1
Posts: 5
Joined: June 5th, 2010, 11:32 am

Re: Search

Post by Kelly »

Nysha. When you installed the skin was your search default disabled? There is one other message on the forum about this but everyone else must still have capability. I went through everything again and did not change any code and yet I still have Search, Toolbars, and Languages without functionality and on the skin website, the screenshot looks as mine does, without the search form.
User avatar
Kelly
Rank 1
Rank 1
Posts: 5
Joined: June 5th, 2010, 11:32 am

Re: Search

Post by Kelly »

I see the search code in source code, the page, as in the screenshot for the skin, does not display the form.
<div id="gumax-p-search">
<div id="gumax-searchBody" class="gumax-pBody">
<form action="<?php $this->text('searchaction') ?>" id="searchform"><div>
<input id="searchInput" name="search" type="text"<?php echo $skin->tooltipAndAccesskey('search');
if( isset( $this->data['search'] ) ) {
?> value="<?php $this->text('search') ?>"<?php } ?> />
<input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>" />&nbsp;
<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>" />
</div></form>
</div>
</div>
User avatar
Nysha
Rank 0
Rank 0
Posts: 2
Joined: June 7th, 2010, 8:51 pm

Re: Search

Post by Nysha »

The search code isn't visible in the source for me:

Code: Select all

		<li><a href="/w/index.php?title=Ryzom_Commons">Ryzom Commons</a>
		<ul>
			<li id="n-Media-Repository"><a href="http://atys.ryzomnomnom.com/wiki/">Media Repository</a></li>
			<li id="n-Ryzom-Assets"><a href="http://atys.ryzomnomnom.com/wiki/Category:Ryzom_assets">Ryzom Assets</a></li>
			<li></li>
		</ul>
		</li>
		<li><a href="/w/index.php?title=LANGUAGES">LANGUAGES</a>
		<ul>
			<li></li>
		</ul>
		</li>
		<li><a href="/w/index.php?title=SEARCH">SEARCH</a>
		<ul>
			<li></li>
		</ul>
		</li>
		<li><a href="/w/index.php?title=TOOLBOX">TOOLBOX</a>
		<ul>
			<li></li>
		</ul>
		</li>
Our PHP wiz has now managed to fix the issue, however his fix will only work for GuMaxDD, I assume, and doesn't include the search as we chose to remove it from the navbar instead. If the GuMax coder is interested, I can pull together the relevant code and post it here. According to Mr PHP, GuMaxDD is simply missing a chunk of code needed for these functions.

As far as I know, no search options were changed at any point, unless I misunderstand the question - and all the edits to the search box itself that I've made have been made in separate skin files. We do have a script which autocompletes existing article names in the search box, however that wouldn't affect languages and toolbox, both of which are 100% vanilla.

Note - the link in my first post no longer illustrates the problem as, well, it's been fixed. For now we also have a test copy of basic GuMaxDD which does illustrate the problem, as we don't intend to fix it: http://en.ryzomnomnom.com/w/index.php?t ... in=gumaxdd
User avatar
Kelly
Rank 1
Rank 1
Posts: 5
Joined: June 5th, 2010, 11:32 am

Re: Search

Post by Kelly »

Thanks Nysha. I'm going to drop this skin and work on my own. For me adjusting the CSS is easier than figuring out where search is.
Post Reply