Modules  :: 
Major problems with News Illustrator
 Top

  • Okay, so in my search for a module that would allow me to post images in the news section i found News Illustrator. However, after editing some of the core files, it has turned out to not work ... at all.
    is there anyone who knows anything about the mod that can help me out?
    I'd like to avoid a complete re-install of the system at all costs.
    thanks
  • I got it working on my site. The only issue I have is that If i submit news only text it places an image, so I get a red (X). What problem are you having maybe I can help??
  • its all fixed now :) thanks
  • Hi, would you like to share your solution with us?
    I followed the install instructions, and are able to add the picture, preview it, but it will not show in the news block. I am using the PostNuke theme.
    Any idea?

    Thanks,
    Eric (holland)
  • I would be interested to know the solution to this problem as well!

    Thanks
  • Perhaps the theme.php could be altered such that if no image is uploaded then either a default image or topic image is displayed instead?

    I have no idea how to do this.
  • This is being taken into consideration into previewing... but not with the main display of the news item.

    So.. in your theme.php on both themexndex() and themearticle() functions you have to do this trick:

    when $preformat[picture] appears, change it with $news_ilu_trick and right before use this code to make the check:

    Code

    $thumb_file= "modules/News/pictures/thumbs/";
    $pic_file= "modules/News/pictures/";
    $end =".jpg";
    $maly_pic = "$thumb_file$info[picture]$end";
    $duzy_pic = "$pic_file$info[picture]$end";
    if (file_exists("$maly_pic")) {
         $news_ilu_trick = "<a href=\"javascript:imgPopup('".$duzy_pic."')\"><img align=\"left\" src=\"".$maly_pic." \" border=\"0\" hspace=\"3\" vspace=\"3\"></a>";
        } else {
               $news_ilu_trick = "";
        }


    make sure that the directories for $thumb_file and $pic_file are correct. You can always change the HTML code to place your picture wherever you want in your news placeholder.
  • Thank you aMUSIC - this works for me.
This list is based on the users active over the last 60 minutes.