• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: [fixed]Admin Search can give false positives
PostPosted: Sun Mar 19, 2017 10:29 am 
Offline
Power Poster
Power Poster

Joined: Sun Apr 19, 2009 9:33 am
Posts: 1146
Old contentblocks are not removed when changing content type or switching template.


- create a template with 2 content blocks (Layout > Design Manager):
Code:
   {content label="first"}
   {content block="second" label="second"}


- add content (Content > Content Manager):
Code:
   firstblock
   secondblock


- search on added content (Extensions > Admin Search):

Search Text: firstblock || secondblock

- change content typ to redirect link (Layout > Design Manager [Content Type: Redirect Link]):


- search again (Extensions > Admin Search):

Search Text:
Code:
firstblock || secondblock



Content of first and second content block still appear. Same when you change to a template with one content block. The content of the secondblock still shows up.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Admin Search can give false positives
PostPosted: Sun Mar 19, 2017 2:19 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Tue Oct 19, 2004 6:44 pm
Posts: 7795
Location: Fernie British Columbia, Canada
I can alleviate this somewhat... but not all together.

Content properties are not cleared from the database when you change content type. or change template... and therefore they still will show up in search results. And some would argue that they should.

However, I will fix it so that it won't show up in search results when you change the content type to something like a link.

_________________
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed]Admin Search can give false positives
PostPosted: Sun Mar 19, 2017 5:15 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7223
Location: The Netherlands
Fixed in SVN rev: 11184

_________________
Image

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return! [ Click here ]



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: [fixed]Admin Search can give false positives
PostPosted: Sun Mar 19, 2017 6:39 pm 
Offline
Power Poster
Power Poster

Joined: Sun Apr 19, 2009 9:33 am
Posts: 1146
Looks good tested with Redirect Link and Internal Page Link, tnx.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting