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, ...CSS stylable links moduleCSS stylable links module
Previous
 
Next
New Post
5/19/2009 10:01 PM
 

Hi,

I have got a custom design ti integrate into the DNN site. It seems I'll have tough times with it :)

But for now I need to make DNN generate Links Module for perticular container completly different way. So if I have ActionLinksContainer assigned to a Links Module, the generated HTML instead of this one:

<div id="dnn_ctr451_Links_pnlList">
		
    <table cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse;" id="dnn_ctr451_Links_lstLinks">
			<tbody><tr>
				<td valign="top">
            <table cellspacing="0" cellpadding="4" border="0" class="LinksDesignTable" summary="Links Design Table">
                <tbody><tr>
                    <td style="white-space: nowrap;">
                        
                        
                        <a target="_self" href="http://one.com" class="Normal" title="One Description">One</a>
                    </td>
                </tr>
                
            </tbody></table>
        </td>
			</tr><tr>
				<td valign="top">
            <table cellspacing="0" cellpadding="4" border="0" class="LinksDesignTable" summary="Links Design Table">
                <tbody><tr>
                    <td style="white-space: nowrap;">
                        
                        
                        <a target="_self" href="http://two.com" class="Normal" title="Two Description">Two</a>
                    </td>
                </tr>
                
            </tbody></table>
        </td>
			</tr>
		</tbody></table>

	</div>

 

 Should look like:

<div id="rightcontent">        
		<div class="panel-item">
			<p>One Description</p>
			<span class="arrow">
				<a href="http://one.com"><img class="ro" alt="try button" title="One" src="image/arrow.png"/></a>
			</span>
		</div>
	
		<div class="panel-item">
			<p>Two Description</p>
			<span class="arrow">
				<a href="http://two.com"><img class="ro" alt="try button" title="Two" src="image/arrow.png"/></a>
			</span>
		</div>
</div>

 

 

Is it possible to implement ActionLinksContainer Container SKIN so it will render the last HTML instead of the default DNN Generated?

If not, what is the best way of doing it (generating such an HTML)? Is writing custom module the only way?
Maybe there's some module that I can specify template to render for?

Thanks,
Dmitriy.

 
New Post
5/20/2009 3:35 AM
 

The link module is not templateable so you can't inject your own html.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
New Post
5/20/2009 4:08 AM
 

Hi

You cant do this with the html links module but what you could do is use the links module for storing editing the link and then use another module to query the links table and display the links. You can usen openwebstudio for this. It replaced about 75% of my module development altho the learnign curve is a bit steep once you understand how it works you can do anything with it.

Most of my use for it is the same as what you want to do is reformat the crappy dnn module output

 
New Post
5/20/2009 8:46 PM
 

Thanks for the replies.

I have installed the OWS but honestly have no idea where to start...

Also meybe there's some module that allows to generate better HTML (or maybe templeted) for my purpose?

Cheers.

 
New Post
5/21/2009 4:30 AM
 

hi

http://www.openwebstudio.com/Community/Forums/tabid/55/forumid/2/threadid/22490/scope/posts/Default.aspx

 

the above link has intro movies on how to work with it

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS stylable links moduleCSS stylable links module


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