This is not a setup/install question, and is also
product-specific (ie.
SimplePortlet does not ship with Plone). Please try the
General Plone
list: http://plone.org/sup
port#general
— Alexander
On Thu, 08 Feb 2007 11:25:45 -0800, Josh
<jreineke gmail.com> wrote:
> I found a few previous posts addressing this, but I am
unable to get
> external links to open in a new window, either created
as an item or in
> the
> content page. I am running Plone 2.5.2 on Zope 2.9.6
using Python 2.4.4.
> All the previous posts address versions of Plone prior
to 2.5.2.
>
> I poked around in the mark_special_links.js file which
told me to go to
> plone_javascript_variables.js and set
open_links_in_external_window to
> 'true'. I followed these instructions, but external
links still take
> over
> the Plone window in my browser, forcing the use of the
back button to
> return.
>
> I also modified the following lines in
mark_special_links.js as a test:
>
> if ((typeof external_links_open_new_window !=
'undefined') &&
> (external_links_open_new_window ==
true)) {
> links[i].setAttribute('target',
'_blank');
> }
>
> I removed the if statement, leaving only the
> links[i].setAttribute('target',
> '_blank'); line, but the links still open in the same
window. I also
> tried
> removing the single quotes, as mentioned in a previous
post. I have
> restarted the Zope server each time I made a change,
clearing the cache
> in
> my browser as well.
>
> I have had good luck including links in the content
window by using the
> windowZ product, but there are certain links I need to
open in new
> windows.
>
> Any ideas?
>
> Thanks,
>
> Josh
>
>
>
>
>
>
>
>
>
--
Alexander Limi · http://limi.net
_______________________________________________
Setup mailing list
Setup lists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
|