On Thu, 1 Nov 2007, Stephen Wille Padnos wrote:

> Date: Thu, 01 Nov 2007 23:07:03 -0400
> From: Stephen Wille Padnos <[EMAIL PROTECTED]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: [EMAIL PROTECTED],
>     "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: Re: [Emc-users] Avoiding Following Error
> 
> Ray Henry wrote:
>
>> On Thu, 2007-11-01 at 20:07 -0600, Jon Elson wrote:
>>
>>
>>> Stephen Wille Padnos wrote:
>>>
>>>
>>>> Jon Elson wrote:
>>>>
>>>>
>>>> Um, what about the search box at the bottom of every wiki page?
>>>>
>>>>
>>>>
>>> (Blush)  Exposing my inexperience to the whole world in
>>> writing!  Isn't the internet GREAT?!?
>>>
>>>
>>
>> I've often thought that that search box ought to be at the top so that
>> we'd see it as soon as we opened a page.  I just don't seem to remember
>> my admin password or how to edit Joomla to do that.
>>
>> Rayh
>>
>>
> Hmm.
>
> I had thought about that as well.
>
> The wiki isn't part of Joomla, so it wouldn't help to remember the
> password ;)
> I looked at the emcinfo.pl file, and it's not obvious how to move the
> search box around.  I'll have to wait for (a) someone who knows what the
> heck they're doing to look at it or (b) some free time so I can putter
> around with it.
>
> - Steve
>

although i havent actually tested this, I did waste a good hour trying to 
get usemod running. :)

you should be able to just move GetSearchForm from GetFooter to GetHeader.
it might end up looking ugly, but the whole thing is ugly anyway IMHO.

--- usemod-1.0.3/wiki.pl        2007-09-11 18:45:28.000000000 -0400
+++ usemod-1.0.3-new/wiki.pl    2007-11-04 07:19:26.000000000 -0500
@@ -1316,4 +1316,5 @@
      $result .= $q->h1($header . $title);
    }
+  $result .= '<br>' . &GetSearchForm();
    if (&GetParam("toplinkbar", 1)) {
      $result .= &GetGotoBar($id) . "<hr class=wikilineheader>";
@@ -1436,5 +1437,4 @@
      $result .= ' ' . &ScriptLinkDiff(4, $id, T('(diff)'), $rev);
    }
-  $result .= '<br>' . &GetSearchForm();
    if ($AdminBar && &UserIsAdmin()) {
      $result .= '<br>' . &GetAdminBar($id);


while we're at it, it might be nice to move GetAdminBar to the top also, 
so you can edit the page without scrolling to the bottom.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to