Ninja Forge Forum
Welcome, Guest
Please Login or Register.    Lost Password?
HOW TO: add the shadowbox effect to Menu links. (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: HOW TO: add the shadowbox effect to Menu links.
#6912
Ninja Developer Button.
Mark Simpson
Admin
Posts: 3434
graph
User Online Now Click here to see the profile of this user
HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 64  
A few members asked how to add the shadowbox effect to Menu Links. Due to limitations in Joomla, this is not possible without hacking Joomla... or is it?

When I read the thread I immediately recalled a post over at my favourite Joomla SEO blog.

Basically, a gentleman named Brian Teeman modified the core Joomla menu module to allow you to add rel="nofollow" to menu links. (Very useful if SEO is important to you).

I'm no php coder... I wouldn't know a php function if it hit me over the head. However, over years of intense training, I have become quite adept at a technique I like to call chop-n-paste!

In this instance... I simply opened up Mr. Teeman's module, chopped out the "nofollow", and pasted in "shadowbox". Voila!

Special thanks to Brian Teeman over at Joomla Training UK for his module, to Steve Burge at Alledia for hosting/sharing it, to the Joomla Project for the original Menu module, and of course to Richie (ravenlife) for bringing shadowbox to joomla.

Usage
1.) Install the module in the normal manner.
2.) Disable your Menu module and instead activate this one, publishing it to the same position the original Menu was.
3.) When creating menu links that you want to open in a shadowbox, be sure to set them to open in "New Window with Browser Navigation". (see screenshot below)


Download
The file is attached here. UNZIP IT and use the module for your version of Joomla (both J1.0 and J1.5 versions are in the zip)

Support
I can't guarantee prompt support for this module, but will help when I can... and in any case, the real php coders here will be around now and then . Just post here if you still have issues AFTER reading and re-reading the instructions.

Special Request
Ninja Shadowbox is one of our most popular extensions. Personally, I love it... and use it often on my own as well as client sites. Unfortunately, I am not able to tell folk on the JED how great it is due to the obvious conflict of interest. Many thanks to the three reviewers and 10 voters who took the time to say thank you via a review or vote.
However, our stats (between the old Ninjoomla and Ninjaforge) show that thousands of people have found something to like about it and probably use it on their sites. A critical comment is better then no comment... it tells us what's wrong with our product and forces us to act to improve it. Help us out... spend a minute of your time and give shadowbox some love please:
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4577/Itemid,35/

Many thanks
Mark
File Attachment:
File Name: shadowbox_menu_UNZIP_FIRST.zip
File Size: 15979
 
Logged Logged  
  The administrator has disabled public write access.
#7011
Free Membership Button.
toudai
Yellow Belt
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 1  
At the moment, I am using extended menu module so I guess this means that I would have to use this module instead right? Any way to have a workaround for the extended menu module to show menu links in a shadowbox?
 
Logged Logged  
  The administrator has disabled public write access.
#7021
Free Membership Button.
ILJ
Green Belt
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 0  
Ok let me shoot here. i am here cause of steve as well. direct ninja style.

i receive some comment frm my team abt ninjas extensions.

good i no need to say. its all good .

bad is

1. too much images in the backend,tab module etc.
suggestion make it simple as possible. no need fancy design or tab feature at the backends. just pure information will do the job.

2. a module require to "reserve" another module to get it to work.this cause necessary extra queries.
suggestion -make it direct n simple as possible. the community will love it.

thanks
ILJ
 
Logged Logged  
  The administrator has disabled public write access.
#7023
Free Membership Button.
ILJ
Green Belt
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 0  
HI

the module is not working in J1.0
some fine tuning needed i guess

tks
 
Logged Logged  
  The administrator has disabled public write access.
#7033
Free Membership Button.
ILJ
Green Belt
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 0  

something wrong with the forum thread ? the new messages doesnt go up.
 
Logged Logged  
  The administrator has disabled public write access.
#7035
Ninja Developer Button.
Mark Simpson
Admin
Posts: 3434
graph
User Online Now Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 64  
LOL this thread has gone crazy.

Seems to fix itself when I unsticky it... when I try and sticky it again it goes weird. I think Fireboard doesn't think it's important enough to be stickied so I will just leave it as a normal thread.

Can't really be sure about 1.0... I hardly tested it. As I mentioned this was only something I did quick to help our the members who asked.

If you PM me a super admin account I can take a look at it for you.

After creating a menu item that should open with shadowbox link, have you checked the page source? Does it show rel="shadowbox"?
 
Logged Logged  
  The administrator has disabled public write access.
#7039
Free Membership Button.
ILJ
Green Belt
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 0  
testing it on localhost.

the source :

<ul id="mainlevel-bottom">
<li>
<a id="active_menu-bottom" class="mainlevel-bottom" href="http://localhost:85/joomla1015/index.php?option=com_frontpage&Itemid=1">HOME</a>
</li>

dont see rel="" there.
 
Logged Logged  
  The administrator has disabled public write access.
#7040
Ninja Developer Button.
Mark Simpson
Admin
Posts: 3434
graph
User Online Now Click here to see the profile of this user
Re:HOW TO: add the shadowbox effect to Menu links. 1 Year, 11 Months ago Karma: 64  
Hi ILJ,

You've made a mistake ... please read the instructions again, paying particular attention to the screenshot I posted.

Your menu link should look like this if the module is not working:
<a target="_blank" href="http://localhost/do-village/index.php?option=com_content&task=view&id=7&Itemid=42">Home</a>
 
Logged Logged  
 
Last Edit: 2008/10/04 03:10 By Mark Simpson.
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop