Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #17350

    Hi Kriesi

    I just want to put some simple images in the advertising area widget without linking them anywhere ie a secured with paypal.

    Something like your latest Themes in the footer below but without the links

    Is this possible? if so could you help with the code





    In directory /framework/php/ , please *make a backup* then open class-framework-widgets.php and locate on lines 728-731 the block of code that looks like

    if ( !empty( $title ) ) { echo $before_title . $title . $after_title; };
    echo '<a href="'.$ref_url.'" class="preloading_background avia_partner1 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url.'</a>';
    if($this->add_cont == 2) echo '<a href="'.$ref_url2.'" class="preloading_background avia_partner2 link_list_item'.$kriesiaddwidget.' '.$firsttitle.'" >'.$image_url2.'</a>';
    echo $after_widget;

    and replace it with

    if ( !empty( $title ) ) { echo $before_title . $title . $after_title; };
    echo '<div class="advert_img1">'.$image_url.'</div>';
    if($this->add_cont == 2) echo '<div class="advert_img2">'.$image_url2.'</div>';
    echo $after_widget;

    It’s difficult to say how to style them, i just put them in <div> with classes advert_img1 and advert_img2. If you can show the live code somewhere I can see what should be done. But please remember the sizes are 125×125 pixels, so they would come out best if you crop them down to the correct dimensions prior to uploading them.

    *if you run into a problem, please make sure there is a backup copy ready to revert back*




    Hi Nick

    Thanks a million!


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

The topic ‘propulsion advertising area widget’ is closed to new replies.