What happens if you use the CMS Content / Article button in the Tiny MCE editor to select an article? For me the code in the source article comes out like this:
And the link in the article does take me to the article which has no menu item. I have SEF urls so in the front end the link comes out as this:
Oops - that is Joomla 5. But it works for Joomla 4 too. Here is a sample input and rendered output (multi-lingual):
Code:
<a href="index.php?option=com_content&view=article&id=80&catid=2">No Menu for Me</a>
Code:
<a href="/joomla-cms5/testing-home-1/no-menu-for-me.html">No Menu for Me</a>
Code:
<a href="index.php?option=com_content&view=article&id=7&catid=2">No Menu for Me</a><a href="/j44/en/allcategories-en-gb/uncategorised/no-menu-for-me.html">No Menu for Me</a>
Statistics: Posted by ceford — Sun Feb 25, 2024 9:26 am