|
Get the error "The content is either too short or default."
I was trying to use the on-line wizard. I normally create a template first and the update it. So my initial template is always similar to the default and very short.
Question: How much change I need to make so it is no longer considered default or too short?
Thanks ...
|
|
|
|
|
That error will be triggered anytime a major portion of the template exists in the content.
With the new submission wizard you don't need to publish it to save it. You can hit the Save Draft button and your current work will be saved as a draft. To view drafts, just go to the submission page[^] and you'll see, on the right hand side, your drafts.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks. When I go to the submission page, I see all the people's drafts and it is a long list. It is difficult to find my draft. It should be good idea to filter the drafts by person.
|
|
|
|
|
Dr. Song Li wrote: It should be good idea to filter the drafts by person
This bug has been fixed.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
Hi Chris,
I used the new article submission wizard, and I clicked the "Save this version" button. Then the article disappears. It is no longer shown as a draft, and it is not in the article list.
Where can I find this missing article?
Thank you ...
|
|
|
|
|
Hi Chris,
After clicking the "Save this version" button, the article disappears.
It could not be found in the draft, and it is not shown in the list of the articles either. Where can I find it? I marked it as "unfinished" since I am still editing.
Thanks ....
|
|
|
|
|
Which article (name, or URL if you remember it).
Have you checked the submission page[^] to see if it's in the list of Draft articles to the right?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi Chris,
If I remember correctly, the name is "An Example of jQuery Global Event Handlers" (or something like it). I do not remember the url anymore.
I checked the submission page, I found nothing there. It says that I may be the first time user.
Thank you ...
|
|
|
|
|
|
I edited the article and published it and it seems fine to me. Can you please recheck it?
We're doing a site update tonight, so please let me know if you see this happen again.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
When editing the article, just go to the top-right of the article and you'll see the article type displayed. Click on it to edit and you're all set.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
I just tried it from home with a different browser, same behavior.
|
|
|
|
|
Unfortunately I gave you some misinformation: you can change the article type, but only when posting a regular article. You've posted an alternative to an existing article, meaning that your alternative must be the same type as the original article. An alternative to an article is an article, an alternative to a tip is a tip, etc.
Sorry for the confusion.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks for the clarification.
I was wondering what I had done wrong.
|
|
|
|
|
Starting today, the "Vote to remove this message" link in forum message won't simply add to the tally of votes to decide if a message should be removed: Abusive or innappropriate messages now lose their authors 20 points. Next week that increase to 20 points x member level, meaning a potential loss of 200 points per message flag.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Previously our article URLs were of the form www.codeproject.com/kb/section/basename.aspx. This worked well and allowed you to easily remember your own articles. My grid control article, for instance, MFC Grid control 2.27, was an easy URL for me to remember.
The issue was that while this naming convention was simple, it was also predicated on each article within a section having a unique basename. With 35,000 articles, this was starting to become a little tricky.
On an unrelated, but nevertheless important note, we strive to ensure our authors' articles are positioned as high as possible within search engine rankings. Search engine ranking depends on an enormous number of variables, up to and including the phase of the moon, but while "http://www.codeproject.com/kb/miscctrl/gridctrl.aspx" is OK, "http://www.codeproject.com/Articles/8/MFC-Grid-control-2-27" is better. And "http://www.codeproject.com/Articles/317712/An-MFC-Chart-Control-with-Enhanced-User-Interface" is even better (from a search engine point of view) than "http://www.codeproject.com/kb/Chart/MFC-Chart.aspx".
And as a final but neat freebie, we have tossed the extension. No more .aspx. A trivial thing, but when Microsoft comes out with the Next Big Thing, or we move to PHP or JSP, then article links will be the same. This should be the last URL change we ever have to do for our articles.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
1. Completely revamping the article submission (for everthing) and the display system for tips.
2. Adding new options for articles.
3. A ton of work on Lake Quincy. Our little project is all grown up and has an appetite for developers to match.
4. Machinations and experiments with Quick Answers and the Forums. Some very interesting stuff. The most interesting bit is making it so you guys don't notice anything until there's the "oh - I see!" moment.
Some devs like to make big splashes. I prefer my code to just settle in comfortably into your lives and work without you realising anything.
The upshot of this is that I have zero social life and even less time to hang out in the Lounge. Bah humbug.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Pasting into the Editor
One of the features that has generated a lot of debate and suggestions is the way we handle text, HTML and code in the forums. Copying and pasting code - especially web related code - into the message editor can cause problems due to the unintentional posting of HTML tags instead of HTML encoded content.
To help with this we had "When Pasting" options at the bottom of the message posting area that allow you to set defaults on what happens when you paste, but what you want to do changes depending on what you paste. The problem here is that you defaults don't always fit the situation at hand, so we need a way to allow you to change your mind easily.
From today we removed the paste options from below the message and instead show a popup dialog that intercepts the pasted content and tries to figure out what your options are with visual aids to help show what each option will do. The "When pasting" that apply to the paste text are shown in this dialog, and as you hover over each option the pasted text in the message text area is updated, as well as a small preview in the paste dialog to give you a quick peek into what it will look like. If you are pasting text that will look the same whether you're pasting as text or HTML (or mixed) then the options shown are reduced to the minimum set possible, and your default setting will be automatically checked and always shown.
On top of this, as you type, a preview of what your message will look like is now shown at the bottom of the page.
If, after pasting, you are happy with what's shown, or don't want to be bothered, keep typing. The dialog will fade away. This is not the popup dialog you are searching for...
The changes are designed not to simply show you what will happen, but also to give you an ida on how to encode your content to ensure it displays in the manner you intend. The changes are also meant to be as unobtrusive as possible, and text will be pasted initially as per your defaults. We're only adding a simple way to change your mind.
For those who never pick a default, and never touch the popup dialog, the default will always be "Best guess" meaning if it detects code in the pasted text it will wrap in PRE tags, otherwise it will paste and preserve HTML tags (no encoding on paste).
Encode button in the editor
We spared no expense in adding an "encode" button. Highlight some HTML, hit encode, and the text is HTML encoded.
Editor Live preview
As you type, your message is now displayed full formatted under the text area. We're using Ajax callbacks to do the formatting because reworking our content formatting system into Javascript is a luxury we don't have at the moment. Further, our colourisation code does far more than any of the current Javascript offerings in terms of handling nested languages (eg Javascript or C# inside a ASP.NET page). We'd rather have a half second delay in update and show it perfectly than have the frustration of it not being quite right.
Content caching
Hopefully you waon't even notice (unless it's in a good way) but more content is being pre-cached, speeding up some of our lesser-used pages.
Split Quick Answers / Discussions menus
As requested.
More admin options
We've armed ourselves with some bigger guns to deal with reported items. Don't worry, this won't hurt a bit.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks a lot Chris...
The man who makes no mistakes does not usually make anything. ~Edward Phelps
Man's wisest mistake: Marriage. ~ Suresh Suthar
|
|
|
|
|
Chris Maunder wrote: We've armed ourselves with some bigger guns to deal with reported items. Don't worry, this won't hurt a bit.
Name anything after JSOP?
Martin Fowler wrote: Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
|
|
|
|
|
Chris Maunder wrote: More admin options
We've armed ourselves with some bigger guns to deal with reported items. Don't worry, this won't hurt a bit.
Does this mean that we no longer need to post spam accounts/trolls on the site sugs and bugs?
Signature construction in progress. Sorry for the inconvenience.
|
|
|
|
|
Publicising the names allows people to quickly hit the "report" button and nuke them.
What I think we need is a spammer forum, though.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|