PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Search Box?? (http://www.photopost.com/forum/classifieds-how-do-i/149099-search-box.html)

creativepart January 6th, 2013 04:56 PM

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.

Chuck S January 6th, 2013 05:00 PM

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.

creativepart January 6th, 2013 05:23 PM

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"

Chuck S January 6th, 2013 05:28 PM

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.

creativepart January 7th, 2013 02:10 PM

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.

creativepart January 7th, 2013 02:15 PM

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.

Chuck S January 7th, 2013 04:09 PM

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. ;)

creativepart January 7th, 2013 04:21 PM

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.

Chuck S January 7th, 2013 04:33 PM

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.

creativepart January 7th, 2013 04:34 PM

Gotcha. I know this isn't a mods forum.

Thanks

Chuck S January 7th, 2013 05:22 PM

No problem I just do not want people coming here for mods help here in support if they see this ;)


All times are GMT -5. The time now is 06:43 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97