- OpenX Community Forums

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Banner In Widget Dosent Appear In The Right Place
trendworks
post Jul 15 2009, 04:15 PM
Post #1


Beginner
*

Group: Members
Posts: 4
Joined: 15-July 09
Member No.: 29,318



Hi all,

I just got my adserver working on my own server at home all works fine so fare. i installed the the WP-Plugin and tryed to get an ad into my sidebar. but insted to show up in the widget body it appears in the widget header where normaly the headline should show up.

Does anyone now what is wrong her, in the content all shows up fine

Regs George
Attached File(s)
Attached File  adserver.bmp ( 748.81K ) Number of downloads: 2
 
Go to the top of the page
 
+Quote Post
trendworks
post Jul 22 2009, 07:10 AM
Post #2


Beginner
*

Group: Members
Posts: 4
Joined: 15-July 09
Member No.: 29,318



Hi all,

again dry.gif is there noboddy who can help me with my problem. I would really need it.

thx

George

QUOTE (trendworks @ Jul 15 2009, 04:15 PM) *
Hi all,

I just got my adserver working on my own server at home all works fine so fare. i installed the the WP-Plugin and tryed to get an ad into my sidebar. but insted to show up in the widget body it appears in the widget header where normaly the headline should show up.

Does anyone now what is wrong her, in the content all shows up fine

Regs George
Go to the top of the page
 
+Quote Post
trendworks
post Jul 23 2009, 12:20 PM
Post #3


Beginner
*

Group: Members
Posts: 4
Joined: 15-July 09
Member No.: 29,318



Hi again,

found it out by myself. It´s a bug in the plug in.

At line 88 you find sone code like this
CODE
        // done, most of the echo's are framework
        echo $before_widget;
        echo $before_title;
        echo $bannercode;
        echo $after_title;
        echo $after_widget;



and as we can see the $bannercode is between the $xx_title variables.

It sould be like this
CODE
        // done, most of the echo's are framework
        echo $before_widget;
        echo $before_title;
        echo $after_title;
        echo $bannercode;
        echo $after_widget;

and the code will be shown in the body of the widget.
So just move the $bannercode; one line lower and it works.

George
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 

Locations of visitors to this page