Page 1 of 1

editting the "new entry" page

PostPosted: Mon Jul 11, 2011 2:42 pm
by razz
Hello.

I will try to explain what i'm exactly looking for as the title might be confusing you.

I want to find the file (source code) related to the "new entry" template. I'm just curious how the source code is and adjust it on some places where i think is needed..

Searched my ass off on FTP but could not find it..

Any hints?



thank you

Re: editting the "new entry" page

PostPosted: Sat Jul 16, 2011 11:48 am
by razz
Image


To show exactly what i'm looking for. I want to edit the "link" (ctrl L) button. When clicking on it you can fill in an url and hit enter. The output is a link with description to click on.

What i want as output is a "target blank" in the url. So i'm looking for the file where i can edit this "link" button.

any help ?

Re: editting the "new entry" page

PostPosted: Sat Jul 16, 2011 12:39 pm
by Harm10
I am not sure but try inc_init_tinymce.tpl in templates_internal.

Re: editting the "new entry" page

PostPosted: Thu Aug 04, 2011 8:37 pm
by hansfn
@Harm: razz is using MarkItUp.

For MarkItUp (which is what you get if you don't select Wysiwyg - my favorite text editor setting is "None (plain XHTML)"): To add target blank, edit includes/markitup/set.js Look for "markituphtml" and on the line that defines the link action ("name:'Link'"), make the obvious change to "openWith".

It might be easier to just switch to the Wysiwyg editor (under My Info) that supports target blank without any modifications. However, the Wysiwyg editor has some drawbacks of course - less control.

PS! Sorry about the late reply.

Re: editting the "new entry" page

PostPosted: Thu Aug 04, 2011 9:10 pm
by razz
Hi Hans.

Thank you for your reply.. You just saved me about 1 minute per day of my life by having an automated target blank code inserted into the code.


ps. hope you enjoyed your holiday.