tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/16030-is-it-possible-to-search-content-of-the-wysiwyg-editor-fields-for-javascript-or-php-codeCascade CMS: Discussion 2015-01-14T15:12:16Ztag:help-archives.hannonhill.com,2010-02-09:Comment/357277492015-01-08T16:21:00Z2015-01-08T16:21:02ZIs it possible to search content of the wysiwyg editor fields for javascript or php code?<div><p>BTW... I should mention that the function being used would most
likely be attached to a link inline (onclick="javascript"). So, I
would expect to find it in the content of a template dataset, and
not in another javascript file.</p></div>alindelltag:help-archives.hannonhill.com,2010-02-09:Comment/357277492015-01-08T17:51:23Z2015-01-08T17:51:23ZIs it possible to search content of the wysiwyg editor fields for javascript or php code?<div><p>Hi,</p>
<p>If you are talking about searching page content in the DEFAULT
region, will you consider web services? See <a href=
"http://www.upstate.edu/cascade-admin/projects/web-services/oop/classes/asset-classes/page.php">
Page</a> and <a href=
"http://www.upstate.edu/cascade-admin/projects/web-services/courses/intermediate-course/intermediate-lesson-5.php">
Lesson 5: Page</a> for examples.</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/357277492015-01-08T21:23:41Z2015-01-08T21:23:41ZIs it possible to search content of the wysiwyg editor fields for javascript or php code?<div><p>Hi,</p>
<p>Currently, basic and advanced searching will only search content
within tags, but not content within tag attributes (ie
<code>href</code>, <code>onclick</code>, etc). I see we do have
<a href="https://hannonhill.jira.com/browse/CSI-430">an improvement
logged</a> in our issue tracker to add this functionality to basic
and advanced search.</p>
<p>Feel free to use this link to track the progress of this issue
or keep an eye out for it on our <a href=
"http://www.hannonhill.com/kb/Release-Notes">Release Notes
site</a>.</p>
<p>In the meantime, the <a href=
"http://www.hannonhill.com/kb/Search-and-Replace/">search and
replace</a> feature should return attribute content because it is
implemented differently.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/357277492015-01-09T19:26:14Z2015-01-09T19:26:14ZIs it possible to search content of the wysiwyg editor fields for javascript or php code?<div><p>I tried the search and replace, and it did find the javascript
file that contained the defined function. But, it didn't find any
pages that contain it in a link. Maybe that proposed improvement
will help if implemented.</p>
<p>In the meantime, I've simply searched the web server for files
containing it using grep.</p>
<p>Thanks,<br>
Anders</p></div>alindelltag:help-archives.hannonhill.com,2010-02-09:Comment/357277492015-01-14T15:12:16Z2015-01-14T15:12:16ZIs it possible to search content of the wysiwyg editor fields for javascript or php code?<div><p>Thank you for following up, Anders. I am glad to hear you were
able to find a viable workaround.</p>
<p>Unfortunately, I do not have a timeline for the improvement, but
definitely keep an eye on our Release Notes for the issue to be
resolved.</p>
<p>I'm going to go ahead and close this discussion, please feel
free to comment or reply to re-open if you have any additional
questions.</p>
<p>Have a great day!</p></div>Ryan Griffith