Shape 5

Joomla Templates => City Portal - January - Club => : inasbo January 19, 2009, 03:14:39 PM



: S5 Search
: inasbo January 19, 2009, 03:14:39 PM
Hello, does anyone knows how to insert a search module inside the S5 Search module to make it look as in the demo? I guess that?s how you do it, at the moment i have a blank S5 Search module with the yahoo and google bottons and then I have the traditional search box and search boton on top. Se image attached. Thanks, Inigo


: Re: S5 Search
: glowpro January 19, 2009, 08:42:08 PM
Hi there,

I would also like a heads-up on this.  I got the search module working OK in Sea of Glass template in that the Google and Yahoo searches work great.  But not the internal site search button.  Be nice to add a wikipedia button also.  Any chance of a little 'how to' doc?

best

geoff


: Re: S5 Search
: dangel January 20, 2009, 09:59:21 AM
I think the first two search tabs are what the Demo instructions refer to in adding the  "Search" and "Search2" fields.  As far as I can tell, I think the third one is automatically a Google search and the 4th is the Yahoo Search (but I am too lazy to check any of the code to change it manually).

I was also initially confused, and kept trying to install the Search to "search" instead of "banner"

- add the Search and Search2 fields
- enable search modules in Search/Search2


: Re: S5 Search
: jonahh January 20, 2009, 10:04:53 PM
Hey Guys,

Sorry this is confusing but yes as dangel mentioned you need to add 2 module positions  "search" and "search2".  for a tutorial on adding these positions please refer to:

http://shape5.com/demo/city_portal/index.php?option=com_content&task=view&id=44&Itemid=102

The module itself is published to the banner position and then inside the module you have the 2 search positions where you can publish the default joomla search or another components search module.  So for the demo we published the joomla search to the "search" module position.

Hope this clears things up :)


: Re: S5 Search
: phoenixx January 20, 2009, 11:18:24 PM
The module itself is published to the banner position and then inside the module you have the 2 search positions where you can publish the default joomla search or another components search module.  So for the demo we published the joomla search to the "search" module position.

So, can the module itself be published anywhere else but the banner position?
 When I publish it to the banner on the Joomlart Zinc  template I'm using, it messes up a lot. I tried publishing it to the  "user 4" on my template, which is where the normal "search" module is published in the Zinc template, but it breaks the S5 search module. I tried publishing it in other places too, but it seems it will only work in the banner position...is this correct, or have I missed something?
Thanks
( I AM using the City Portal template for another site, and I LOVE it...I also really like the S5 search module, which is why I wanted/hoped to use it on the other site with the Zinc template)


: Re: S5 Search
: glowpro January 21, 2009, 11:28:31 AM
Thanks for clarification Jonahh. 
Phoenixx - I have published to cpanel without any probs in SOG and I assume that means you can stick it anywhere you want in any S5 template.  It's also possible to add further search buttons by a bit of copying and duplicating of the guys original set up files and a bit of internet research into how various sites handle search queries.  Nice job again, S5   Now where's that S5 CB Login update?   ;D

rgds
geoff


: Re: S5 Search
: glowpro January 22, 2009, 06:00:54 AM
Final point on this:  Any chance of making the 'home' button return to the last page on the home site you were on before heading off on a google or whatever search?  It currently returns you to the home page of the home site which when you are using S5 search on a large site is not ideal. 

rgds

Geoff

EdIT:  Several days later.....So I'll take that as a NO then....(yawn)


: Re: S5 Search
: drobuddy January 24, 2009, 04:35:56 PM

I installed this template via the site shaper and...

Um... Not thinking clearly (it was late at night...) I deleted the default Joomla! search module; after re-installing it, I went to assign it to the "search" module position and it's not there. Why would those module positions have been effected when I never touched the s5_search module? Shouldn't they still be there since they are part of the shaper?

::shrugs::

Sometimes it sucks to be Polish...   ;D


