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, ...Skinning with imbeded linksSkinning with imbeded links
Previous
 
Next
New Post
9/19/2014 4:06 PM
 

Hi 

The designer and prototype builder has elected to add links to pages that I will be required to add to the skin. The link will contain a paragraph of text that the user will be able to edit, meaning that they will add the text via an html module.  I see two options. the first it force the user to add in the entire html including the link. A little tough on the user when they only want to use RTF. The second option is to imbed a div within the link and all the user to only deal with the text part. The issue there is that I have to imbed page link information within the skin for pages that have yet to be created. So my question is this.....  Is there a with to build the address dynamically so that the following would work replacing the # with something.

<a href="#" >

          <div id="SectionC_Right"  runat="server">

           </div>

  </a>

Anyone have any other thoughts ?

Thanks

 
New Post
9/20/2014 8:11 AM
 
I think this is difficult on two levels

1- Skins do not 'have' modules so you cannot add an html module to the skin.
2- You cannot create a link to a page that does not exist yet (unless you can predict the URL). If you can predict the URL then you don't have a problem.

A minor point is that if the link is in the skin - then when the skin displays your target page the skin will display link to the page you are already viewing. It would not bother me much, but some folk dislike that.

I think the best solution to this would be some kind of skinobject, supported by an editing module to set it up. That requires programming skills and development effort.

I have tried using the html module to show stuff on all pages with the 'display on all pages' module setting. It was horrible. I cannot be properly certain if I wasn't using it properly, or it just does not work well, but I hated the results. It's not controllable enough for my taste.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
9/20/2014 9:52 AM
 

The way I solve these kind of issues is by using an extra menu.

I use it for "fixed" links that should be in the skin but also editable.
I use DDR menu with a start page "TopMenu" or something alike.
Then hide that page in the main menu.

The user simply creates a child of the TopMenu page and it shows up in the extra menu.

If you really need the value to be edited per page, you can store custom values in the page settins, (but you would have to program around it, no default solution exists AFAIK).
I based a skin object that aloows editing a text in a skin on a per page base, but it does not support links ATM, just plain text.

 
New Post
9/24/2014 11:04 AM
 

Thanks for the Ideas. I like the menu approach

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skinning with imbeded linksSkinning with imbeded links


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