WebsiteBaker Community Forum

General Community => WebsiteBaker Website Showcase => Topic started by: chio on January 14, 2010, 10:58:17 AM

Title: Topics & Bakery
Post by: chio on January 14, 2010, 10:58:17 AM
jo, a completely redesigned site, mostly using the modules bakery and topics:
http://www.vital.co.at/
Check the search!

More about in german:
http://WebsiteBaker.at/topics/nahrungsergaenzungen.html
Title: Re: Topics & Bakery
Post by: Argos on January 19, 2010, 04:31:18 PM
WOW! What a great site, nice design and very clever use of coding and modules. I'm impressed!
Title: Re: Topics & Bakery
Post by: PurpleEdge on January 28, 2010, 02:05:38 AM
Very nice design, best use of "Bakery" that I have seen!

I think you should have a "Shopping Cart" link visible on all pages - I don't speak German, so it might already be there?
Title: Re: Topics & Bakery
Post by: chio on January 28, 2010, 01:28:10 PM
Thank you!
Jepp, its not easy to style bakery. In the first tries I did some changes in the view.php, but then I decided to use Bakery "as is", because with every update the changes get lost and have to be made again.
So only one very simple change is still in the Bakery module view.php: The second block; the way "topics" handles this.
When I started the site, I gave "topics" the ability to link easy to bakery products, which is still a (undocumented) feature of topics.


Title: Re: Topics & Bakery
Post by: crnogorac081 on January 28, 2010, 02:19:01 PM
Search looks cool, how did you generate the suggestions ?
Title: Re: Topics & Bakery
Post by: chio on January 28, 2010, 03:46:12 PM
I used a spider tool to find ALL relevant words on the site. unfortunately some of them are not really "search words", as "besonders" ("specially") and so on. So the client has to delete these words; its a simple text file.

On another site I combined all search strings from Google Analytics with menue-items. This isnt for search sugesstions, but for "Jump To"-Links.
Title: Re: Topics & Bakery
Post by: crnogorac081 on January 28, 2010, 04:45:01 PM
Could you post an example code pls.
Title: Re: Topics & Bakery
Post by: chio on January 28, 2010, 04:50:22 PM
Sorry, this isnt a "out of the box" solution, there are some changes needed in the Template, 2 (not very beautyful) modules, changes in search, MyPHPAdmin.....)

Its still in development
Title: Re: Topics & Bakery
Post by: crnogorac081 on January 29, 2010, 10:03:22 AM

Could you just tell me how the links looks like? I have autosugestion in my PM module, but it only fills in the form when you click on it..
Title: Re: Topics & Bakery
Post by: chio on January 29, 2010, 01:25:56 PM
In this case I use:
Code: [Select]
..(loop)
//$rawword = Plain word in List
$htmlword = htmlentities($rawword);
$result = utf8_encode($rawword);
$ergtext .= '<li><a href="'.WB_URL.'/search/index.php?string='.$result.'">'.$htmlword.'</a></li>
....

On another site I use searchstring OR page_id in a db-table. I use a script that either redirects to search (with the string)  OR the given page.

Its a litte bit difficult for me, to say those things in english...
Title: Re: Topics & Bakery
Post by: crnogorac081 on January 29, 2010, 02:21:53 PM
Cool, you told me exactly what I needed.. I will try to generate suggestion list like yours from keywords..

thanks !