Welcome to Geeklog, Anonymous Wednesday, October 07 2026 @ 11:43 am EDT
Geeklog Forums
Custom menus
Status: offline
monoclast
Forum User
Junior
Registered: 07/08/06
Posts: 26
So I have this entry in /system/lib-custom.php:
The problem is, I want this link to open in a new page. Normally, you would do this by adding the target="_blank" attribute to the <a> element containing the link. But since we don't have access to that in the lib-custom.php file, I can't do that here.
Is there another way??
-mono
Text Formatted Code
$myentries[] = array ('url' => 'http://blah.com.blah', 'label' => 'Blah');The problem is, I want this link to open in a new page. Normally, you would do this by adding the target="_blank" attribute to the <a> element containing the link. But since we don't have access to that in the lib-custom.php file, I can't do that here.
Is there another way??
-mono
31
30
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
It's not the prettiest way, but how about making an extra html menu-entry in header.thtml?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
32
28
Quote
All times are EDT. The time is now 11:43 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content