Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
User About page Not working Properly

 

 


Harvey
User

May 17, 2008, 9:15 AM

Post #1 of 2 (305 views)
Shortcut
User About page Not working Properly Can't Post

Hello. I followed the tutorial http://www.interactivetools.com/forum/gforum.cgi?post=50386#50386

But did not like some of the options therein. I tried to customized it for my needs, but there are problems.

1-I created a new placeholder in the account database called site

Text field
Stored as string
Validation rule - Web page

2-In each user accounts, I entered the current user's about page's URL.

3-In the Article database, I created a new placeholder called link, where I would pull the info from the account place holder called "site"

Text field
Stored as string
Filed Options Custom field HTML - where I entered this

<tr>
<td style="padding-right:5px">$_fieldLabel$</td>
<td><input type="text" name="$_fieldName:htmlEncoded$"
value="[templateIf : $_fieldValue:htmlEncoded$ eq ""]$createdByUserNum:getFieldValueByNum(accounts,site,Not found)$[/templateIf]$_fieldValue:htmlEncoded$" size="40" /></td>
</tr>

Validation Rule Web address

4-Then I added this to the article pages

<span class="article_text"><a href="$article.link$">Author's Profile</a></span><br>

5-I published everything.

The problem, is that the about page link, only works with new articles created, and not older ones, even though I republished everything. On older articles, it will pull the URL of the current article page instead.

By default this information is already pre-populated in the the link field I created in the article database - the correct URL of the account holder is pulled in the article create and modify pages.

My question is why doesn't it publish on the Web site then, in the case of older articles?


(This post was edited by Harvey on May 17, 2008, 9:15 AM)


Jake
Staff / Moderator


May 18, 2008, 10:12 PM

Post #2 of 2 (284 views)
Shortcut
Re: [Harvey] User About page Not working Properly [In reply to] Can't Post

Hi Harvey,

Thanks for posting!

When you add a new article field with a default value, this data is not automatically passed to articles in your system that were created before you made this change. All article data is saved at the time of its creation, and changing database field settings does not automatically go back and repopulate these older articles with this data.

There may be another way to get this working without having to go back and modify your old articles, but it would only work if each one of the authors on your site had their own user account that they created the articles with.

Let us know if that's the case and we'll look into that solution for you. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4