Closed (won't fix)
Project:
Flexinode
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2004 at 00:18 UTC
Updated:
29 Nov 2005 at 08:14 UTC
Posting on behalf of Tim Jones:
Theming and coding flexinodes would be easier if their node objects used more intuitive fieldnames.
So I could write
echo $flexinode->subheader
instead of
echo $flexinode->flexinode_3
This could be done by filtering the field title to remove spaces and punctuation and render all lowercase. So "Blue Sub-header" becomes "bluesubheader".
Alternately, we could add another column to the db to store a special field label, similar to how contact.module asks for a 'Form Name' when creating a new contact field.
This is a nitpick- flexinodes rock.
Comments
Comment #1
jonbob commentedI agree that this would be a good move. It would be nice for both fields and content types to be named nicely in URLs as well as theme names. The issue is uniqueness. With URLs, there are obvious problems (what happens if a user calls a content type "story"?). With theme variables, things are more subtle, but the problem is the same; what about a field named "type"? It's probably an issue that can be dealt with, but I'm going to change the version on this to "CVS" while there are still bigger bugs to fix. :-)
UI breakthroughs (or code) welcomed, of course.
Comment #2
dublin drupaller commentedHi guys,
Almost a year old this post...just wondering if you made any progress...
Dub
Comment #3
drummFlexinode will be changeing a lot as Content Creation Kit (CCK) gets done. The status is at http://drupal.org/cck-status. I think this issue may be fixed as a side effect of that huge chunk of work.
Comment #4
dman commentedI've opened a topic mentioning this over here
.. feedback is welcome.
.dan.
Comment #5
ptaff commentedWhat was the point of changing the title to crap that has no meaning?
Comment #6
drummMarking won't fix due to title.
Comment #7
Geary commentedRestoring original title.
Comment #8
dman commentedOK, so I got caught out by the old "the title of your post is not actually the title of your post" mis-feature.
Every second 'issue' thread seems to have someone caught out by it.
This looks like a comment form, behaves like a comment form, but seems to get everyones knickers in a twist when someone USES it like a comment form.
Brilliant justification to use to "won't fix" another mis-feature. :-/
Look, either lock the titles, or at least put a nice big warning there, It'll save everyones time & effort.
.dan.
Comment #9
Bèr Kessels commented@dan, thank you for volunteering to rewrite project module! lpease write the development list, for some more ppl are workign on this.