pancakes

MicrostockGroup Sponsors


Author Topic: Request for Leo - (Network) Search result page design  (Read 7021 times)

0 Members and 1 Guest are viewing this topic.

« on: July 02, 2013, 15:29 »
0
I showed my wife how awesome Symbiostock is by performing random searches from my Symbiostock web site.

Everything was fine and dandy as long as some of my images were displayed along with the network's search results below but when one search returned none of my images and just displayed the categories of my site it was not apparent to her that the network results below my categories were available.

My screen resolution (1920x1080) resulted in, what appeared, no search results. If a potential buyer doesn't pay attention to the scroll bar on the right and notices that he/she can scroll down to see the network's results.

Is there a way either to reduce/remove the categories on the search results if there are NO matches on my site, so it es easier to notice that the network results appear right underneath?

I hope I could express myself properly about the issue I'm trying to explain.

Feel free to ask any questions if anything is unclear. Thanks.


« Reply #1 on: July 02, 2013, 15:32 »
0
I know exactly what you mean.  I keep trying to change the wording at the top of the category list when nothing is found to let potential customers know to scroll down and check below the categories, but not yet found the right place - strange how the site goes all white when you get it wrong  - if you find it please let me know  :)

Leo Blanchette

« Reply #2 on: July 02, 2013, 15:38 »
0
I'm working on a plugin right now (another thread) which may be able to tweak this.

So basically when you guys ask for tweaks, I'll simply post some code and you paste it into the "genetics lab" and you may have a fix. I'll have to see it case-by-case though - some on-page stuff might not be over-ride able. I'll get back to you soon though.

edit- thats the first time i've used so many dashes in one sentence

« Reply #3 on: July 02, 2013, 15:43 »
0
I'm by far no Wordpress whizz so talking about plugins together with "genetics lab" just leave me with a big question mark over my head but I'm sure you got it all figured out.

I was thinking to "just" implement an "on" and "off" button in the admin panel to turn the categories on the search results page on or off.

I don't know if that makes any sense.

« Reply #4 on: July 02, 2013, 15:51 »
0
Genetics lab -  a bit like a child theme  css page but for php?

Leo Blanchette

« Reply #5 on: July 02, 2013, 15:53 »
0
What I'll end up doing is pasting code for you. You will plug it into the "Symbiostock Genetics Lab" and your button will appear where we want it.

The issue here is that people are going to want LOTS of changes. Some minor, some less minor. Some needed, some bonus. Everyone has different needs.

I can't create/sell a plugin for every single little issue, since that would be unethical. This little thing will allow people to cherry-pick features and plug them in after buying this main "genetics lab" plugin. Conversely I can't keep tweaking or I'll tweak myself right into poverty, so this is a nice compromise.

So you can plug in small changes, or big ones...features or fixes. Modifications...

It will be as simple as copy/paste :D

Leo Blanchette

« Reply #6 on: July 02, 2013, 15:55 »
0
Genetics lab -  a bit like a child theme  css page but for php?

Sort of. You'll enjoy this.

« Reply #7 on: July 02, 2013, 16:21 »
0
I just wanted to hear from other Symbiostock users if my concern is justified that on some monitor resolutions the network results cannot be seen if the site where the search was performed doesn't yield any results.

If so, then I think it should be a major feature in one of the future versions.

We all want the search result pages to look as good as possible to generate sales for everyone right?

« Reply #8 on: July 02, 2013, 17:37 »
0
Yes, it is of concern for me. And I have tweaked the code successfully. However, with every new template update I have to do it again:

in Inc\Classes\network-manager\interpreter.php

replace
Code: [Select]
<h2>No Results found. Try browsing the categories. Maybe you will find some hidden gems!</h2>with your message.

You'll see on my site that I've added a local link like
Code: [Select]
<a href="#network_results">...</a>
I added a 
Code: [Select]
<a id="network_results"></a> tag just before
Code: [Select]
<div id="network_site_<?php echo $site_count?>" class="network_results row-fluid">to make that link work.


