Forum Replies Created
-
AuthorPosts
-
Richi400
Participantgreat! thank you. works correct now.
so I do not have to wait for the next bugfix version and could work with your temporary solution, right?
Did you make any changes on files/settings I should know, so that I will not override your bugfix accidentally?Richi400
ParticipantHi there!
I was trying to open a new thread, but is was not possible because it says “Wrong verification code, or code already in use!” no idea why. So here is my new problem:
I’ve got a problem with my search results.
Try to go to http://www.youwineworld.com/weinmagazin/ and for example type “kochen mit wein” or “riesling”. The groupe “other results” always shows multiple results, means the same post is displayed 2, 3 or 4 times or more.
What could be the reason for this?To access the site pls use the “ftp-credentials” I have provided.
thanks in advance!
Richi400
ParticipantWhooooo! Strange! Problem solved. The map-resizing-calculation works now! 🙂
I’ve no idea why, but it works now! Yes!
Did you change the javascript source in Compatibility Options?Richi400
ParticipantGREAT! It solved the problem :-))
Oh no I don’t want use such big images. It was just a try, if a 300KB JPG looks worse than a 2.2MB PNG. But theres no difference in the shop-view. So I replaced the PNG with the JPG and the search works now and is fast enough! Thanks! great!-
Map issue
HTML image maps are one of the best ways to add multiple links to a single image. look here: http://www.youwineworld.com/shop/ (the banner above the “Shop”-Title has 4 different links) but it’s one image.
It works, but for example if you reduce the size of your browser-window to see how it would work e.g. on tablets you see that the link-map is not calculated to fit the new resolution. To keep the link-map fit to every resolution I’ve built in the jQuery-rwdImageMaps.
In my functions.php I used this code:
[code]add_action( ‘wp_print_scripts’, ‘add_my_scripts’, 100 );
function add_my_scripts() {
if ( !is_admin() ) {
wp_deregister_script( ‘jquery’ );
wp_register_script( ‘jquery’, ( ‘http://www.youwineworld.com/wp-includes/js/jquery/jquery-1.11.2.min.js’ ), false, null, true );
wp_enqueue_script( ‘jquery’ );
wp_register_script( ‘jqmigrate’, ( ‘http://code.jquery.com/jquery-migrate-1.1.0.min.js’ ), false, null, true );
wp_enqueue_script( ‘jqmigrate’ );
wp_register_script( ‘rwdImageMaps’, ‘http://www.youwineworld.com/wp-content/themes/labomba/includes/js/jquery.rwdImageMaps.js’);
wp_enqueue_script( ‘rwdImageMaps’ );
} }
add_action(‘init’, ‘add_my_scripts’);[/code]The HTML code for the img will look like this:
[code]<img src="http://www.youwineworld.com/wp-content/uploads/2015/03/Shop-Banner-Alle-Weine.jpg" alt="Weine online günstig kaufen" /><map id="map1425294570307" name="map1425294570307"><area shape="rect" coords="0,0,285,155" title="Rotweine online günstig kaufen" alt="Rotweine online günstig kaufen" href="http://www.youwineworld.com/produktkategorie/rotwein/" target="_self"><area shape="rect" coords="0,165,284,319" title="Weingut Sandwiese Wein" alt="Weingut Sandwiese Wein" href="http://www.youwineworld.com/produktkategorie/weingut-sandwiese/" target="_self"><area shape="rect" coords="292,0,492,318" title="Marienhof Perlwein Perlenmarie Perlenkönig" alt="Marienhof Perlwein Perlenmarie Perlenkönig" href="http://www.youwineworld.com/produktkategorie/weingut-marienhof/" target="_self"><area shape="rect" coords="496,0,764,319" title="Wein zu Ostern" alt="Wein zu Ostern" href="http://www.youwineworld.com/shop/" target="_self"></map>[/code]
or look at the html view of http://www.youwineworld.com/shop on line 2015Richi400
ParticipantThe described problem still exists.
But now there is another problem. The Ajax Search jquery.ajaxsearchpro.min.js?ver=4.1.1 is in conflict with my jquery.rwdImageMaps.js?ver=4.1.1. The Link-Map calculation for responsive (resizing) images doesn’t work if Ajax Pro Search is activated. 🙁
Any idea?
Richi400
ParticipantI could change the URL, but it will show 404 still.
OK, it’s obviously that it is unpossible to change the redirect from wordpress to an other page than search.php as template. Crazy! But ok…New problem:
http://www.youwineworld.com/shop/I have some product categories like “Weißwein”, “Rosé” and “Rotwein”. When I search for Weißwein it’s allright. “Weisswein” is not working. (Maybe because the titel is written “weißwein” with the german “ß” and not “weisswein”)
BUT: Please try to type “Rotwein”… the search will start and will never finish with a result, although the title is “Rotwein”. This is a bad bug. Have no idea why?thanks in advance!
Richi400
ParticipantAll right! Thanks a lot for this helpful comment. I think you’re right with your assumption of php-process throttling. The site will be hosted on a dedicated server when I finished work on it. So the problem should be gone.
And thanks for the tutorial-link. I will figure it out.
Richi400
ParticipantHi there!
Ok, seems that the search works most of the time properly. But sometimes, especially the search while typing is very slow. Also in some cases when I typed a phrase and hit enter I get an internal server error.
You could have a try here:
http://www.youwineworld.com/shop/ (product search)
and here: http://www.youwineworld.com/weinmagazin/ (search products, pages and posts)Strange, I provided the admin and ftp-details allready in my initial post, obviously it’s gone. :/
– The database size is 7.3MB. There are about 7 products and 21 published posts, only. (Will be over 100 posts after finishing the website construction)
– It’s a shared web hosting
– type of content: products, posts, pages
– I tried to use the cache system, but it was producing a lot of bugs, so I deactivated it again, I also tried fulltext search options but it did not change anything
– response speed test:
Tested from New York City: 7.25s, 7.10s (86/100 perf. grade)
Tested from Amsterdam: 2.64s, 2.18s, 3.35s (88/100)And one last question: How could I determine a custom search page. I don’t want to use the default one. I allready checked the box override default wordpress search-page. ans created a new page. But if I set the redirect URL to a custom page like /suche?s={phrase} I get a 404 error although the page exists.
Do I have to copy the search.php and customize it?thank you!
-
AuthorPosts