Access Source code for Edit

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
dksreeder
Regular
Posts: 7
Joined: Fri May 19, 2006 9:49 pm

Access Source code for Edit

Post by dksreeder »

Hi, I am trying to place an ad on one of the blog postings. The advertiser requires that the source code be exact. When I cut and paste the code into the blog and view the source code, Serendipity adds tags to the code. How do I access the source code to change it and delete the extra tags?
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Access Source code for Edit

Post by yellowled »

dksreeder wrote:When I cut and paste the code into the blog and view the source code, Serendipity adds tags to the code. How do I access the source code to change it and delete the extra tags?
It depends – first of all on which WYSIWYG editor you're using. If you don't know which one it is, it's probably Xinha (s9y default WYSIWYG editor). Personally, I don't use it, but it should offer a button to switch to source code view, most likely labelled with "<>", "HTML" or something.

Second, you shouldn't have to delete extra tags. You should have to switch to code view in the editor to enter it properly, but if the system adds tags to your code, it's very likely you use some kind of markup plugin along with the WYSIWYG editor, most likely NL2BR. As long as you use this, it will always add markup to your posts, no matter how you enter the ad code.

If dropping the markup plugin is not an option, there's always the possibility to add the ad code to your template.

YL
Post Reply