Content Templater

Version 7.0.1 destroys existing templates

3 years 10 months ago #69515

Kay-Uwe Koalick's Avatar Kay-Uwe Koalick

Hello,

I updated today the Content Templater extension to version 7.0.1 pro but it damages my templates.

Example: A template which includes placeholder text with a modal linked to images. The path to the image folder includes code and snippets.

What I get: Character 'i' is deleted everywhere, no code - no snippet works, image tag is deleted

Please help.


Content template:

<p><span style="color: red;">Placeholder text for your article. Just overwrite it. Need help? See tips inside "Editors Notes" menu. Place some text BEFORE the image gallery to avoid iisue in frontpage module (no text).</span> Morbi tellus enim; rutrum quis dolor eu, consectetur hendrerit eros. Praesent eu pellentesque sapien! Phasellus quis felis laoreet, accumsan nulla et, suscipit nisi! Sed blandit malesuada commodo. Pellentesque condimentum tristique vestibulum. Curabitur luctus aliquam turpis elementum adipiscing. Nam a congue quam. Nulla facilisi. Duis odio neque, lobortis ut cursus ac; convallis vitae lectus! Vestibulum sollicitudin interdum adipiscing. Aenean sodales purus lobortis; bibendum quam fringilla, euismod libero. Curabitur et feugiat nisi. Vestibulum sodales magna dapibus, convallis augue at, luctus justo. Cras euismod eget erat nec imperdiet. In condimentum lacus lorem, nec auctor tortor elementum sit amet. Nam sollicitudin tristique semper.</p>
<div class="imgLeftWithCaption">{modal gallery=sitedocs/images/NEWS/[[date:%Y]]/art-news-[[user:id]]-[[date:%d]]-[[date:%b]]-[[date:%y]]|retinaImage=1|title={snippet ctitle}}<img src="sitedocs/images/NEWS/[[date:%Y]]/placeholderImage.jpg" alt="image" />{/modal}
	<p>Cutline here ...</p>
</div>
<p>Morbi eu velit rutrum tellus facilisis malesuada. Etiam fringilla tellus sed metus consectetur dignissim. Aliquam in sollicitudin orci. In luctus diam id viverra convallis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur condimentum libero turpis, in bibendum felis malesuada vel. Nunc lacinia eros erat, eget venenatis eros viverra vel. Donec at rhoncus augue. Maecenas lobortis lacus dapibus, aliquet risus et, dignissim massa. Morbi eu velit rutrum tellus facilisis malesuada. Etiam fringilla tellus sed metus consectetur dignissim. Aliquam in sollicitudin orci. In luctus diam id viverra convallis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur condimentum libero turpis, in bibendum felis malesuada vel. Nunc lacinia eros erat, eget venenatis eros viverra vel. Donec at rhoncus augue. Maecenas lobortis lacus dapibus, aliquet risus et, dignissim massa.</p>


Result:
<p><span style="color: red;">Placeholder text for your artcle. Just overwrte t. Need help? See tps nsde "Edtors Notes" menu. Place some text BEFORE the mage gallery to avod sue n frontpage module (no text).</span> Morb tellus enm; rutrum qus dolor eu, consectetur hendrert eros. Praesent eu pellentesque sapen! Phasellus qus fels laoreet, accumsan nulla et, suscpt ns! Sed blandt malesuada commodo. Pellentesque condmentum trstque vestbulum. Curabtur luctus alquam turps elementum adpscng. Nam a congue quam. Nulla facls. Dus odo neque, loborts ut cursus ac; convalls vtae lectus! Vestbulum sollctudn nterdum adpscng. Aenean sodales purus loborts; bbendum quam frnglla, eusmod lbero. Curabtur et feugat ns. Vestbulum sodales magna dapbus, convalls augue at, luctus justo. Cras eusmod eget erat nec mperdet. In condmentum lacus lorem, nec auctor tortor elementum st amet. Nam sollctudn trstque semper.</p>
<p>{modal gallery=stedocs/mages/NEWS/date:%Y]]/art-news-user:d]]-date:%d]]-date:%b]]-date:%y]]|retnaImage=1|ttle={snppet cttle}}{/modal}</p>
<p>Cutlne here ...</p>
<p>Morb eu velt rutrum tellus faclss malesuada. Etam frnglla tellus sed metus consectetur dgnssm. Alquam n sollctudn orc. In luctus dam d vverra convalls. Class aptent tact socosqu ad ltora torquent per conuba nostra, per nceptos hmenaeos. Curabtur condmentum lbero turps, n bbendum fels malesuada vel. Nunc lacna eros erat, eget venenats eros vverra vel. Donec at rhoncus augue. Maecenas loborts lacus dapbus, alquet rsus et, dgnssm massa. Morb eu velt rutrum tellus faclss malesuada. Etam frnglla tellus sed metus consectetur dgnssm. Alquam n sollctudn orc. In luctus dam d vverra convalls. Class aptent tact socosqu ad ltora torquent per conuba nostra, per nceptos hmenaeos. Curabtur condmentum lbero turps, n bbendum fels malesuada vel. Nunc lacna eros erat, eget venenats eros vverra vel. Donec at rhoncus augue. Maecenas loborts lacus dapbus, alquet rsus et, dgnssm massa.</p>

3 years 10 months ago #69516

Peter van Westen's Avatar Peter van Westen Admin

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Hidden text' button to hide the confidential information.

3 years 10 months ago #69518

Kay-Uwe Koalick's Avatar Kay-Uwe Koalick

No, it is a restricted intranet. Sorry

3 years 10 months ago #69519

Peter van Westen's Avatar Peter van Westen Admin

If you can reproduce this on an online environment to which I can get access, I am happy to look into this.

3 years 10 months ago #69520

Kay-Uwe Koalick's Avatar Kay-Uwe Koalick

I did some tests. Issue happens if code like

[[date:%Y]]
is inside the
{modal}
tag. Without such code placeholder it works. Some tip?

3 years 10 months ago #69522

Peter van Westen's Avatar Peter van Westen Admin

Do you get this issue in the editor, as soon as the template is inserted? Or on the frontend, when the content is handled?

3 years 10 months ago #69527

Kay-Uwe Koalick's Avatar Kay-Uwe Koalick

In the editor when template is insert.

3 years 10 months ago #69528

Peter van Westen's Avatar Peter van Westen Admin

Ok, found the problem.
Please try the latest development version from:
www.regularlabs.com/development-releases

3 years 10 months ago #69529

Kay-Uwe Koalick's Avatar Kay-Uwe Koalick

Works! 🙂

Tested it in a default Joomla 3.6.5 installation (included your extensions only) and on a dev installation.
Both with PHP 7.0.15 and MariaDB 10.0.29.

Thank you! 😎

3 years 10 months ago #69531

Peter van Westen's Avatar Peter van Westen Admin

Great.
The new version has been released.