Leo's solution of a Genetics Lab plugin sounds interesting if it will allow tweaks such as this that even survive theme updates.

« Reply #9 on: July 02, 2013, 17:54 »
0
I definitely prefer a solution that survives theme updates.

Leo Blanchette

« Reply #10 on: July 02, 2013, 18:02 »
0
Thats EXACTLY what this would do. More or less. I'll look into your partular "hidden gems" case and see if I can't write something up.

Then you will simply paste it into the "infuse!" box and it will change everything for you.

The plugin is kind of cute the way it makes a genetic science overtone to it :D Gotta have fun you know...

« Reply #11 on: July 02, 2013, 18:13 »
0
Yes, it is of concern for me. And I have tweaked the code successfully. However, with every new template update I have to do it again:

in Inc\Classes\network-manager\interpreter.php

replace
Code: [Select]
<h2>No Results found. Try browsing the categories. Maybe you will find some hidden gems!</h2>with your message.

You'll see on my site that I've added a local link like
Code: [Select]
<a href="#network_results">...</a>
I added a 
Code: [Select]
<a id="network_results"></a> tag just before
Code: [Select]
<div id="network_site_<?php echo $site_count?>" class="network_results row-fluid">to make that link work.


Leo's solution of a Genetics Lab plugin sounds interesting if it will allow tweaks such as this that even survive theme updates.

shouldn't you be able to place this in  the child theme & not have it overwritten?

« Reply #12 on: July 03, 2013, 01:55 »
0
Yes, it is of concern for me. And I have tweaked the code successfully. However, with every new template update I have to do it again:

in Inc\Classes\network-manager\interpreter.php

replace
Code: [Select]
<h2>No Results found. Try browsing the categories. Maybe you will find some hidden gems!</h2>with your message.

You'll see on my site that I've added a local link like
Code: [Select]
<a href="#network_results">...</a>
I added a 
Code: [Select]
<a id="network_results"></a> tag just before
Code: [Select]
<div id="network_site_<?php echo $site_count?>" class="network_results row-fluid">to make that link work.


Leo's solution of a Genetics Lab plugin sounds interesting if it will allow tweaks such as this that even survive theme updates.

shouldn't you be able to place this in  the child theme & not have it overwritten?

I don't know. I still have trouble using the child theme for anything beyond CSS.

My understanding of changing php files within the child theme so far is following:

I need to copy the php file to be changed AND all dependent php files to the child theme. With dependent php files I mean all those that are subsequently called/included in the original php file and its dependent files. I checked this in one or two instances and ended up with a considerable chain of files.
I think that doesn't really work because if any changes are done in those files by a theme update the child theme will miss/overrule those and I end up with a pile of work to do with every update as well.

All that being said I am sure there must be smarter ways to use the child theme for such tweaks. So I'd appreciate helpful tips  ;)

« Reply #13 on: July 03, 2013, 08:19 »
0
I don't know. I still have trouble using the child theme for anything beyond CSS.

My understanding of changing php files within the child theme so far is following:

I need to copy the php file to be changed AND all dependent php files to the child theme. With dependent php files I mean all those that are subsequently called/included in the original php file and its dependent files. I checked this in one or two instances and ended up with a considerable chain of files.
I think that doesn't really work because if any changes are done in those files by a theme update the child theme will miss/overrule those and I end up with a pile of work to do with every update as well.

All that being said I am sure there must be smarter ways to use the child theme for such tweaks. So I'd appreciate helpful tips  ;)

I see what you mean, sounds like a recipe for disaster, not a good idea to use the child theme for that then.

I thought about that problem before and was hesitant to try it out, now you've proven why.

« Reply #14 on: July 03, 2013, 11:47 »
0
I don't know. I still have trouble using the child theme for anything beyond CSS.

My understanding of changing php files within the child theme so far is following:

I need to copy the php file to be changed AND all dependent php files to the child theme. With dependent php files I mean all those that are subsequently called/included in the original php file and its dependent files. I checked this in one or two instances and ended up with a considerable chain of files.
I think that doesn't really work because if any changes are done in those files by a theme update the child theme will miss/overrule those and I end up with a pile of work to do with every update as well.

