Contentteller

Contentteller Support Forums
Home Forums > Contentteller > Troubleshooting and Problems >

Frontend submit news (LINK)

Discussion in 'Troubleshooting and Problems' started by Pinco, May 5, 2009.

  1. Pinco New Member

    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
    Pinco, May 5, 2009
    #1
  2. Philipp Administrator

    Yes, with a small code modification. Edit /modules/news/newsdosubmitstory.php in an editor and remove the following lines:

    PHP:
                elseif( !$input_link )
                {
                    
    $error = $templates -> exectemplate( $main_templates[ 'news_submission_error_nolink_html' ], $main_templates[ 'news_submission_error_nolink_php' ], $insert );
                }
    Philipp, May 5, 2009
    #2
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > Troubleshooting and Problems >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.