joshuag

Members
  • Content Count

    270
  • Joined

  • Last visited

  • Days Won

    7

joshuag last won the day on July 8

joshuag had the most liked content!

Community Reputation

352 Excellent

About joshuag

  • Rank
    Sr. Member
  • 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

5,599 profile views
  1. @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.
  2. @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.
  3. @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().
  4. @Youbility Sure, no problem. As soon as I get a few more things done I'll be sending out some copies
  5. 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.
  6. Yes, Designme has a custom permission that you can choose to add to a role.
  7. 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).
  8. OK, in the next few days I will send you a copy. Thanks!
  9. Posted update video in the original Post. I really value your feedback. Let me know what you think. Thanks in advance.
  10. 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.
  11. @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!
  12. 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).
  13. 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.
  14. joshuag

    Thanks a lot for this. I was struggling with this exact problem... trying to use before ::render . Man I love this community.