The in the page text doesn't prevent the search module from listing a page in the search results when the title of the page matches the search criteria.
For example:
If there's a page with title or menu text "should be hidden" and in the page contents there is the tag then a search for "should" lists the page in the results list.
Question:
Must the appear somewhere else on the page than in the text?
Thanks for any reply!
ernst
--------------------------------------------------------------------------
Found out by myself:
Have to enter the tag in HTML mode of TinyMCE. If entering in WYSIWIG mode the get converted to the HTML codes for these special chars (< / >) and thus won't be recognized by the search module.
[SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
[SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
Last edited by eh on Sun Jan 11, 2009 8:46 pm, edited 1 time in total.
Re: [SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
No kidding, tiny does the job of cleaning up the code like it's supposed to, that you shouldn't be putting in it any way, have you tried putting that in the metadata box in the options tab, it should probably say that anyways instead of just in the template...
Re: [SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
Applies to CMSMS 1.4.1:
- Placing the tag in the "Page Specific Metadata" textbox has no effect.
- Placing the tag in the "Smarty data or logic that is specific to this page" textbox solves the problem.
Applies to CMSMS 1.2.4:
- Placing the tag in the "Metadata" textbox solves the problem.
- For this version there's no "Smarty data or logic that is specific to this page".
Conclusion:
The version independent solution seems to be by entering the tag in the page contents in HTML edit mode.
Thanks for your hint anyway!
Ernst
- Placing the tag in the "Page Specific Metadata" textbox has no effect.
- Placing the tag in the "Smarty data or logic that is specific to this page" textbox solves the problem.
Applies to CMSMS 1.2.4:
- Placing the tag in the "Metadata" textbox solves the problem.
- For this version there's no "Smarty data or logic that is specific to this page".
Conclusion:
The version independent solution seems to be by entering the tag in the page contents in HTML edit mode.
Thanks for your hint anyway!
Ernst
Last edited by eh on Mon Jan 12, 2009 1:03 pm, edited 1 time in total.
Re: [SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
Best solution would be to update those CMS versions.
Latest 1.5.1 has checkbox for that is called "This page is searchable:". This is on options tab.
Latest 1.5.1 has checkbox for that is called "This page is searchable:". This is on options tab.
Re: [SOLVED] <!-- pageAttribute: NotSearchable --> not working for page title
Thanks for that - did the upgrade.
Ernst
Ernst