Hi all
Is it possible to link to a specific news article from the content page editor?
As things are in my setup it is only possible to link to another content page but not a specific news article.
I was thinking about if the back end user is writing a content to a content page and wants to have a link in the content text to a news article, how would the user be able to do that?
Link from content page to news article?
-
- Forum Members
- Posts: 62
- Joined: Wed Aug 08, 2018 4:59 pm
Re: Link from content page to news article?
The complex way for you, but easier for the editor, would be to make a tiny/microtiny plugin based on cms_selflink one that fetches a list of news articles for them to choose from. A udt/plugin would also accomplish the same thing if they're comfortable adding a Smarty tag to the content.
The easy way for you, but slightly harder for the editor, would be for them to just use the 'add link' button and paste in the full url to the news article.
What I usually do, and I know this isn't quite what you're asking but worth mentioning anyway, is to add a CGContentUtilities field to the page template that pulls in a list of news articles. The editor can select one for the page, and it adds a button "read more" or a little preview of the news article below. It doesn't let them add it in the content text though.
The easy way for you, but slightly harder for the editor, would be for them to just use the 'add link' button and paste in the full url to the news article.
What I usually do, and I know this isn't quite what you're asking but worth mentioning anyway, is to add a CGContentUtilities field to the page template that pulls in a list of news articles. The editor can select one for the page, and it adds a button "read more" or a little preview of the news article below. It doesn't let them add it in the content text though.
Not getting the answer you need? CMSMS support options