Opened on 09/11/2017 at 01:31:41 PM

Last modified on 09/17/2019 at 12:27:03 PM

#5653 new change

Provide CMS hooks feature

Reported by: juliandoucette Assignee:
Priority: Unknown Milestone: Websites editing service
Module: Sitescripts Keywords:
Cc: kvas, jsonesen, wspee, ire Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by juliandoucette)

Background

See attached email thread.

TL;DR I'd like a way to make automated changes to entire pages e.g. adding target="_blank" to all anchor tags that have external hrefs. I could do this by e.g. searching for <a [*]*> and adding target="_blank" if the result does not contain the siteurl.

What to change

Execute "hooks" provided in "hooks" website directory. "hooks" are like "filters" except that they are applied to entire pages after rendering/converting.

Attachments (1)

CMS hooks:converters.pdf (79.7 KB) - added by juliandoucette on 09/11/2017 at 01:36:16 PM.

Download all attachments as: .zip

Change History (8)

comment:1 Changed on 09/11/2017 at 01:32:53 PM by juliandoucette

I set the milestone "website editing service" because I think that we will use this feature to make editing easier e.g. automating <fix> & <abbr> tags and auto-fixing links.

Changed on 09/11/2017 at 01:36:16 PM by juliandoucette

comment:2 Changed on 09/11/2017 at 01:40:37 PM by jsonesen

I think hooks would be best since converters is a name of a module in the CMS

comment:3 Changed on 09/11/2017 at 01:42:44 PM by juliandoucette

  • Blocking 5654 added

comment:4 Changed on 12/05/2017 at 04:07:29 PM by juliandoucette

  • Cc ire added

comment:5 Changed on 02/21/2018 at 04:54:24 PM by juliandoucette

  • Blocking 5654 removed
  • Description modified (diff)

BUMP: We can use this to fix a lot of inconsistency and reduce manual labour. Please prioritize accordingly.

comment:6 Changed on 02/21/2018 at 04:56:09 PM by juliandoucette

  • Summary changed from Provide hooks/filters feature in CMS to Provide CMS hooks feature

comment:7 Changed on 09/17/2019 at 12:27:03 PM by kvas

Dear stakeholders of this ticket,

I'm cleaning up Sitescripts tickets in Trac due to its phase out. This is one of the tickets that I could not myself close or move, so I need your input on it.

Please let me know if this ticket is still relevant for you and we can then discuss where it should be moved. If you think that this ticket is no longer relevant, you can write a comment explaining this or just ignore this message.

If I see now comments in the ticket on October 14, I will close it as rejected.

Best regards,
Vasily

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none).
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.