: Re: S5 Search
: drobuddy January 24, 2009, 04:56:41 PM
Okay, so I edited the XML and added the two positions, "search" and "search2." I went into the module manager and published the default search module to the "search" position and reloaded the front-end but it did not show up. So, I edited it to display in "search2" and changed s5_search so that there was text for the button and then reloaded the front-end, but there's still no search module being displayed.

So, just to step back... When I reinstalled the search module; I went into another Joomla! installation and copied the mod_search from both ./modules/ and ./administartor/modules/ and copied them into the installation in question. I then went into PHPMyAdmin and inserted the module into the DB under #_modules and now Joomla! is recognizing the file from within the Joomla!'s admin area.

As I said, I published the module to the "search" position (which I manually added into the XML). The "search" position is now showing up in the admin area... The module is published to it, but the module is not being displayed in the position...? It shows the text that I specified in the s5_search module, but does not display the input field (and, I never edited the s5_search, so of course, Google and Yahoo still show up next to the button for the mod_search).

Any ideas on how I can fix this? It'd take way too long to redo the customization, hence why I was simply re-installing search the way I did...

EDIT:

Make sure to publish search to the appropriate pages; when I reinstalled the search module, by default it is set to display on no pages... So, after changing it to show on all, everything works as it should. :)


P.S.
Wait until you guys see how I've implemented this months template; I took it in a totally different direction then you had envisioned, and it looks as slick as could be... I'm ecstatic, to say the least. :)   


: Re: S5 Search
: jonahh January 26, 2009, 11:53:10 AM
So I guess you got it published to the banner position now.  Nice! post a link when you finish it up!


: Re: S5 Search
: toronto30 March 23, 2009, 05:26:50 PM
Hi, I tried this using the latest s5 weather download on cityportal, but can only get the buttons to work if all four Search Button Text fields are completed.  If I remove the text for 2, then I start getting the error.  The search does work, and so does yahoo and google, but if I remove text for Search Button Text 2 in admin panel, I get s5_searchvar2 is undefined in the browser.  Any ideas...


Hey Guys,

Sorry this is confusing but yes as dangel mentioned you need to add 2 module positions  "search" and "search2".  for a tutorial on adding these positions please refer to:

http://shape5.com/demo/city_portal/index.php?option=com_content&task=view&id=44&Itemid=102

The module itself is published to the banner position and then inside the module you have the 2 search positions where you can publish the default joomla search or another components search module.  So for the demo we published the joomla search to the "search" module position.

Hope this clears things up :)


: Re: S5 Search
: nmijatovic March 23, 2009, 11:00:53 PM
Well, I did same, but neither Google nor the Yahoo button is taking over the search field.
If I hoover over the Google and Yahoo buttons, button become embossed, but you can not make them remain embossed/ "active" by clicking.
However if I put the name for button 2, then all 4 buttons including Google and yahoo not only react on hoover, but also do become active. But...

... search with Google or Yahoo does not work. I get this message:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.avacsweb.com Port 80

??

I do not need button 2, so this is my first problem, and I would like to have Google and Yahoo there.

P.S. What mechanism you use to trigger the Google and yahoo search?

Regards, Niko


: Re: S5 Search
: jonahh March 26, 2009, 09:59:49 AM
This searchvar error was a problem a month or so again but we applied an update do you have a recent download of the module?  Try redownloading and installing and see if this helps.

Niko,

Can you PM me login access to your site so i can take a look?  I'm not really sure whats going on without seeing it first hand.

Thanks,


: Re: S5 Search
: roxanne May 12, 2009, 06:06:37 PM
Hi All... I read the instructions for setting up the S5 Search module for the City Portal Template and understand what needs to be done. The only problem is, I'm not sure what XML file the instructions are referring to? Where is this file located, exactly? I have looked all over in my City Portal folder on my server and can not seem to find the file you are referring to (that has a <positions> area to edit)? I must just be looking in the wrong place or completely missing it? Guidance will be much appreciated. Thanks - R.


