Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  No [EDIT] token found in your item template. Please update the template to include an [EDIT] token.
Previous Previous
 
Next Next
New Post 1/8/2008 10:29 PM
User is offline Richard Manley-Tannis
39 posts
ducc.ca
10th Ranked


Re: No [EDIT] token found in your item template. Please update the template to include an [EDIT] tok 

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 1:08 AM
User is offline ErikVB
3073 posts
www.apollo-software.nl
4th Ranked










Re: No [EDIT] token found in your item template. Please update the template to include an [EDIT] tok 

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,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

 
New Post 1/9/2008 9:33 AM
User is offline ErikVB
3073 posts
www.apollo-software.nl
4th Ranked










Re: No [EDIT] token found in your item template. Please update the template to include an [EDIT] tok 

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,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

 
New Post 1/9/2008 6:14 PM
User is offline brian
548 posts
8th Ranked


Re: No [EDIT] token found in your item template. Please update the template to include an [EDIT] token. 

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

 
New Post 1/31/2008 10:51 AM
User is offline ErikVB
3073 posts
www.apollo-software.nl
4th Ranked










Re: No [EDIT] token found in your item template. Please update the template to include an [EDIT] token. 

version 04.00.01 fixes this, and is released now


Erik van Ballegoij,
a view from my attic, my personal blog

The personal blog of Erik van Ballegoij

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  No [EDIT] token found in your item template. Please update the template to include an [EDIT] token.
 


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.

 


Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP