HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepositoryLink & Download combinedLink & Download combined
Previous
 
Next
New Post
11/26/2007 8:29 PM
 

OK, so i have been playing with the Repository module and modifying it to meet my needs and requirements and have also seen a number of threads requesting the ability to be able to spcify a link aswell as a download in the same repository item.

With my repository i have simply done the following -

In the form.html change the following item -

        <TR style="padding-bottom: 8px;">
            <TD ALIGN="Left" VALIGN="Top" WIDTH="150">Your EMail Address </TD>
            <TD ALIGN="Left" VALIGN="Top">[AUTHOREMAIL]</TD>
        </TR>

to -

        <TR style="padding-bottom: 8px;">
            <TD ALIGN="Left" VALIGN="Top" WIDTH="150">Your EMail Address or Website Address</TD>
            <TD ALIGN="Left" VALIGN="Top">[AUTHOREMAIL]</TD>
        </TR>

(Note the only thing that has been changed here is the description for this field in the upload form.

then add the following in to the Template.html file -

                    <tr>
                        <td align=left valign=top class="SubHead" width=75>Submitted By</td>
                        <td align=left valign=top class="normal">AUTHOREMAIL]</td>
                    </tr>

This will then add the submitters website address to the "File details" section and it will be a clickable link item.

In mine i have the following -

                    <tr>
                        <td align=left valign=top class="SubHead" width=75>Submitted By</td>
                        <td align=left valign=top class="normal">[AUTHOR] - [AUTHOREMAIL]</td>
                    </tr>

where you can see i have stringed the author and the email or web address together....

This works fantastically...

 

Thanks

Brad

 

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsRepositoryRepositoryLink & Download combinedLink & Download combined


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.