Jump to content

antonio

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

antonio's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. Sure, I could do it that way (duplicating and renaming those two modules/classes in the /site/modules/ folder). I've done it before: I was cloning the InputfieldSelect and InputfieldSelectMultiple modules and the only extraordinary thing I remember doing was manually adding those new Inputfields to the database so they would appear as an option for the FieldtypePage. This was the issue I was solving then, it works on my setup but isn't clean enough for public/universal usage.
  2. Ok, I hacked FieldtypeDatetime.module and InputfieldDatetime.module. The issue is that, although MySql allows incomplete dates ("1980-00-00"), php's date() does not and ProcessWire obviously uses it for sanitation and formatting of the data. It now lost some flexibility on formatting but is working as I wanted. Maybe this could be an option in the future... (corrected grammar)
  3. Hi apeisa! Yes, that's it. Most "objects" date has been fully identified, some not. Using an exceptional standard for those, like the "first of the month if day is unknown", is not satisfying. Would you suggest a better workaround? MySql allows me to do this but Processwire seems to process this data.
  4. I'd like to be able to have zero's in my datetime field, ie: "2011-01-00" or even "2010-00-00". At the moment Processwire seems to convert 2011-01-00 into 2010-12-31. I do not care about the jQuery datepicker. I'm looking into FieldtypeDatetime.module at the moment but thought maybe someone would have a ready answer...
  5. Thank you for the quick fix!
  6. Hi, Thank you for AdminBar, it's great! Now, changing the "title" field's name to anything else threw the error: Obviously there's no real advantage in changing that name (I can understand where this issue comes from) but I thought I'd point this out.
  7. Ok, great! I fully understand your idea of making no assumptions but, as you wrote, we only need to populate the title of the new page (further completion should be done on the page itself).
  8. Hello, first of all I must say I'm very impressed with Processwire's flexibility, thank you for putting so much effort into it! I'm using it at the moment to develop something and there's a useful feature which seems to be missing in the InputfieldPage module: Sticking to the skyscrapers example, let's say I'm creating a new skyscrapper page and it was designed by an architect whom has no page yet. Couldn't there be a way to create a new architect page from this same form, on the fly? If it were, for example, a blog, and we were linking tags to a page, I wouldn't see much sense in going all the way back to create a new tag page. In my situation I'm not dealing with tags, which don't necessarily need a page, but really something like architects or authors. I know this is a minor usability tweak and there are certainly more important things on the list right now but this doesn't seem very hard to put together... I'll be looking into it but I thought maybe you'd have a faster solution!
×
×
  • Create New...