I am using Joomla 3.6.5 version.
In article we can add Read More break point for blog view of articles or introtext in menu. When we click on Read More button in bottom of the page, it will add code:
<hr id="system-readmore" />
It's working fine. But my issue is different.
I have content of articles from third party. And I have php script with HTML and content to update article content. That script runs from cron job. I have also add this hr tag along with other content where I want to put break point.
But this not adding Read More text to my menu intro text. After cron job run I have looked in article content this tag is there. And one more point, as I have thought it may do changes of text break on click of Read More button, but strange! Without changing any thing if I save article again, it will show me a Read More text on menu intro text.
Any one can suggest that from which file this break point related changes are applied. Or any other solution to solve my issue.
Part of my script is here:
$dircontents = "<div>Lorem Ipsum is simply dummy text of the printing and typesetting industry.<hr id=\"system-readmore\" /></div>";
Thanks.