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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryRepository Template help - Expand/Hide descriptionsRepository Template help - Expand/Hide descriptions
Previous
 
Next
New Post
4/28/2007 2:42 PM
 

I am trying to expand or hide descriptions of resources (Web Links)  using the directory template.  An example site can be found here:

http://www.fsalliance.net/FileLibrary/Downloads/tabid/61/Default.aspx?grm2id=697

What do i need to add/modify in my template to accomplish this?  Any help is greatly appreciated.

Thanks,

Paul

 

 
New Post
4/28/2007 7:28 PM
 

Look at the articles template, it does exactly what you're looking for

 
New Post
4/28/2007 10:54 PM
 

Hi Steve,

Thanks for sending me in the right direction, unfortunately my best work at merging the xml/html code from the articles template into the directory template has left me with the following results:

1) In IE - I get a javascript error when clicking the link.  A new window does not open and the error code says "object expected."

2) FF - the link is non-clickable.  It just doesn't do anything and doesn't give me any clues related to the behavior.  You can check it out here:

http://www.jupiterchristian.org/Academics/Library/tabid/65/Default.aspx

I would also like to change the text from "read article" to "read description."  Is this in a vb file?

Thanks for all your help.  I consider this module to be one of the best user features of our site.

Paul

 
New Post
4/29/2007 11:17 AM
 

Paul,
I took a quick look at your site, I think the problem is that you haven't included the javacscript file that provides the show/hide function itself.  Look at the header.html file in the article template, copy the show() javascript function and paste it into your header.html file.

The text for the label is stored in the /DesktopModules/Repository/App_LocalResources/Repository.ascx.resx fil

 <data name="ReadArticle.Text">
  <value>read article</value>
 </data>
 <data name="HideArticle.Text">
  <value>close article</value>
 </data>

 
New Post
4/29/2007 2:57 PM
 

Thanks Steve...I should have seen that one.  It was a late night.  It works perfectly.

I must admit, this is one of the most responsive project forums that I've come across.  Thanks for really reading my post and then responding with clear and concise instructions.

Great work!

Paul

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryRepository Template help - Expand/Hide descriptionsRepository Template help - Expand/Hide descriptions


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