# Open a new window from a menu item

**URL:** <https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564>\
**Category:** RapidWeaver Classic\
**Created:** [January 15, 2019, 4:08pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564 "2019-01-15T16:08:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 15, 2019, 4:08pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/1 "2019-01-15T16:08:41Z")

</div>

I thought this was a certain type of page issue…  
Now after testing…it is across the board.

 ![17%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/a/a99ffb52569d75e8dccff2266928533966e67f6a.jpeg)  
When this is published…here is the code it produces:

> ```
> a href="./" rel="" class="nav-link">Home</a></li><li class="nav-item"><a href="NewPage1/" rel="" class="nav-link">New Window</a></li><li class="nav-item"><a href="calendar/" rel="" class="nav-link">Cal</a>
> 
> ```

You will notice…all of the rel=“” tags should be rel=“external” but are only rel=“”

This is a bug…big time.  
I have tested this in several themes.  
All the same.  
Here is a test page, all the pages but Home are set to open in a new window…they don’t!  
@therealmf  
[http://ibize.com/xxx/](http://ibize.com/xxx/)

---

<div class="post-metadata">

**Author:** ![Aaron](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/aaron/32/12210_2.png) [@Aaron](https://forums.realmacsoftware.com/u/Aaron)\
**Post date:** [January 16, 2019, 4:39am UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/2 "2019-01-16T04:39:21Z")

</div>

I’ll double check with Tom, but pretty sure this is something that would be dependent on the theme you’re using. Note “Requires theme support” in the tooltip provided.

Out of curiosity, what’s the use case of having pages in your navigation open in a new window? From an accessibility and usability standpoint, it’s a nightmare.

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 16, 2019, 4:46am UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/3 "2019-01-16T04:46:57Z")

</div>

I tried all the stock Themes, Foundation & several others…this function does not work…  
There are uses…not on every site…but it can be useful.

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 16, 2019, 6:11pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/4 "2019-01-16T18:11:29Z")

</div>

@joemart1951 I’ve reproduced this and added it to the bug tracker. I guess it could be useful in some cases but it’s a rarely used feature, it didn’t work in RW7 either.

Edit: Unless it is dependant on the theme like Arron said…

---

<div class="post-metadata">

**Author:** ![smokyhills](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/smokyhills/32/1082_2.png) [@smokyhills](https://forums.realmacsoftware.com/u/smokyhills)\
**Post date:** [January 16, 2019, 7:16pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/5 "2019-01-16T19:16:33Z")

</div>

@tpbradley - I beg to differ. I use that feature on my ham club’s website for various documents to allow members to access the file while still having the site on another tab.

Fred

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 16, 2019, 7:18pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/6 "2019-01-16T19:18:35Z")

</div>

Thank you…I use it to access some pages that will not load inside of another window.  
Sure wish it would work.

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 16, 2019, 7:19pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/7 "2019-01-16T19:19:29Z")

</div>

Oh interesting! What version of RW are you using and what theme?

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 16, 2019, 7:20pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/8 "2019-01-16T19:20:42Z")

</div>

8.0.3…but a friend on 8.1 said it is not working either

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 16, 2019, 7:25pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/9 "2019-01-16T19:25:38Z")

</div>

Cool ok, what theme?

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 16, 2019, 7:31pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/10 "2019-01-16T19:31:38Z")

</div>

Foundation…but I have tested it in all supplied themes with 8.0.3  
I am hoping @dan will at least have a work around for me…

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 18, 2019, 9:33am UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/11 "2019-01-18T09:33:27Z")

</div>

Got a fix for this in the latest 8.1 beta, feel free to give it a go 😉

> [@RapidWeaver 8.1 Final Candidate 7 (Build 20573b)](http://forums.realmacsoftware.com/t/rapidweaver-8-1-final-candidate-7-build-20573b/24619):
>
> Hey Weavers, Here’s the latest beta of RapidWeaver 8.1, I know I keep saying it, but I think we’re just about ready to go GM. What’s New in Build 20573b? Open in new window from a menu item now works in themes Further improvements to exception handling in plugins Fixed a crash in RWBookmarkManager Fixed an issue with signing into an SFTP server using a public key Various other fixes and improvements What’s New in RapidWeaver 8.1? Sandboxed! Dark Mode for Mojave now supported Added Amazon S3…

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 18, 2019, 2:56pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/12 "2019-01-18T14:56:58Z")

