Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #603

    Can we modify that aspect of your blog? My site is And I’d be reallly happy if readers could submit an image along with the text of a news story (or in this case memory from a concert or ball game)

    Thoughts on how to accomplish this – or a better way please





    I’d like to know this also – how to add an “attach a file” piece to the contact form. If that’s not possible I think something like contact form 7 might be good.

    If contact form 7 is the best way to go about this, how can I make it s that the “submit news” button opens up the contact form 7 the same way it opens now, which is like the prettyphoto effect?

    I’d much rather have everything setup the same way newscast has it though, but just want the “attach a file” option as well.




    The easiest way to do this would be to use a plugin.

    You could modify the theme to do this but it’s not really something we can help with.




    Thanks James, Can you make a plug in suggestion? While not something you are expert in, a secondo f your time is apt to save a day or two of mine. Any help would be appreciated




    I would use Gravity Forms (this is a Premium Plugin) to make the form, to integrate it to have the pop-up effect, you’d need to modify submit_news.php to include your form instead of the standard form code.

    It does involve a bit of work to set up the forms but there is plenty of documentation and there is support available if you need it from the author.


    How difficult would it be to add another Submit button to the top. Like “Submit Classified item” or something like that? So that there are 2 buttons up top.

    What files need to be duplicated/modified and what code needs to be added where?



    The code for the submit news button is in header.php and looks like this:

    // submit news button
    if($k_option['contact']['membernews'] != 2) {
    if(($k_option['contact']['membernews_who'] != 2 && current_user_can('level_0')) || $k_option['contact']['membernews_who'] == 2)
    <a id='submit_news' rel="prettyPhoto" class='ie6fix' href="<?php echo get_bloginfo('template_url'); ?>/submit_news.php?iframe=true&width=420&height=580"><?php _e($k_option['contact']['submit_news_text'],'newscast'); ?></a>
    } ?>

    If you wanted to add another one, add this code immediately after, changing text in CAPITALS:

    <a id='LINK-ID' rel="prettyPhoto" class='ie6fix' href="<?php echo get_bloginfo('template_url'); ?>/PAGE-NAME.php?iframe=true&width=420&height=580">LINK TEXT</a>



    I tried to add the code you listed above “immediately after”, but it didn’t work.

    “Immediately after” what?

    Wouldn’t I also need to duplicate the submit_news.php file for my new button?

    I’m sorry, but I don’t fully understand what to do to create a second button up top. The button I want to create is called “Add New Listing”.


Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘modifying submit news link on Newscast’ is closed to new replies.