Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Syntax in Search?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Syntax in Search?
#3869
Syntax in Search? 2 Years, 6 Months ago  
Hey, I'm not sure if anyone else has experienced this, but I am seeing the
{source}[[div]]

etc. code when I am searching for items through the Joomla! search module (I am using YooSearch, but I believe that should only be affecting the style). Also, I do have the Sourcerer plugin working within the Zoo CCK (also by YooTheme, http://zoo.yootheme.com) so I'm not sure if it is related to this or if I might be doing something wrong. Thanks again.
yellowhousedesign
Posts: 43
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#3872
Syntax in Search? 2 Years, 6 Months ago  
Yes, that is a known problem.

The search takes the article and only grabs the first bit. If that has a {source} tag and no {/source} closing tag, Sourcerer won't know what to do with it.

Best would be if Sourcerer handles all those tags in the articles before the search component does it's thing with them.
But I don't think that is possible. And secondly, that would be very heavy!

So a second option would be that it strips all the {source}...{/source} tags from the articles before parsing them to the search. Here I am not sure that is possible either.
Peter van Westen
Admin
Posts: 9148
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#3883
Syntax in Search? 2 Years, 6 Months ago  
Peter, thanks for the response. I guess I can do some digging to see how I can customize the output of the search component (or how to limit it in this case). Also, I know you probably have been looking at it already, but if for some REALLY odd reason you haven't here is the Joomla! 1.6 trunk http://dev.joomla.org/nightly/joomla_tru...mla_trunk_svn.tar.gz what do you think so far? Thanks!
yellowhousedesign
Posts: 43
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#3885
Syntax in Search? 2 Years, 6 Months ago  
I have installed the 1.6 on my local test location. But haven't really come round to looking at it much. I'll do that after my holidays, which have started last week
Peter van Westen
Admin
Posts: 9148
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#3888
Syntax in Search? 2 Years, 6 Months ago  
Peter, I also found a bug (and I'm not too sure on this) when I have K2 installed (k2.joomlaworks.gr). This is the error I get when I attempt to see the feed of a category:

Catchable fatal error: Object of class JUser could not be converted to string in C:xampphtdocsjoomlapluginssystemsourcerer.php on line 610

When I have Sourcerer uninstalled though, I do not see this. Thanks for your help.
yellowhousedesign
Posts: 43
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#3889
Syntax in Search? 2 Years, 6 Months ago  
I must investigate...
Peter van Westen
Admin
Posts: 9148
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#3890
Syntax in Search? 2 Years, 6 Months ago  
Ok, found problem and fix. And will publish new version tomorrow or something.

In the meantime you can manuall fix it by changing line 243-245, from:
if ( isset( $article->author ) ) {
    $this->replace( $article->author, 'articles', $article );
}

to:
if ( isset( $article->author ) ) {
    if ( isset( $article->author->name ) ) {
        $this->replace( $article->author->name, 'articles', $article );
    } else {
        $this->replace( $article->author, 'articles', $article );
    }
}

Peter van Westen
Admin
Posts: 9148
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#3891
Syntax in Search? 2 Years, 6 Months ago  
Again, very fast! Ha hopefully no one else (especially me) will not bother you on your vacation Thanks again for the quick update.
yellowhousedesign
Posts: 43
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
Open Source Training | Online Joomla! Training and Support
hosting joomla
MaxCDN | Content Delivery Network | Accelerate your site to the max