</div>

Thanks for the update…  
I just tried to open a new window with Foundation on an offsite page…still doesn’t create the rel=“external”  
Am I doing something wrong?  
I just got the Beta 7 version.

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 18, 2019, 3:08pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/13 "2019-01-18T15:08:39Z")

</div>

@joemart1951 The rel=“external” shouldn’t be generated now, instead there should be a target="\_blank". It’ll only do this after exporting the site, not in preview.

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 18, 2019, 3:49pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/14 "2019-01-18T15:49:31Z")

</div>

This is what I am getting:  
\>

> ```
> <ul class="navbar-nav ml-auto"><li class="nav-item active"><a href="./" rel="" class="nav-link">Untitled Page</a></li><li class="nav-item"><a href="http://ibize.com" rel="" class="nav-link">Untitled Page 2</a></li></ul>
> </div>
> 
> ```

Enginering theme

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [January 18, 2019, 4:22pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/15 "2019-01-18T16:22:35Z")

</div>

@joemart1951 Can you confirm that you’re using RW8.1 (20577b), the “Engineer” theme bundled with Rapid Weaver 8, checked the “Open in new window” boxes and that you’re publishing/exporting the site before looking at the HTML?

I’ve just tried creating a new project, adding two Styled Text pages, setting them both to “Open in new window”, then publishing the site to a local folder. The result is

```auto
<ul class="navbar-nav ml-auto"><li class="nav-item active"><a href="./" target="_blank" class="nav-link">Untitled Page</a></li><li class="nav-item"><a href="styled/" target="_blank" class="nav-link">Untitled Page 2</a></li></ul>

```

If I don’t check the “Open in new window” boxes, I see the rel field instead

```auto
<a href="./" rel="" class="nav-link">

```

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 18, 2019, 4:29pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/16 "2019-01-18T16:29:53Z")

</div>

I get the same…no matter if I check the box or not.

 ![20%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/a/aabcc7aee16f815da1c670e12f21cdff409f0f0d.jpeg)  
 ![34%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/9/9055f75822be2833fdfa6c8f6587c6ebbc24b5ee.jpeg)  
 ![55%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/a/acabc0cbec5d798bc8be83d47c3c9b3d02baf446.jpeg)  
 ![09%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/2/2dd38a4ca84b08210f366cf12a275e25e8ce6055.jpeg)  
[http://ibize.com/test/](http://ibize.com/test/)

---

<div class="post-metadata">

**Author:** ![DLH](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@DLH](https://forums.realmacsoftware.com/u/DLH)\
**Post date:** [January 18, 2019, 4:45pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/17 "2019-01-18T16:45:54Z")

</div>

There’s a later build. 20577b From your screenshot you have 20573b.

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 18, 2019, 4:57pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/18 "2019-01-18T16:57:04Z")

</div>

Could you give me a link please.

---

<div class="post-metadata">

**Author:** ![Fuellemann](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/fuellemann/32/22871_2.png) [@Fuellemann](https://forums.realmacsoftware.com/u/Fuellemann)\
**Post date:** [January 18, 2019, 5:00pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/19 "2019-01-18T17:00:53Z")

</div>

[https://dl.devmate.com/com.realmacsoftware.rapidweaver8/20577b/1547818405/RapidWeaver8-20577b.zip](https://dl.devmate.com/com.realmacsoftware.rapidweaver8/20577b/1547818405/RapidWeaver8-20577b.zip)

It’s here in this Forum…

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [January 18, 2019, 5:10pm UTC](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564/20 "2019-01-18T17:10:21Z")

</div>

Yay…that works  
Thank you so much

[Next page](https://forums.realmacsoftware.com/t/open-a-new-window-from-a-menu-item/24564.md?page=2)
