Hi, all
I've been trying to submit a News article without content. It has content but for articles in this specific category I use custom fields for the content.
Obviously I always get the "No content given" message and can't submit the article.
Is there away around this?
I there a way to submit News article with no content?
-
- Forum Members
- Posts: 62
- Joined: Wed Aug 08, 2018 4:59 pm
Re: I there a way to submit News article with no content?
Without customizing the module templates I don't think there is. Workarounds would be to add a comment or specific word that you test for in your output templates.
Not getting the answer you need? CMSMS support options
Re: I there a way to submit News article with no content?
At the CMSMS showcase (https://welovecmsms.com) I had similar problem in CGBlog.
When I don't have anything for the Content field, I fill in a dot.
In the templates I use:
When I don't have anything for the Content field, I fill in a dot.
In the templates I use:
Code: Select all
{if $entry->content != '<p>.</p>'}
{eval var=$entry->content}
{/if}
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -