Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Roych

  1. How did you know it is Slovene language, lol ๐Ÿ˜‰ R
  2. OMG, thank you very much it works great ๐Ÿ˜‰ also the count numbers! ๐Ÿ™ Exactly what I needed. I need to save this for further use .. Thank you very much for help ๐Ÿ˜‰ Much appreciated ๐Ÿ˜‰ R
  3. I tried the above but not working as it should, the events are messed up again. How would I do this? Sorry and thank you for helping, but would really like this one to work. ๐Ÿ˜‰
  4. Yes, it's working great, only thing is that the days are now only in english. I have multilanguage site. Tried "strftime("%A", strtotime($event->Start_date))" but ofc. it's not working. The days are in the right language but events are messed up as before. Any ideas? Thank you R
  5. hey, sorry for the formating, i did it so it doesn't look to much for the reader. "Start_date" is my datetime field that states the start of the event. $datetime was actualy some part of the code I found on the forum for showing the name of the day. I'm not a coder so maybe I'm completely wrong here. Not 100% sure what I'm doing... ๐Ÿ™„ That is why I need some help with this. ๐Ÿ˜‰ thank you R
  6. Somehow got it grouped by day but not quite working yet. It shows events somehow mixed up not sure why. My code: any help appreciated thank you R
  7. Hey, You could create settings page and make changes to all the pages at once. Something like admin settings. Read more here: https://processwire.com/talk/topic/17471-change-css-and-images-through-admin-custom-admin-page/?do=findComment&comment=153511
  8. Hello, I'm having some problems grouping tabbed posts by day. So clikcking on expl. monday would show all posts starting on monday. I have datetime field "Date_start" added in "my calendar-post" template. It should look like this But now shows all the days so if I have 5 events starting on MONDAY it shows 5 MON in tabs. Like: Not sure how to group these by Start_date. My code now: And original html: Any help appreciated (I'm not a coder) ? Thank you R
  9. Hello, where is this option, I somehow can't find it? Thank you. ? Forget it I found it, thx ?
  10. Oh, yes it's working now. That simple, I thought I'ts gonna take a lot more to fix this with a lot more trouble. ? Thank you very much, really appreciated ? R
  11. Sure: I also tried module refresh with no luck. ? R
  12. I didn't change any settings yet, cause I couldn't acces the user settings yet. But I tried on those users that work, and the date is saved as you described above. 2022-08-24 00:00:00
  13. Any idea how to fix this? Thank you ? R
  14. Hello I tried to change some of the user setings when suddenly ?. I'm getting weird error when clicking on some of the users. Some of them are working fine but on some I get this error. I have Login Scheduler installed! Not sure how to fix this .. My PHP is v7.4 ... Any help appreciated. R
  15. Hello, Not sure if I'm missing something, but the PASTE option stays there forever. Is it possible to clear this when pasted? It gets annoying to se it there when I pasted an item 3 weeks ago. ? Thank you R
  16. Hello, I've been having problems with implementing my menu in my template. Not sure how to continue here, it's not working as it should. First parent looks ok, but all submenus are not. Is this even possible with this approach? My HTML code looks like this: What I managed to do: Any help appreciated. R
  17. thank you for help, it was working half of the way, but then I decided to add a checkbox to define page as full screen so now I have full control over each article. Tank you very much R
  18. thank you for anwser I's not working as it should. I'll try to be more clear what I need. My tree menu looks like this: (messy I know) Articles (all below have "basic-page" template) - Page (should have sidebar with siblings) - Page (should have sidebar with siblings and children) -- Page (should have sidebar with siblings) -- Page (should have sidebar with siblings and children) --- Page (should have sidebar with siblings) --- Page (should have sidebar with siblings and children) ---- Page (should be full width) Page (should be full width) Page ( should be full width) Page ( should have sidebar with siblings or children) - Page (should be full width) So if there is page a page on it's own it should also be without sidebar. I hope you understand what I need. Thank you very much R
  19. Hello, I need some help with somethin Im working on. I want to show different design if the current page doesn't have siblings or children. I'm using basic-page template for all my articles (siblings, children and normal pages all with the same fields) and Im showing sidebar with siblings or children on all of them. But when the page doesn't have any of them I want it to be without the sidebar. I tried with: <?php namespace ProcessWire;?> <?php $nosidebar = $page->hasChildren() ;?> CODE WITH SIDEBAR <?php elseif ($page->siblings()) :?> CODE WITH SIDEBAR <?php elseif (!$nosidebar) :?> CODE WITHOUT SIDEBAR <?php endif ;?> It kinda works as it should but it shows shows me the sidebar on a page without children or siblings. Tried everything and got kind a lost here. Not even sure if this is the right way to do this. Any help greatly appreciated. Thank you R
  20. Yeees, it's working perfect now. I need to bookmark this. ? Thank you many, many times for help ? R
  21. Yes this actualy work as expected, just not sure how to create a link (url) to a gallery. I just had to change $page to $single in your code. I guess something like: <a href="<?=$single->url?>">View Gallery</a> but ofc not working it links to event not gallery. Thank you R
  22. yes I did, still, every event has entire list of events listed under them.
  23. Already tried that, this gives me the entire list of all events in every past event on the list. So I get Event 1 - event1, event2, event3, etc ... Event 2 - event1, event2, event3, etc ... Event 3 - event1, event2, event3, etc ...
  24. thank you ?, but this is not working still shows the entire list of all galleries pages. The link should be connected to a gallery page. I want to show "View Galery" button only on, and for selected event. If past event is selected when creating a new gallery (with page reference field) if not, nothing is shown on the event list, because some galleries doesn't belong to events at all.) Event list should look like: (template = "past-events") Past event 1 Past event 2 ("View Gallery" -> event was selected in gallery page ) Past event 3 Past event 4 Past event 5 ("View Gallery" -> event was selected in gallery page) etc ... Thank you R
  • Create New...