PDA

View Full Version : Exlude and Include Not Working


mokele
03-28-2006, 11:57 AM
In 1.8.9RC, can't get the PHPDIG_EXCLUDE_COMMENT and PHPDIG_INCLUDE_COMMENT to work, comments are on separate lines, it just seems not to recognize them. Any ideas?

CHEMiST
04-06-2006, 12:16 AM
In your includes/config.php the variables PHPDIG_EXCLUDE_COMMENT and PHPDIG_INCLUDE_COMMENT are define by default:

define('PHPDIG_EXCLUDE_COMMENT','<!-- phpdigExclude -->');
define('PHPDIG_INCLUDE_COMMENT','<!-- phpdigInclude -->');

Use these tags to include and exclude html content from being indexed on their own lines:

<!-- phpdigInclude -->
content I want included for index
<!-- phpdigInclude -->

<!-- phpdigExclude -->
content I want excluded from index
<!-- phpdigExclude -->

Pages that do not have these tags are indexed implicitly. If you cannot get this working with v.1.8.9RC 1 try reverting back to the v.1.8.8 stable release.