: Re: S5 Search
: jonahh May 13, 2009, 11:00:13 PM
Hello,

If you are using the City Portal template you will not need to add the positions but if not then you need to add them to the XML file in whatever template you are using.

For example if you wanted to add this to the eworld 2 template you would look for the following file:

site root/templates/eworld2/templateDetails.xml

Regards,


: Re: S5 Search
: mhess5 June 08, 2009, 11:23:05 AM
I have been reading this thread and am still confused. The first two Search button texts fields show up but do not activate the search feature, only the third button does. I have looked in the module manager for a place to add search2, but no luck.
Also, How would one go about putting their adsense code in the google search?
THanks


: Re: S5 Search
: jonahh June 08, 2009, 12:23:39 PM
Hello,

Try download a fresh copy of the module and see if this fixes the problem (of course uninstall your current version).

In regards to the adsense, there might be a Joomla module out there that does this, check out extensions.joomla.org.  I'm not sure off hand how you would.

Regards,


: Re: S5 Search
: ifcadmin June 22, 2009, 09:25:24 AM
Hi,

I too am really confused! 
I have installed the site using site shaper and the search box is there with all three tabs and I can edit the names fine.  But the google and yahoo searches don't work, I can't actually select them and search. http://79.170.44.105/marplebridgeassociation.org.uk/
can you tell me how I configure them please.
Thanks
Clare


: Re: S5 Search
: jonahh June 22, 2009, 02:36:35 PM
Did you try my above suggestion?


: Re: S5 Search
: jaywill78 October 13, 2009, 02:33:39 PM
Hi Jonah,

I'm having the same problem: my google/yahoo search isn't working. I just downloaded and installed this via the site shaper just one week ago. What do you suggest?

Thank you!

Jason
StandEquipped.com (http://StandEquipped.com)


: Re: S5 Search
: jonahh October 14, 2009, 11:23:42 AM
Can you download a fresh copy of the actual module here and see if this fixes it?


http://www.shape5.com/component/option,com_docman/Itemid,96/task,cat_view/gid,70/


: Re: S5 Search
: jaywill78 October 27, 2009, 12:02:10 AM
Hi Jonah,

I downloaded a fresh copy as you advised. However, the tutorial doesn't say what to enter in the module parameters for proper configuration. I'd like to set up search for the site, Google, and Yahoo. I entered in the name of my site for Search Button Text 1, Google for Search Button 2, and Yahoo! for Search Button 3. I also updated the XML file. What am I missing/doing wrong?
Can you help please?

Thank you,
Jason
http://standequipped.com (http://standequipped.com)


: Re: S5 Search
: jonahh October 27, 2009, 11:57:36 AM
Hello,

You need to publish the search module to the "search" module position. 

Make sure you have the following all filled in, the 3 is for google and the 4th for yahoo:

Search Button Text 3    
Text Box Search 3    
Search Button Text 4    
Text Box Search 4


: Re: S5 Search
: jaywill78 October 28, 2009, 04:44:57 PM
That's great! Thanks Jonah! Got it up and working.

Is it possible to use that feature to search on another site's search feature? Let me explain:
My site might provoke a reader to want to look up a certain passage in the Bible. I really like the search feature of BlueletterBible.org. Is there a way to tie the two together?

Here's the search feature on that site:
http://www.blueletterbible.org/search.cfm#search (http://www.blueletterbible.org/search.cfm#search)

Thanks!

Jason


: Re: S5 Search
: jonahh October 29, 2009, 12:49:40 PM
Hello Jason,

Unfortunatly there is no easy way to do this, it would require custom coding to get this working.


: Re: S5 Search
: jaywill78 October 29, 2009, 11:59:25 PM
Aw schucks! Sounds beyond my level then.

Thanks!

Jason