Rereplacer and Sourcerer code with addHeadLink

1 year 8 months ago #75181

Willy's Avatar Willy

I am using Sourcerer inside Rereplacer for writing to Joomla Head. However, it seems to do nothing. This is what I have in Replace area:

	$doc->addHeadLink('', 'next', 'rel');

Can you help me?

Best regards,


1 year 8 months ago #75183

Peter van Westen's Avatar Peter van Westen Admin

Adding stuff to the $doc only works in the first stages of building up the website. So during the rendering of the articles.
Make sure the Search Area of the ReReplacer item is set to 'Articles'.