Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  How to give menu links like dotnetnuke site
Previous Previous
 
Next Next
New Post 4/11/2008 11:10 AM
User is offline keeperofstars
252 posts
9th Ranked


Re: How to give menu links like dotnetnuke site 

ok for example here is the url for the DNN download image link. http://www.dotnetnuke.com/tabid/125/default.aspx  Note the key piece /tabid/125    the rest of the url is really just basic stuff. The tabid/125 is the key, everything is stored in the Database for DNN and the tabid/125 points the page to the correct information in the database.

Now look at the Directory links url: http://www.dotnetnuke.com/tabid/702/Default.aspx  Notice how it has the same format but with /tabid/702/  Thusly its tabid is 702.

Now for the table: Here is the html used by the DNN site for their navigation menu with the icons:

<td valign="top" align="left" id="DNN_HeaderRightBottom">
              <!-- Begin Header Actions Table -->
              <table height="100%" cellspacing="0" cellpadding="2" border="0" id="DNN_HeaderActions">
                  <tbody><tr>
                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/125/default.aspx"><img width="46" vspace="3" height="44" border="0" alt="Downloads" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_downloads.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_downloads_over.gif'" src="/Portals/_default/Skins/DNN-Minimal/images/icon_downloads.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/125/default.aspx">Downloads</a>              
               </td>
                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/702/Default.aspx"><img width="46" vspace="3" height="36" border="0" alt="Directory" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_directory.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_directory_over.gif'" src="/Portals/_default/Skins/DNN-Minimal//images/icon_directory.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/702/Default.aspx">Directory</a>
               </td>
                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/795/Default.aspx"><img width="51" vspace="3" height="39" border="0" alt="Forums" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_forums.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_forums_over.gif'" src="/Portals/_default/Skins/DNN-Minimal//images/icon_forums.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/795/Default.aspx">Forums</a>              
               </td>
                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/824/default.aspx"><img width="37" vspace="3" height="40" border="0" alt="Forge" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_modules.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_modules_over.gif'" src="/Portals/_default/Skins/DNN-Minimal/images/icon_modules.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/824/default.aspx">Forge</a>
               </td>
                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/825/default.aspx"><img width="45" vspace="3" height="36" border="0" alt="Blogs" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_blogs.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_blogs_over.gif'" src="/Portals/_default/Skins/DNN-Minimal//images/icon_blogs.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/825/default.aspx">Blogs</a>
               </td>
            <td>      </td>

                       <td width="51" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://marketplace.dotnetnuke.com"><img width="48" vspace="3" height="43" border="0" alt="Marketplace" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_mp.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_mp_over.gif'" src="/Portals/_default/Skins/DNN-Minimal/images/icon_mp.gif"/></a>
                   <a class="DNN_IconLink" href="http://marketplace.dotnetnuke.com">Marketplace</a>
               </td>
              
                       <td width="47" valign="bottom" align="center" class="DNN_HeaderActionCell"><a href="http://www.dotnetnuke.com/tabid/1111/default.aspx"><img width="44" vspace="3" height="43" border="0" alt="Careers Program" onmouseout="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_careers.gif'" onmouseover="this.src='/Portals/_default/Skins/DNN-Minimal//images/icon_careers_over.gif'" src="/Portals/_default/Skins/DNN-Minimal/images/icon_careers.gif"/></a>
                   <a class="DNN_IconLink" href="http://www.dotnetnuke.com/tabid/1111/default.aspx">Careers</a>
               </td>
                  </tr>
              </tbody></table>
              <!-- End Header Actions Table -->
          </td>

 

Notice how they just call different images for onmouseover and onmouseout.

All they are doing are swaping the images when you mouse over to one that looks filled in a bit.

 
New Post 4/12/2008 9:38 AM
User is offline Josh Martin
182 posts
www.dnnreactor.com
9th Ranked


Re: How to give menu links like dotnetnuke site 
I recommend staying away from House for now. Learn solpartmenu. House is certainly easier, and has it's benifits, but it will distract you from learning properly.

The point is, everything is built with solpartmenu, the container menus, the skin menus, everyone uses the solpart or some version of the included menu provider, and if your hear to learn, then learn the core parts before trying to change to something easier. I know it sounds kinda backwards, but it's important that you understand the inner workings first.

Think of it this way, you'll have a huge house of cards that you don't understand, and it'll all fall apart, if you start out by looking for simpler solutions.. learn the foundation before using other 3rd parties..you'll get super frustrated otherwise, and waste countless hours.

In the downloads section, there is a "documenetaion" download. when you first open it, the skinning guide is a little deceptive, as it shows a last modified date of years ago. I was like What the...doesn't anyone update this stuff.....And now, after trying house, and trying this and that, I learned..wait a minute...it IS up to date. it's better to read it like a book than as a referance(the skinning manual). The cool thing is, that DNN has always maintained reverse compatability, so even the newer nav providers seem to have the same functionality, and css classes as the original solpartmenu...So...learning whats in the skinning guide will actually help you learn ALL the cool providers!
NIFTY!

Just my opinion..use it for what it's worth.


Josh Martin
http://www.DNNReactor.com
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  How to give menu links like dotnetnuke site
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP