This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Frontend submit news (LINK)


avatar
Pinco 8
From: -
Frontend submit news (LINK)

Hello.
First of all compliments for the CMS.

Is there a way to make not mandatory the "Link" submission in the front-end "Submit News"?
The same, in the back-end, says "(Optional)" but in front end gives the error:
"You need to enter a link for your news story".
I would like to get rid of this.
Thanks

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Frontend submit news (LINK)
avatar
Editor
0
From: -
Yes, with a small code modification. Edit /modules/news/newsdosubmitstory.php in an editor and remove the following lines:

                     elseif( !$input_link )

{
$error = $templates -> exectemplate( $main_templates[ 'news_submission_error_nolink_html' ], $main_templates[ 'news_submission_error_nolink_php' ], $insert );
}

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.