Jun 17, 2011 at 12:49 AM
Edited Jun 17, 2011 at 1:03 AM
Basically, when I create a post I want to assign a percentage 1%-100% and save this in the xml file
Do you want a "Field" in the post for "Percentage" ?
If so these are the files you need to change:
Post.cs <--- BlogEngineDotSlave Business Logic
Posts.cs <--- In the Providers --> XML Provider
ajaxhelper.aspx.cs <-- Admin
Globalresource file <-- Root
EditPost.aspx <---- Admin-->Posts
EditPost.aspx.cs <---- Admin-->Posts
Very easy to do, just a few lines of code for each file just modify the code thats already there.
Doing it this way adds it to the app_pool and you can then access it through objects and not the xml
Then in code behind :
if post.percentage = "a number you want" then
Code you want it to preform.
Thats it :)