 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
January 6th, 2013, 04:56 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
| Search Box??
Is the Search box movable? On my new install of 5.23 search moved from the menu bar to the top of my right column sidebar.
Can I configure that feature elsewhere? I looked in the Admin CP but couldn't find any option to move it.
|
| |
January 6th, 2013, 05:00 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
The search box is on the sidebar only. If you turn off the sidebar then a link will appear on the menubar like it use to.
If your trying to move the search box to somewhere else on the sidebar you can change the order in the actual sidebar templates themselves. Actually I beleive the first box is categories if your showing categories on the sidebar then search and so on.
|
| |
January 6th, 2013, 05:23 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Is there anyway to have the sidebar, but tell the search to go into the menubar like it used to?
That top spot on the right sidebar is the number one earning spot on the whole page. I hate to waste it with "search"
|
| |
January 6th, 2013, 05:28 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Not without you modifying the code to do that. The topmenu function is where the search link is in pp-inc.php and the sidebar_rightclose template I beleive is the one you also want to edit.
|
| |
January 7th, 2013, 02:10 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Ok, I commented out the following:
In pp-inc.php Code: Content visible to verified customers only.
And, in the sidebar_rightclose.tmpl Code: Content visible to verified customers only.
And Search is no longer at the top of the right hand column and is a link on the Menubar like it used to be.
I'd like to suggest that on future versions you make the search box location an admin item. So, that users can choose where they want search to be located.
|
| |
January 7th, 2013, 02:15 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Acutally, I just went back in and added the include for the searchbox after Custom Pal #1 to put it back in the sidebar. Nothing wrong with have search on the menubar and in the sidebar too. Just not in the number one income earning spot.
|
| |
January 7th, 2013, 04:09 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
You can post any code mods you want in the mod forums if that is what you desire but make sure you post full instructions for other users as your post above you only say you comment out the if clause but you forget to make note that you also have to comment out the brackets. |
| |
January 7th, 2013, 04:21 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Not to discuss a mod here -- but I didn't comment out any brackets. I'm probably wrong but I could not see any that applied to these two lines of code.
It appeared to me that the brackets before these lines of code were closed, and the brackets after the lines of code were opened for the next IF statement. As I said, I'm probably wrong about this. All I know is it worked for me -- dumb luck, as it were.
And, I only posted what I did here, so that any other user following would see a workaround that might interest them. Just trying to help.
As everyone can tell, I'm fair from confident enough in my modification to post an official mod in the mod section.
|
| |
January 7th, 2013, 04:33 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
The search link was contained within an if clause so you would also comment out any brackets. That is why I posted in the first place above.
I am pointing out that you can post mods in the mod forums because there is no need to post your mods here in a support thread.
|
| |
January 7th, 2013, 04:34 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Spring Branch, Texas
Posts: 391
|
Gotcha. I know this isn't a mods forum.
Thanks
|
| |
January 7th, 2013, 05:22 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
No problem I just do not want people coming here for mods help here in support if they see this |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 11:04 PM. | |