How to Change Detection ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
senkothanh037
Posts: 1
Joined: Sat Aug 11, 2018 9:45 am

How to Change Detection ?

Post by senkothanh037 » Sat Aug 11, 2018 9:47 am

I am using a free service from changedetection.com to notify me when there are changes to the text on my blog.

I am getting notices for every page every day because of the calendar changing the date.

changedetection.com says that I can tag parts of the page to ignore by adding this code;

"To ignore the changes on part of a page (for example the page header, nav bar, footer, or an ad that is changed continuously) use the following two tags as illustrated:
...stuff to monitor for changes...
<!-- ChangeDetection.com detection="off" -->
...stuff to ignore...
<!-- ChangeDetection.com detection="on" -->
...stuff to monitor for changes... "

My question is where would I insert that code, and on which files? Where is the calendar activated?

User avatar
yellowled
Regular
Posts: 6920
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: How to Change Detection ?

Post by yellowled » Sat Aug 11, 2018 4:38 pm

senkothanh037 wrote:
Sat Aug 11, 2018 9:47 am
My question is where would I insert that code, and on which files? Where is the calendar activated?
The calendar is emitted by a template file called plugin_calendar.tpl, which would be the place where you would add those lines. It's possible that /templates/YOUR_THEME/ does not have said file due to the way template fallbacks work in s9y. If that's the case, you can just copy /templates/2k11/plugin_calendar.tpl to /templates/YOUR_THEME/plugin_calendar.tpl and edit the latter.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply