More in this section
Forums / General Discussions / Page keeps opening in new tab

Page keeps opening in new tab

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
6 posts, 0 answered
  1. Anthony
    Anthony avatar
    108 posts
    Registered:
    29 Sep 2008
    08 May 2012
    Link to this post
    I have one page that keeps opening in a new tab from Sitefinity navigation menu.   If you go to:
    http://www.fortbendisd.com/departments/academics/special-programs and then click on Ridgemont Early Childhood Center, it will open in a new tab for some reason.  I cannot find a setting anywhere that would cause this.

    I noticed this when testing my upgrade to 5.0sp1 on my staging server, but it also occurs in production running 4.3.

    Any ideas?

    Anthony
  2. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    09 May 2012
    Link to this post
    It's tab is set to target="_blank" for some reason...hmmm if you open the page properties of another page, is anything different from that one?

    In the meantime if you're SUPER stuck, this will fix it
    $(document).ready(function(){
           $(".rtsLink[target='_blank']").attr("target", "_self");
    });
    Just plop it into a javascript widget on the template or something.
  3. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    09 May 2012
    Link to this post
    @Steve
    Just wanted to tell you how extremely valuable your feedback always is and you deliver more then one can expect. A big compliment!!!

    @Anthony
    I don't think its possible to set a value _blank to regular page.
    Was this page a redirect page once maybe?
    Markus
  4. Anthony
    Anthony avatar
    108 posts
    Registered:
    29 Sep 2008
    09 May 2012
    Link to this post
    It did used to be a group page that was turned into a regular page.  Would that change the target?  When it was a group page it did not open in a new page.

    I can always copy the information into a new page and delete the original to see if that solves it, and it is not a very big deal, just kind of strange.

    Anthony
  5. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    09 May 2012
    Link to this post
    ...that would probably be better than jQuery if you can do it easily

    I remember I had a bug with converting a group back to a normal page...wasn't this...but my memory sucks too bad to remember what it was :)
  6. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    09 May 2012
    Link to this post
    Dear Anthony
    A Group page would usually redirect to the first 'real' page find on hiarchie down.

    I would give it a try and rename special-programs  to special-programs_old

    I would try to make a new 'real' page named special-programs  and copy the stuff over and see if that changes something.

    If this solves it that might be the fastest way.

    markus
6 posts, 0 answered