Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-06-11 18:58:13
- stef25
- Member
- Registered: 2005-12-26
- Posts: 88
mdp_rotating_image produces stray "
this line
<code>
<txp:mdp_rotating_image category=“pics” />
</code>
gives this
<code>
<img “ id=“2” src=”/images/2.jpg” width=“78” height=“60” alt=“blah” />
</code>
notice the stray “ between img and id? i checked the plugin script and found this line here where i think the problem may be. but when i try to edit it i get a 503 error (service temporarily unavailable) while the rest of the site and txp control panel functions fine.
<code>
return ‘<img ‘.$class.’ ‘.$rid.’ src=”’.$src.’” ‘.$dimensions.’ alt=”’.$alt.’” />’;
</code>
any one else have this problem?
Last edited by stef25 (2006-06-11 19:12:19)
I need someone to protect me from all the measures they take in order to protect me
Offline
Re: mdp_rotating_image produces stray "
Hi,
Please post the tag between “@” characters. If you start a line with bq.(space)@ it’ll highlight the code too.
<p>like this</p>
…otherwise they won’t display in the forum.
I had the same problem, and hacked it to my satisfaction, but I can’t remember how.
I could email you my hacked version. Or you could email greenrift and see if he can fix it for you. He’s a good guy.
Last edited by mrdale (2006-06-11 19:14:12)
Offline
#3 2006-06-11 19:14:02
- stef25
- Member
- Registered: 2005-12-26
- Posts: 88
Re: mdp_rotating_image produces stray "
mrdale, if you can send me your plugin text ill have a look at it. if i cant figure it out ill contact greenrift and ill do my best to post the solution here so it helps other people in the future
can you send it via pm?
I need someone to protect me from all the measures they take in order to protect me
Offline
#4 2006-06-13 10:22:20
- stef25
- Member
- Registered: 2005-12-26
- Posts: 88
Re: mdp_rotating_image produces stray "
ok, the code that mrdale sent me fixed the error of the stray “. the last-but-one line of the plugin code should be replaced by this line
return '<img src="'.$src.'" '.$dimensions.' alt="'.$alt.'" />';
but now there is another problem, the image source it produces is not correct …
Last edited by stef25 (2006-06-13 10:23:13)
I need someone to protect me from all the measures they take in order to protect me
Offline
Pages: 1