Jump to content

joshuag

Members
  • Posts

    282
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by joshuag

  1. Hi guys, I was very excited for this module, but my life took a huge direction change and I no longer have the time to invest in module development. I am gonna leave the files here. You guys can take it and run. Maybe there might be something useful here. Maybe not. I still think it's a good idea to do drag and drop modal building in PW. So hopefully one day something like that can come to light. I love this community and I love ProcessWire. Live long and prosper. - Joshua Designme 2.zip
  2. In MarkupRecueme.module file. Line 1082 Change the first “false” to “true”: private function i(){$this->v = false;} // change to true;
  3. We are using the included in PW jQueryUI drag, drop, sorter.
  4. Hi, Do you have your html set to UTF-8? <meta charset="UTF-8"> Hope this helps.
  5. @Robin S Oh that is a good point. I never thought of that. ok, I am going to write a test for this line for your 2 examples. I need a better way to test for a unix timestamp.
  6. @chcs You are right, you would have to "manually" use the date from the get variable. I did it this way because I didn't want to make any assumptions about how to use the event data. the event/page Recurme data contains ALL the dates for an event/page. SO, by passing the calendar day date in the url, you are able to highlight the correct day in your template however you want. The way we use this on most of our applications is that an event/page will actually list all it's event dates/days and highlight the one that you are currently looking at (by comparing it to the get variable). That is just one way to use it. I think you are right, that in some cases, mutating the event/page data internally depending on the date variable could be more convenient in some cases, but what if you don't want to do that? What if there is no date variable in the URL. Either way, you have to make some considerations of how your logic is for your event/page depending on how you are viewing it. The link with the date, is suppose to be an easy and convenient way to have some flexibility. Sometimes we have multiple lists and calendars pointing to the same event/page but for different dates. All those links go to the same event/page. The ->date property is the original event date. Useful for a number of cases in conjunction with the currently viewed date variable in the url. Maybe the right answer is to have a ->currentDate property or something along those lines for those that want to use it. Default to the original even date if there is no currentDate? or False, will have to think this through. Thanks for the great feedback.
  7. @Robin S @chcs foo.com/events/three_days/?date=1534968000 The date get variable ie. ?date= that is part of the calendar or list href is the day that the link is on. Since an event page holds all the recurrences, you can use this date to show the current date in your event view when visited from a calendar. That is all it's for and is optional. It will always be the date the link is on. No need to 'verify' this date. it's going to be correct, otherwise it wouldn't have shown up on that day in the calendar or list. We use it all the time to highlight this day in the event view when you click a link. It is not used internally. @chcs use $event = $recurme->event($page) @Robin S I will try to reproduce the error you are having with stdClass::$timeEndUnix. The last set of files I sent you were my dev version. Find will return the events of TODAY if there are no dates supplied. If there are no events TODAY then it will be empty. I will PM you a New link to download updates. I suspect my emails to you go to your junk. As for date strings, take a look at 137 - 148 in MarkupRecurme.module. You will see that I am actually passing the dates straight to strtotime().
  8. @Youbility Sure, no problem. As soon as I get a few more things done I'll be sending out some copies ?
  9. Yes, you can download the latest copy of Recurme from your original download link. I also send out an email to everyone that has purchased each update. Just in case you don't have it, I have PM'd you a copy of the latest version. Happy Coding.
  10. Yes, Designme has a custom permission that you can choose to add to a role.
  11. It's happening on the fly. You are right, lot's of potential for destruction or accidents. I have double confirmation on deletes, but I keep turning it off because I am adding and removing a million fields every day. I will post an example in the next video. It's pretty un-intrusive, but adds the protection. Good catch ? (also, thanks for the help with showing empty fieldsets. As you can see in the video, it worked out quite nicely).
  12. OK, in the next few days I will send you a copy. Thanks! ?
  13. Posted update video in the original Post. ? I really value your feedback. Let me know what you think. Thanks in advance.
  14. Thanks ? I will post an update video later today or tomorrow showcasing additional features. I have not decided the best option for releasing this module, but I have some interesting ideas.
  15. @dragan & @theo – very interesting concept. Thanks for showing this to me, I hadn't seen it before now. I am excited to see how it evolves. visual building is always very exciting!
  16. In this demo video, it is working from the existing 'home' template. All Ajax requests are going directly to the existing ProcessPageEdit url. there are no 'dynamic templates', but very shortly, you will have the ability to create templates on the fly from the page tree and start editing directly in Designme to speedup template/data model creation. So you can start with a completely blank template/editscreen and start throwing in fields as fast as possible. (hope this makes sense).
  17. Thanks a lot. I think the biggest challenge so far has been to try to make Designme feel like a natural extension of using PW instead of an additional layer of complexity.
  18. Thanks a lot for this. I was struggling with this exact problem... trying to use before ::render ?. Man I love this community. ❤️
  19. It's coming along quite nicely. I do not have a firm release/completion date yet, although working towards it as fast as possible. As soon as I can I will answer all your questions about Designme. Hopefully by the end of this week I will be able to show you guys some more features that I didn't include in the preview video. ?
  20. @Robin S Ok, thanks a lot for your help, this worked perfectly. I don't know why I didn't think of this after so much digging. Seems so simple hindsight. You literally just helped me remove a BUNCH of JS I didn't want in my application. Thanks a million. This worked for both tabs and regular fieldsets. (well I am doing it to all InputfieldWrappers). Here is what I used: // make inputfieldWrappers render by FORCE even if they are empty $this->addHookBefore('InputfieldWrapper::render', $this, 'inputfieldWrapperShim'); public function inputfieldWrapperShim($event){ $inputfieldWrapper = $event->object; $f = new InputfieldText(); $f->attr('id','-hidden-shim-'.rand()); $f->attr('name','-hidden-shim'); $f->attr('class','-hidden-shim'); $inputfieldWrapper->add($f); } For anyone wondering, I didn't use InputfieldMarkup because it's an InputfieldWrapper so we would end up being stuck in a loop forever.
  21. https://codecanyon.net/item/easy-product-designer/20894137?s_rank=8 http://preview.codecanyon.net/item/fancy-product-designer-pricing-addon-jquery/
  22. it's actually super smooth in real life. I don't know why it looks all jaggy on the video ?
×
×
  • Create New...