Jump to:

1856 Posts in 1610 Topics by 562 members

Blog Module

SilverStripe Forums » Blog Module » Global Search doesn't work while on Blog Entries

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 2635 Views
  • h0nki
    Avatar
    Community Member
    7 Posts

    Global Search doesn't work while on Blog Entries Link to this post

    Hi Folks,

    i have noticed some strange behaviour while on Blog Entry Pages. The Global Search of SS which i implemented on all Page Modules works perfect for every content site and the Blog Holder / Summary Site. Only at the BlogEntry Site i'll get Website Error if i'm trying to search something.

    I don't know if this is a Bug. Maybe i just forgot to extend the Blog Entry Controller. Can somebody help me?

  • 1976
    Avatar
    Community Member
    5 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    Did you find a solution to this? I 've come across the same problem.

  • h0nki
    Avatar
    Community Member
    7 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    nope, still no solution found. i am not that kind of a professional coder, i am screendesigner that has to argue with silverstripe. for me is as a designer this cms is actually one of the worst i have ever seen. nothing really works together. each module works for its own, but many of them together fail. also the implemantion of jquery as additional framework is nearly impossible, which is horrible to me.

    i hope the developers will fix a lot of bugs in the next weeks, otherwise i dont see a future for this cms.

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    Same issue here

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    i'll get Website Error if i'm trying to search something.

    Put the site in dev mode so you at least get some useful error messaging - http://doc.silverstripe.com/doku.php?id=debugging. Just add Director::set_environment_type("dev"); in your _config file which you will see the actual error output which will give you a clue to what is wrong

    also the implemantion of jquery as additional framework is nearly impossible

    Are you talking about the front end or the backend? While it is not ideal at the moment it should not nearly be 'impossible'. We are undertaking a large about of jquery work over the next 3 months so the JS inside SS will be cleaned right up for 2.4

    each module works for its own, but many of them together fail

    Because of the many, many combinations that could occur we cannot test all of them together for every instance. We do test the latest trunk builds together via integration testing but if you do see a bug please report it so we can do something about it

    i hope the developers will fix a lot of bugs in the next weeks

    The core developers are constantly working on the modules and cms for our projects but if you find any issues please raise them on open.silverstripe.org so we can keep track of them (making sure of course its not already been reported and/or is not fixed in the latest release)

  • h0nki
    Avatar
    Community Member
    7 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    In Dev Mode I get this error:

    Action 'SearchForm' isn't allowed on class BlogEntry_Controller

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    Ok strange, perhaps try just add this to your Page_Controller

    static $allowed_actions = array('SearchForm');

  • h0nki
    Avatar
    Community Member
    7 Posts

    Re: Global Search doesn't work while on Blog Entries Link to this post

    Yes! Thats it! Thanks!

    But i would have never thought of this. Maybe for the future a cheatsheet with all common available functions would be nice. So i don't have to guess.

    2635 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.