All that being said I am sure there must be smarter ways to use the child theme for such tweaks. So I'd appreciate helpful tips  ;)

I see what you mean, sounds like a recipe for disaster, not a good idea to use the child theme for that then.

I thought about that problem before and was hesitant to try it out, now you've proven why.

you should only need to change the one php file that you're changing, but you would need to change it everytime -- or, you could use a hook from the theme and write a specific php function.  I've looked at doing that but haven't tried it yet

« Reply #15 on: July 03, 2013, 12:04 »
0
I don't know. I still have trouble using the child theme for anything beyond CSS.

My understanding of changing php files within the child theme so far is following:

I need to copy the php file to be changed AND all dependent php files to the child theme. With dependent php files I mean all those that are subsequently called/included in the original php file and its dependent files. I checked this in one or two instances and ended up with a considerable chain of files.
I think that doesn't really work because if any changes are done in those files by a theme update the child theme will miss/overrule those and I end up with a pile of work to do with every update as well.

All that being said I am sure there must be smarter ways to use the child theme for such tweaks. So I'd appreciate helpful tips  ;)

I see what you mean, sounds like a recipe for disaster, not a good idea to use the child theme for that then.

I thought about that problem before and was hesitant to try it out, now you've proven why.

you should only need to change the one php file that you're changing, but you would need to change it everytime -- or, you could use a hook from the theme and write a specific php function.  I've looked at doing that but haven't tried it yet

While I have some programming experience php and WP is new to me. I am fine changing some text of function parameter, but I am lost on how to "use a hook from the theme and write a specific php function" when all I want to do is changing that text or function parameter (if possible more permanent, of course).
I am sure Leo's Genetic Lab plugin is a good step towards a solution. But I still need time to master this somewhat steep learning curve. And a day has only 24 hours  :'(   

« Reply #16 on: July 03, 2013, 17:37 »
0
I don't know. I still have trouble using the child theme for anything beyond CSS.

My understanding of changing php files within the child theme so far is following:

I need to copy the php file to be changed AND all dependent php files to the child theme. With dependent php files I mean all those that are subsequently called/included in the original php file and its dependent files. I checked this in one or two instances and ended up with a considerable chain of files.
I think that doesn't really work because if any changes are done in those files by a theme update the child theme will miss/overrule those and I end up with a pile of work to do with every update as well.

All that being said I am sure there must be smarter ways to use the child theme for such tweaks. So I'd appreciate helpful tips  ;)

I see what you mean, sounds like a recipe for disaster, not a good idea to use the child theme for that then.

I thought about that problem before and was hesitant to try it out, now you've proven why.

you should only need to change the one php file that you're changing, but you would need to change it everytime -- or, you could use a hook from the theme and write a specific php function.  I've looked at doing that but haven't tried it yet

While I have some programming experience php and WP is new to me. I am fine changing some text of function parameter, but I am lost on how to "use a hook from the theme and write a specific php function" when all I want to do is changing that text or function parameter (if possible more permanent, of course).
I am sure Leo's Genetic Lab plugin is a good step towards a solution. But I still need time to master this somewhat steep learning curve. And a day has only 24 hours  :'(   

i'm new to wp also - hooks are the wp equivalent of on-mouse-click and other such activities.  there's a lot of doc in the wp area that gives examples of all the hooks and how to use them -- idea is, you would write your function and it would get called whenever some action was taken

I haven't followed up since the xml files have provided the info had I had been looking for.  the new genetic area may also be the way to go


 

Related Topics

  Subject / Started by Replies Last post
16 Replies
11585 Views
Last post June 05, 2013, 04:02
by Kerioak~Christine
2 Replies
2929 Views
Last post July 10, 2013, 07:17
by ernstsg
0 Replies
1862 Views
Last post August 07, 2015, 13:20
by saschadueser
27 Replies
13448 Views
Last post May 11, 2016, 09:29
by Shelma1
3 Replies
2256 Views
Last post November 08, 2022, 22:37
by Artist

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors