Site
Web
Home
Modules
Advanced Articles
Overview
Demo - Advanced Articles
Demo - Site Wide Articles
Demo - Articles Slides Show
Demo - Articles Search
Demo - Articles Archive
Demo - Articles By Category
Facility Booking
Overview
Demo
Content Manager
Overview
Content Manager - Demo
Content Approval - Demo
Event Calendar
Overview
Event Calendar - Demo
Satellite Module - Demo
Personal Events - Demo
Flash Calendar - Demo
Events Calendar Search - Demo
Token Replace Reference
Default Templates
Download Resources
Upgrade Policy
Excel Template Instruction
Affiliate Modules
Car Listing
Overview
Demo - Car Listing Search
Demo - Car Listing - Featured Car Listing
Purchase
Online Payment
Download
Support
User Forum
License Activation
FAQs
Contact Us
You are here:
Support
>
User Forum
Register
|
Login
Invenmanager User Forum
Unanswered
Active Topics
Forums
Search
Forums
>
Advanced Articles
>
Technical Support
File - Custom Property
Last Post 05 Feb 2010 02:57 AM by Inven Manager. 5 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
Andrew Cree
New Member
Posts:3
03 Feb 2010 08:23 AM
Please help! We are using DNN 5.2.1. Advanced Articles 4.2.9 and Custom Properties 1.1.3
I have add a File Custom Property called "FileTest". It's Token Name is CUSTOMFILETEST. I have modified the template to display a link using: <a href="[CUSTOMFILETEST]">[CUSTOMFILETEST]</a>
When I view the page the link is getting written as a local file system path on the server, like: C:\DotNetNuke\Portals\0\custom\488\test.txt
Can you tell me where or what I have done wrong?
Inven Manager
Senior Member
Posts:6761
03 Feb 2010 12:56 PM
Andrew,
The token will render a relative path to the file such as this:
/portals/0/custom/465/7_17_1_logo.gif
You try to just put [CUSTOMFILETEST] in your list view, and see what you get?
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Andrew Cree
New Member
Posts:3
03 Feb 2010 11:26 PM
Thank you for your response. A relative path is what I expected, but not what I get.
My Custom Property has the following attributes:
Category: 1
Property Name: FileTest
Token Name: [CUSTOMFILETEST]
Display Name: FileTest
Data Type: File
Length: 0
Required: True
View Order: 0
My Item Template has the following:
<TR>
<TD>
<div>[EDIT]<b>[TITLE]</b></div>
<a href="[CUSTOMFILETEST]">[CUSTOMFILETEST]</a>
</TD>
</TR>
When I add an "Article" this is what I get as source code on the page:
<tr>
<td>
<div><a href="http://webmaster/purchasing/Home/Bids/tabid/115/ctl/Edit/mid/488/itemid/1/Default.aspx"><img src="http://www.invenmanager.com/Purchasing/images/edit.gif" border="0"></a><b>Test 1</b></div>
<a href="c:%5Cdotnet%5Cdnn%5Cportals%5Cpurchasing%5Ccustom%5C488%5C1_1_1_readme%20first.txt">c:\dotnet\dnn\portals\purchasing\custom\488\1_1_1_readme first.txt</a>
</td>
</tr>
Please help! I am very pleased with Advanced Articles and have used it for many different types of content with different display options but getting the File Custom Property is mission critical to a very time sensitive project.
Inven Manager
Senior Member
Posts:6761
04 Feb 2010 03:21 AM
Andrew,
when we tested on many occasions it always return the relative path. Can you provide host account to your website to support @ invenmanager.com?
========================================
Delivering high value DotnetNuke Modules to save your time and resources
Andrew Cree
New Member
Posts:3
05 Feb 2010 12:21 AM
Thank you so much for your quick response and excellent customer service!!! Your fix has kept my project ahead of schedule and my client is very happy!!!
Inven Manager
Senior Member
Posts:6761
05 Feb 2010 02:57 AM
Great! Thank you.
========================================
Delivering high value DotnetNuke Modules to save your time and resources
You are not authorized to post a reply.
General
--General Questions
Event Calendar & Registration
--General Questions
--Technical Support
--Feature Request
--Localization Resources
Content Manager
--Technical Support
--Feature Request
Advanced Articles
--Technical Support
--Feature Request
Facility Booking
--Technical Support
--Feature Request
Car Listing Module
--Technical Support
--Feature Request
Forums
>
Advanced Articles
>
Technical Support
Active Forums 4.1
Home
|
Purchase
|
Download
|
FAQs
|
Contact Us
Privacy Statement
|
Terms Of Use
Copyright (c) 2009 InvenManager Solutions.