| Author | Post |
|---|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Mon May 23rd, 2005 03:53 pm |
|
An Editblock can also contain a Userblock attribute. If the logged in user is the username identified in the Userblock attribute, that Editblock will be editable. All other Editblocks on the page will not be editable for that user. If any Userblocks are on the page, and the page does not have a Userblock attribute for that user, the page is not editable - unless the user is also a Super User.
Samples:
<div editblock="two" userblock="sally">
sally's content
</div><!--excludeblock="two" -->
<div editblock="three" userblock="sam">
sam's content
</div><!--excludeblock="three" -->
|
lenni_hh Member
| Joined: | Tue Oct 18th, 2005 |
| Location: | |
| Posts: | 5 |
|
Posted: Tue Oct 18th, 2005 08:07 pm |
|
One question.
When I enter this to my code (as one example for block editing in general):
<div editblock="two" userblock="sally">
The site never ever validate. Or am I wrong?
Regards,
lenni_hh
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Tue Oct 18th, 2005 10:25 pm |
|
lenni_hh wrote: When I enter this to my code (as one example for block editing in general):
<div editblock="two" userblock="sally">
The site never ever validate. Or am I wrong?
You are correct. Prorietary attributes are valid under HTML rules. But, validators will always balk at the concept that some one could conceive of something not born in code nazi heaven. If pleasing the gods is your goal, use full page editing only. If managing your site your way is more important, then use editblocks.
The bottom line is - any browsers built in this century will ignore an attribute that it can not understand, so it makes not difference to your visitors.
|
lenni_hh Member
| Joined: | Tue Oct 18th, 2005 |
| Location: | |
| Posts: | 5 |
|
Posted: Wed Oct 19th, 2005 03:04 pm |
|
Keith wrote:
lenni_hh wrote: When I enter this to my code (as one example for block editing in general):
<div editblock="two" userblock="sally">
The site never ever validate. Or am I wrong?
But, validators will always balk at the concept that some one could conceive of something not born in code nazi heaven.
"code nazi heaven"... excuse me, are you using this comparison because I'm from Germany? I hope not.
Well, it's not me who is running after "validators", but in some cases it's part of the deal. The code I write has to validate!
Well, at least it's good to know, that it doesn't "disturb" any browser. I can live with a single "validation-problem", let's see if my customers can, too.
Thanx for your quick reply... I'll go with "editblocks", I think!
Regrads,
lenni_hh
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Wed Oct 19th, 2005 04:00 pm |
|
"code nazi heaven"... excuse me, are you using this comparison because I'm from Germany? I hope not.
Please NO! My apologies lenni_hh. I certainly had no idea you are from Germany. We in the USA have our nazis (who doesn't?). Unfortunately ours are still a major force in our politics.
The reference to "code nazi" refers specifically to the Netscape flunkys who once upon a time had the internet all to themselves and lost it through typical Unix-System-Admin arrogance, then politicked W3C into releasing an endless stream of goofy standards so they could claim their nightly mozilla build was "standards" compliant while Explorer would not be since Explorer versions are released in mature updates instead of nightly bug fixes.
Well, at least it's good to know, that it doesn't "disturb" any browser. I can live with a single "validation-problem", let's see if my customers can, too.
If the validation failure from editblock, excludeblock, or includeblock attributes is a real problem for the customer, you can not use them and edit in full page edit mode. Let the customer see the difference between block mode and full page mode and let them decide if they really think the validation is worth the cost.
|
lenni_hh Member
| Joined: | Tue Oct 18th, 2005 |
| Location: | |
| Posts: | 5 |
|
Posted: Wed Oct 19th, 2005 04:20 pm |
|
Keith wrote:
"code nazi heaven"... excuse me, are you using this comparison because I'm from Germany? I hope not.
Please NO! My apologies lenni_hh. I certainly had no idea you are from Germany. No problem. I was just a bit confused...
If the validation failure from editblock, excludeblock, or includeblock attributes is a real problem for the customer, you can not use them and edit in full page edit mode. Let the customer see the difference between block mode and full page mode and let them decide if they really think the validation is worth the cost. A good advice! I think, as long as anything else validates they'll agree with you (and me).
So: I'll go and test editwrx. Hopefully this is what I was looking for.
By the way: did you know, that editwrx was tested (and compared with other browser based web editors) by the most professional internet magazine over here ("Internet Professionell")...and won?
lenni_hh
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Wed Oct 19th, 2005 06:05 pm |
|
By the way: did you know, that editwrx was tested (and compared with other browser based web editors) by the most professional internet magazine over here ("Internet Professionell")...and won?
I've heard that. I tried to find it on the web, but since I don't know one German word from another I could not find the article online. Do you know of a URL I could go to?
BTW, I have someone in Germany who is working on a German translation. (He's been working on it in spare time for about 2 months so I'm not predicting when - but eventually I hope to be able to offer that language pak)
|
lenni_hh Member
| Joined: | Tue Oct 18th, 2005 |
| Location: | |
| Posts: | 5 |
|
Posted: Wed Oct 19th, 2005 08:32 pm |
|
No, you can't find it on the web. The article is not online.
A German translation would be more than great - especially for those people, who (finally) use editworx to to update their websites. Not all of them speak English, and if they do, they don't understand English "webterms".
BTW: where can I find the language file? Maybe I give it a try?
lenni
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Wed Oct 19th, 2005 09:41 pm |
|
BTW: where can I find the language file? Maybe I give it a try?
Language fileS. They are all the files in the /library/lang/english folder. The idea is that you'd place all of those files in a folder /library/lang/deutsch and just translate each line. Each tool has it's own language file.
Form buttons do not expand in width by the number of characters and each language may have a different number of characters per button. So each button has a buttonWidth property in its language file. Generally those probably will not need adjusting, but can be if needed.
Some of the files are for admin only (like the "default.txt" file) Those files contain most of the text because the tool definitions are there. The admin files probably do not need translating if you're just doing a translation for your clients.
|
lenni_hh Member
| Joined: | Tue Oct 18th, 2005 |
| Location: | |
| Posts: | 5 |
|
Posted: Thu Oct 20th, 2005 08:38 pm |
|
Wow, a lot of text!
Let's see, if I'll find the time.
|
Keith Moderator
| Joined: | Fri Apr 8th, 2005 |
| Location: | |
| Posts: | 578 |
|
Posted: Fri Oct 21st, 2005 01:30 am |
|
lenni_hh wrote: Wow, a lot of text!
Let's see, if I'll find the time.
See why it's taking him so long!?! :-)
Oh, I forgot to mention, there's even more in the /lang/english/help folder that needs translation too.
I've had a number of people volunteer to come up with lang packages but so far they've all volunteered before looking at the size of the project.
I'm thinking I may need to have the translator sell their pak from their site from a link on my site to get someone to do a translation. Don't know what people would pay for a language pak.
|
 Current time is 04:53 pm | |
|