Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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, ...Links module in skinLinks module in skin
Previous
 
Next
New Post
3/4/2011 3:40 PM
 
Hi,

I want to put the links module in my skin. I attempted to put it like this:

<dnn:Links runat="server" id="Menulinks" />

but it displays the links that appear in the website's main menu. I want to make it work like the proper links module, in which admin should be able to manage/edit those links. And still, that should be part of the skin.

I also attempted putting a links module on all the pages, but its very rough way to achieve my purpose. Because i need to delete the module from the pages where i dont need it. Secondly, i dont see any way to apply my css when i use this method.

Please suggest me how may i proceed?

Thank you

 
New Post
3/5/2011 5:49 PM
 
you cannot put modules in the skin, you need specific skin objects instead. What do you want to achieve?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/6/2011 10:12 AM
 
I want to put some section "in skin" that contains the links manageable by the admin. And those links should be visible only on the pages where this particular skin is applied. I hope i could make it clear. I appreciate your response.
 
New Post
3/6/2011 10:46 AM
 
I haven't checked the links skin object, it might support a parent tag, which would allow you to put your links into a hidden branch of the menu (manageable by the admin) and display it on the page.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/7/2011 4:42 AM
 
Hi Leupold!

Thanks for your prompt replies. Can you kindly post some sample code when can help me achieve my task. I have attempted a lot of ways to do it, but no success yet.  For example, i attempted it like this:

In ascx file header, i added this:

<%@ Register TagPrefix="dnn" TagName="Links" Src="~/Admin/Skins/links.ascx" %>


In the html where i want to show the links, i added this:

<dnn:Links runat="server" id="Menulinks" />

All that it displays is the list of the same links which we have on the top i.e. the top navigation menu links.

I also attempted to put this code in html:

<dnn:LINKACTIONS runat="server" id="abc"></dnn:LINKACTIONS>

but it doesn't display anything and says "LINKSACTIONS" is not a known element; most probably becausei didn't include the header it needs. If this is what that will work, kindly let me know which ascx file i should include in its header?

I attempted to use this skin object as well:

<object id="dnnlinks" codetype="dotnetnuke/server" codebase="links"></object>

But it gives an error that the file "links" was not found. From where i may include the reference of this file in the header?
Please let me know something that can work.
Thank you
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Links module in skinLinks module in skin


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