Just last night, I upgraded the website to the latest version (1.4.5.0) of BlogEngine.NET.
There are some great new features; my particular favourite being the new widget engine. In fact, the widget engine is so good that I removed all the code from my master template and simply inserted a reference to the widget. Then, at run time, the widget injects all the bits you see in the right hand column. Nifty, or what?!
As well as that, I crafted a new theme called ClarityBlagBlog as well as a companion theme for those who like to view websites on mobile phones or PDAs.
Currently rated 3.3 by 8 people
- Currently 3.25/5 Stars.
- 1
- 2
- 3
- 4
- 5
Those of you who visit this site will no doubt have noticed the new theme! It's based on the one I created for toomanygoodbyes.com, but adapted to take into account all the things you see in a blog: blogroll, tag clouds etc.
Again, when I have finished the tidying up of some of the code, I will make it available as a download.
Currently rated 4.0 by 2 people
- Currently 4/5 Stars.
- 1
- 2
- 3
- 4
- 5
Whle I was building toomanygoobyes.com. I knew that there had to be provision for selling the CD via Paypal. However, through a combination of goodness knows what, this seemingly simple process became very tricky indeed.
First off, on the order page, I simply pasted the code for the button into the HTML and saved it. Lo and behold, the TinyMCE editor that is used as the text editor for BlogEngine.Net rather frustratingly strips out all <form> tags.
So, I then spend several hours looking for ways round this. There had to be a simple solution. The nature of the website was such that a full e-commerce solution or even DNN site would be overkill. Anyway, there were some suggestions of how to stop the code stripping out but nothing worked, so I hit upon the nextt thing . . . .
I created a user control called myPaypalButton.ascx and injected this into the order page in three places. I then saved the page and the buttons displayed. So far so good.
Click the first button and there is a post back to the existing page. Click the other two, however, and Paypal is thrown up and all is well. Still, it's no good having a non functioning button.
As it turned out the solution to all of this was not complex, unlike some of the answers I found on the internet. Indeed, the answer could not be found on the internet.
The solution?
I simply created a dummy form in my user control before the real form:
<form action=""></form>
I then uploaded the control ad all three buttons worked Hurrah!
Currently rated 2.8 by 26 people
- Currently 2.807692/5 Stars.
- 1
- 2
- 3
- 4
- 5