Joomla 1.7 JRequest in k2 search plugin - search

I'm working in some 'advanced search' improvements in j1.7 with k2 v2.5.4
I'd like to request some parameters with JRequest::getInt() in file \plugins\search\k2\k2.php
but it seems to not reach this plugin.
Please how can I get some POST/GET new parameters?
thanks in advice

You need to add this at the top of your code -
jimport( 'joomla.environment.request' );

Related

TYPO3 v. 11.5.21 Search field is not working properly

as expected, there coming more and more with TYPO3. I'm very in TYPO3 and working with the bootstrap package. Therefore I don't understand loads of stuff.
The task is actually very simple (i guess). I just want to include a search field on in my page with indexed search. I included the extension with the extension manager.
So far so good, the search field is shown and it's able to find content on my page, but when I select one of the search results this page is shown:
Error message
Does anyone understand what happened here?
Many thanks in advance for your hints!
cheers,
expikx

Customize Search Portlet in Liferay DXP 7

I would like your support in order to get some help in customizing the search component in Liferay DXP 7.0 Enterprise.
I have reviewed all the available documentation but although I have found many articles about the issue, the step by step is not so clear for me.
I need to customize the native search component:
Change the input component to give suggestions while the user is typing the search terms
Change the search result page look and feel.
Anyone ever implemented anything like this?
I know this is an old thread, but StackOverflow keeps showing it as the first open question when I am navigation this particular tag...So here are some pointers, as this is a pretty broad topic...
The search is really confusing for adding customization. Mainly you have to provide some of them as contributors, using the asset framework. following the regular steps to build an asset for the asset publisher you will hit the best place to find documentation about the search contributors.
About the search page, best is to create a new page, besides the default one for extra freedom. As long you use the friendly URL /search it will a basic replacement. In this page you can add everything you need, except for translations for the friendly URL - not great. Another option is to keep the default page (which will not be visible in the build area 7.1.x, but you can edit after you search something and fall inside it).

Magento URL Rewrite Issue

thanks in advance for looking at my post.
I am getting quite confused about my Magento URLS
At present my URL appears like: http://exache.com/varifocal-vandal-proof-1080p-dome-camera
However I want it to appear like http://exache.com/cameras/dome-cameras/varifocal-vandal-proof-1080p-dome-camera
So instead of domain/product I would like it to appear domain/parent-category/sub-category/proudct..
Can anyone help?
Okay, Try following:
Login to Magento Admin
Go to Catalog Configuraiton. (System -> Configuraiton -> Catalog)
There, you'll see Search Engine Optimizations section (on right column)
Expand that and Select Yes to "Use Categories Path for Product URLs"
Save config
Refresh cache and try browsing front-end.

Magento - countrycode friendly URL's

I'm trying to change magento url's for the store switcher. Currently in Magento when you have multi store views for a different country code it shows like: myurl.com/?_store=french&_from_store=default
Does anyone know if it's possible to change it so that it shows myurl.com/fr. This would need doing for all different language types using the country code.
Thanks for any help you can offer.
M
here you can find your solution to manage like as above you want
http://magento-rohan.blogspot.in/2012/10/magento-managing-multiple-website-stores.html
you will do this easily using above link also for video
www.magentocommerce.com/magento-on-the-fly/multiple-sites/
hope this will sure help you.
You're one configuration setting away. Just go into System > Configuration > Web > URL Options and set 'Add Store Code to URLs' to 'Yes'.

Take a String and Search in Google - Windows 8

I am developing an App for Windows 8 for kitchen recipes. I have a checkbox with some ingredients. After selecting the ingredients the user presses a Button. The goal is to present a recipe with those ingredients included. My idea is to put all the values of the checkboxes on one string and Search it via Google and access one of the link given in the results. Is that possible ? iF SO, How can I do it ?
Thanks in Advance
You schould use the Custom Search API
The documentation can be found here:
https://developers.google.com/custom-search/v1/overview
Simply do some REST Magic
Helpful for that is the NuGet Package "RestSharp"
hope that helps
I don't fully understand your question but I hope this helps:
https://www.google.nl/search?q=TEXT%20HERE
This will google TEXT HERE
https://www.google.nl/search?q=monkey
This will google monkey

Resources