Hi there - I've been looking for exactly this functionality, where the 
"Link" pages will open the link into a new tab (i.e. setting 
'target="_blank"' on Link pages).

Has there been anything new added to Mezzanine in this area since this 
discussion?

Cheers!

Rich

On Wednesday, January 15, 2014 at 4:49:34 AM UTC, Josh Cartmell wrote:
>
> Glad you figured something out.  A little bit of javascript goes a long 
> way!
>
>
> On Tue, Jan 14, 2014 at 2:37 PM, John Barham <[email protected] 
> <javascript:>> wrote:
>
>> Thanks, Josh. I managed to solve it with some pretty trivial jQuery, e.g.:
>>
>> $(document).ready(function(){
>>     $('a[href^="http://blog.example.com";]').attr('target', '_blank');
>> })
>>
>> On Tue, Jan 14, 2014 at 4:39 AM, Josh Cartmell <[email protected] 
>> <javascript:>> wrote:
>> > Hey John, another idea would be to use Mezzanine field injection to add 
>> a
>> > boolean to Page.  Then in the menu template check the boolean and if 
>> true
>> > add target="_blank" to the link.
>> >
>> >
>> > On Sun, Jan 12, 2014 at 5:49 PM, Stephen McDonald <[email protected] 
>> <javascript:>> wrote:
>> >>
>> >> Nothing like that at the moment.
>> >>
>> >>
>> >> On Mon, Jan 13, 2014 at 10:48 AM, John Barham <[email protected] 
>> <javascript:>> wrote:
>> >>>
>> >>> I have a Page Link that I'd like to open in a new window when the user
>> >>> clicks the URL (i.e., the equivalent of <a target="_blank">...) Is
>> >>> there a way to require this from the Mezzanine admin interface? I
>> >>> could achieve the same result by injecting the target attribute via
>> >>> jQuery after the page has loaded, but am just wondering if Mezzanine
>> >>> supports this.
>> >>>
>> >>> Cheers, John
>> >>>
>> >>> --
>> >>> You received this message because you are subscribed to the Google 
>> Groups
>> >>> "Mezzanine Users" group.
>> >>> To unsubscribe from this group and stop receiving emails from it, 
>> send an
>> >>> email to [email protected] <javascript:>.
>> >>> For more options, visit https://groups.google.com/groups/opt_out.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Stephen McDonald
>> >> http://jupo.org
>> >>
>> >> --
>> >> You received this message because you are subscribed to the Google 
>> Groups
>> >> "Mezzanine Users" group.
>> >> To unsubscribe from this group and stop receiving emails from it, send 
>> an
>> >> email to [email protected] <javascript:>.
>> >> For more options, visit https://groups.google.com/groups/opt_out.
>> >
>> >
>> > --
>> > You received this message because you are subscribed to the Google 
>> Groups
>> > "Mezzanine Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an
>> > email to [email protected] <javascript:>.
>> > For more options, visit https://groups.google.com/groups/opt_out.
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Mezzanine Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to