Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to give menu links like dotnetnuke siteHow to give menu links like dotnetnuke site
Previous
 
Next
New Post
4/11/2008 1:10 PM
 

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 11:38 AM
 
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

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to give menu links like dotnetnuke siteHow to give menu links like dotnetnuke site


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out