Search Block

Permalink
Hi All,

First off great works guys, I have been raving about your CMS for months! Until this week I haven't had a lot of time to play with the MVC/programming side of things and am totally thrilled about the Developer section and the ease of adding controllers/models to even existing pages.

The first site we launched in Concrete was this week and I found it very simple to create my own blocks and adapt the existing one's. Granted we didn't do much customization but we are truly after the CMS mainly.

Right now I am beginning a second site using Concrete and will need quite a bit more customization of the system and I have a few questions which were not answered through the Developers section.

The site will call for site searching functionality. I have inserted the Search Block into a page to test it out and it appears it only indexes dynamic content, is this true? Is there any docs out there pertaining to the Search Block?

If I wanted to add the search box to every page as part of the main template how should I go about doing this? And once I add this to the template I intend to have a search results page catch all requests for this, I am wondering if every page type will automatically understand I am running a search when I click search?

Also there are going to be parts listed on the site, with categories, a list and detail view of each. I plan on building this functionality myself but recently found posts describing the blocks you have already that handle eCommerce. Is it possible to see any of these? I will not be doing any true eCommerce as far as allowing a cart or checkout but just to be able to browse the products by category and search them.

Which brings my whole post together; since if I implement my own product manager, how would I go about including items from my personal block into the search results index?

Also, I signed up for getting involved with you guys development wise and look forward to sharing my ideas with you. I rewrote the form helper to not use tables and also to remove the inline styles added to textarea's. I was debating about implementing the ability to add custom classes to form fields as well but for now I hard coded my personal form classes that I use frequently into the class.

OK I wrote enough already, I am looking forward to chatting with you.

plant
 
Maynar replied on at Permalink Reply
Maynar
Welcome to C5.

I myself don't use the search block so I can't help you there. You can add it to every page in two ways. Go to "pages and themes"->"page types"->select a page type you use->defaults.

A new window will open and here you can add default blocks to new pages. These defaults will only work for new pages. You can also call it in the code of your theme. Not sure how, but saw a post of someone who recently did the same thing.

You ideas pretty much sound like a true eCommerce package. This is not a build in feature for C5 yet, but their working on something.

Uhm.. yeah that's what I got to say.
frz replied on at Permalink Reply
frz
welcome aboard, great to hear concrete5 is helping you. Nice to hear one person not complain about the developer docs. ;)

(yeah yeah yeah)

i would urge you to think about extending page types instead of making blocks when ever possible:
http://www.concrete5.org/index.php?cID=12226...

yes, a simple ecommerce solution is very much on our radar - sadly I have no fixed ETA beyond soon.

search does use dynamic content only i believe - someone else is going to have to tell you how to add stuff to its index target, I'm out of the loop on how it works at this point, it feels like we've used every option out there... ;)

welcome!
-frz