Closed (fixed)
Project:
HTML5 Tools
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 19:54 UTC
Updated:
14 Mar 2011 at 21:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amateescu commentedHere's the first try at implementing a configuration page.
Things I'd like to discuss further:
But, most important of all, I would really like some help with texts and descriptions :)
Comment #2
johnalbinInstead of admin/config/system/html5_tools (always replace underscores with dashes in paths, btw), how about admin/structure/markup?
Comment #3
jensimmons commentedI don't think it goes under admin/structure. This isn't like the other things that are there:
make a new view
a new content type
taxonomy vocab or term
a new forum
a new trigger....
etc
or configure/edit/change the existing ones
we aren't having people "make
new markup", they are configuring
what already exists.
It's Configuration, not Structure.
"/>
I think it's even more clear when you click on any of these things listed under structure — basically they all have pages that look like this, with a list of existing Things, and an 'add' button to make more.
(Triggers is an exception to this rule, but you could argue that Triggers config screen is designed wrong, and should be redone to match the D7 UX.)
Comment #4
jensimmons commentedDebating this with amateescu, we are putting the configuration of HTML5 Tools under Config. Here:
Comment #5
amateescu commentedNew patch that changes the path to admin/config/markup/html5-tools and the module description text.
Comment #6
amateescu commentedSorry, forgot to include html5_tools.admin.inc
Comment #7
amateescu commentedAnd, finally, here is the final patch!
Comment #8
amateescu commentedI think git is playing tricks on me. Another try :)
Comment #9
jensimmons commentedSo this patch applies nicely.
It creates a new box on the Admin Config page:

With this text:
Then when you click on the title, you go to admin/config/markup/html5-tools and see a configuration screen for this module.

There's an extra period in "check out these resources.:" — I removed it.
"Alter publication date and author markup" — doesn't alter anything regarding the author. I'll remove that and make it "Alter publication date markup".
"…join the movement of using Drupal to create HTML5" should be "of people" or just "movement using".
Ok, I'm going to push this code. We can keep talking about it / reopen to fix it up more. I'd really love a doc team review! But meanwhile, I don't think it hurts to push what we have so far.
Comment #10
jensimmons commentedI would like to add links to a resource explaining each item. Perhaps something at Dive into HTML5.
Comment #11
jensimmons commentedCommitted!
http://drupal.org/cvs?commit=503022
http://drupal.org/cvs?commit=503026
Comment #12
jensimmons commentedOk, so let's add links to resources. And more importantly, let's add something here about the Forms!
Comment #13
Bojhan commentedThe IA placement is correct, hurray! :)
On admin/config, the text is a bit cryptic as it goes into detail on what the module does - how about "Configure how HTML5 markup is applied to your site."
Comment #14
ericduran commentedMost of the variable_gets should be before type/tags checks because they will short-circuit the evaluation :)
The default section for all the variable gets should be 0 instead of ''.
Idk about these links. Maybe they're great resources but I don't think they belong in the module.
Powered by Dreditor.
Comment #15
amateescu commentedQuick patch for eric's suggestions in #14.
Comment #16
amateescu commentedAnd Bojhan's in #13 :)
Comment #17
ericduran commentedThe last patch looks good to me.
The links I mention as a question. Maybe Jen can chip in on her thought about the links. I'm ok with leaving them or removing them I just felt weird with them in the module.
Comment #18
amateescu commentedWell, she wanted those links in the first place :) I'll leave them alone until something else is decided. Also, I forgot to change variable_get's from the configuration form.
Comment #19
amateescu commentedI'm posting here a new patch for #1076512: HTML tools options screen error because we are already fixing some things from the config screen in this issue.
Comment #20
amateescu commentedFixed with http://drupalcode.org/project/html5_tools.git/commit/94fc2e5