New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search Bar, avalible from clients menu. #13
Comments
I think that sounds good, it would certainly be in keeping with the style of the new echelon. |
Just out of curiosity, have you had a chance to look into this? |
Yeah. Everytime I get started I've stumble'd across a new issue that takes precedence. Right now what's blocking this, is the issues with session tracking, and casuing invalid hack attempts detected. This will be happening though. |
Alright. Thanks for the speedy reply. |
I've been trying to get it to work on my own end, but I'm having trouble getting a colorbox to display properly. for some reason it displays the search page i made but it doesn't put a background to it like it does with the edit ban box. That is to say, the rest of the page isn't darkened out and the close button appears as just plain text. If you've managed to get far enough to get the button at least working, would you mind sharing the code for that? Thanks. |
Figured out my issue, forgot to double check the css documents. X_X |
Sorry I got completley side tracked from all of this as the test server I was useing got root'd (not echelon2's fault) but I had to focus on recovering that. So does it work now? :D And CSS documents sound like the spot. I remember I was having some problems getting some js and CSS sheets behaving nicely. |
Ya. I made a clientsearch page and just have the colorbox open that. Works like a charm. |
Is it suitable to be incorperated back upstream? (Saved work is saved work after all :) And when you say a client search page did you mean an entry on the drop down menu? |
Yes, I made a clientsearch.php and I have it open that page in a colorbox from the dropdown. It's actually its own separate search tab. Here's the clientsearch page I made:
Here's everything that needs changing: The site.js document needs this added to the bottom:
I had to update the jquery.colorbox to the latest version from https://github.com/jackmoore/colorbox I also modified the footer so that it loaded colorbox for all the pages and updated the version of jquery being used:
This is the code I used to modify the header to display the search button:
I added it at the end so that its the button farthest to the right but before the logout stuff. I think that that's everything. |
Ha, did it again. You also need to add this to the site.min.css file:
|
Thoughts on this? |
I have to run through it again; I tried it once and it worked, then broke everything, but I don't think I put it in quite right, and had made conflicting changes. I have to try it again :P |
This was frikfry's suggestion, I just repened it here.
His orginal comment;
"On another note, I think it would be good if a search bar tab was added to the top navigation along with a game selection dropdown, something similar to this.
http://img818.imageshack.us/img818/9408/searchfz.png
It'd an addition that was made to my clan's echelon that is very helpful."
My current throught is what if I add an entry to the drop down menu under clients, that loads the search bar into a little window similar to the way edit ban looks. I'm not sure if this is terribly inconvienent upon users though... Any opnions?
The text was updated successfully, but these errors were encountered: