Jump to content

joshuag

Members
  • Posts

    282
  • Joined

  • Last visited

  • Days Won

    8

joshuag last won the day on February 20 2020

joshuag had the most liked content!

About joshuag

  • Birthday 09/11/1980

Contact Methods

  • Website URL
    http://www.99lime.com

Profile Information

  • Gender
    Male
  • Location
    Calgary AB, & Mérida, Yucatan

Recent Profile Visitors

7,588 profile views

joshuag's Achievements

Sr. Member

Sr. Member (5/6)

389

Reputation

2

Community Answers

  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.
×
×
  • Create New...