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 ForumsAnnouncementsAnnouncementsNo [EDIT] token found in your item template. Please update the template to include an [EDIT] token.No [EDIT] token found in your item template. Please update the template to include an [EDIT] token.
Previous
 
Next
New Post
1/9/2008 1:29 AM
 

With some trial and error, the bug makes sense. For EXISTING announcement modules prior to the upgrade the [EDIT] will not be present, so must be manually added. A new module added after the upgrade, however, does in fact have the correct default template - or such is my experience. Hope this helps :)

 

 

 
New Post
1/9/2008 4:08 AM
 

Richard, you are quite right.

The issue is that the templating system is completely rewritten, and I needed a way to add the edit pencil in the output. In the older version, the pencil was part of the item template of the datalist that was used, and was hidden if the user did not have edit rights for the module. In this new version, there is no datalist, and a new [EDIT] token was created to insert the pencil in the output. The default template is pulled from the language resource file, while the template used in the module is saved to the module settings (this is done when the module settings are saved for the first time). New instances of the module (even if you upgraded the module), will use the correct new template (unless you are using the module in a different language, and the language pack of the module has not been properly updated for that language)

In hindsight, i guess i could have enhanced the current check for the [EDIT] token to actually insert the missing token in the template. That is tricky however, as most templates would still be table structures. The missing template could be inserted right in front of the [TITLE] token, however, if that token is missing it would not work. Anyhow, i will try to add this to the next version, as an enhancement of the current edit token check. I still don't think it is a bug, only an unwanted side effect of a new feature.


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/9/2008 12:33 PM
 

I've decided to create a "fix"for this that will automatically add an edit token to the template if none is available. It will do that right before the TITLE token, if none is present, no EDIT token will be added, and an the same error as before will be displayed. Hope that helps a few people.... The new version was just submitted to the tracker, i am hoping for a quick release. (http://www.dotnetnuke.com/Products/Development/ProjectReleaseTracking/tabid/997/Default.aspx)


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
1/9/2008 9:14 PM
 

good decision.  and thanks..   most people have many installs prior to 4.8 ..

 
New Post
1/31/2008 1:51 PM
 

version 04.00.01 fixes this, and is released now


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsNo [EDIT] token found in your item template. Please update the template to include an [EDIT] token.No [EDIT] token found in your item template. Please update the template to include an [EDIT] token.


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