Jump to content

virtualgadjo

Members
  • Posts

    261
  • Joined

  • Last visited

  • Days Won

    2

virtualgadjo last won the day on February 8

virtualgadjo had the most liked content!

1 Follower

Recent Profile Visitors

3,043 profile views

virtualgadjo's Achievements

Sr. Member

Sr. Member (5/6)

148

Reputation

  1. Hi, apprently, you have to use one more cdn link if you want to use the rrule plugin https://fullcalendar.io/docs/rrule-plugin maybe it will work πŸ™‚ have a nice day
  2. hi @elabx i've tried it and it works fine... as long as you use cdn links, too bad, not that well with the file imported with npm i like having my file locally as i can work even offline, but i've not completely given up having it work getting all the cdn linked files locally with curl πŸ™‚ have a nice day
  3. Hi @AndZyk being probably even a little more old school, even kind of an old timer πŸ˜„ that why i end using a single fullcal bundle file (thanks to curl output...) and hop, on horseback with only one script src πŸ™‚ have a nice day
  4. Hi, "funny" enough i think the error comes from the way npm import the files (or the way dependencies are written in the files) as, if you have a close look at where the error is it's in the daygrid index.js file line 1 when using a importmap like in this example but with the map aiming at the files imported with npm (it works fine with the distant files) https://fullcalendar.io/docs/initialize-browser-esm i've also tried a more "old" and "brutal" way of woking using curl to get locally https://cdn.jsdelivr.net/npm/fullcalendar@6.1.15/index.global.min.js using it as a simple js file once in my assets/js/ folder and the main script in a simple js file (not a module one) and everything went well too, my usual a little tricky usages as well as your own script except thet the instance is slightly different document.addEventListener('DOMContentLoaded', function () { const calendarEl = document.getElementById('calendar') const calendar = new FullCalendar.Calendar(calendarEl, { initialView: 'dayGridMonth' }) calendar.render() }) thank you actually as you convinced me to keep working this old way with fullcalendar πŸ˜€ have a nice day
  5. maybe, in my various search result i've found one where a guys says that when using webpack, as it works with node, borwsers do not understand the import links the way a machine does don't know if it's the real answer... but well what you suggest is what i would do in order to try a differential diagnosis to speak like a doctor πŸ™‚ at least you would have an answerfor that question is webpack where the problem come from and an idea of what to look for as the solution to have it work with it have a nice day
  6. Hi @froot, so are daygrid, timegrid and the other compoenents and this trailing slash is the only difference with what fullcalendar shows except for... what webpack does maybe that's where you may have a look as, like you i use fullcalendar with vanilla js, in pw as well as with codeigniter (but without webpack) and never run into that kind of issue..., feeling that "funny" i searched a little and found this here https://fullcalendar.io/docs/upgrading-from-v5 of course it depends of the version you're using, apparently this is for v6+ (using links without webpack and not as a module i haven't had to see this...) incase it may be useful πŸ™‚ have a nice day
  7. Hi, the only problem i can see in your code is your trailing slash at the end of of your first import that should be import { Calendar } from '@fullcalendar/core'; // instead of // import { Calendar } from '@fullcalendar/core/'; // which makes core a folder have a nice day
  8. Hi, i on't know if you have solved the issue but, running into the same problem with a toggle set to on/off as 0/1 and with default set to off, mytoggle=0 didn't return anything with the $pages->find reading the little notice below the toggle settings i'v tried mytoggle="" in the find() and it worked in case it still could help πŸ™‚ have a nice day
  9. Hi, the simplest way i can think about would be to create a role (named editor for example) to which you only give a few peremissions, you'll end with this kind of admin menu adding only those permissions juste an example of what can be done in the adminknowing onluy super user, say... you πŸ˜‚ have the setup/module/access menus in case it helps have a nice day
  10. hi, looking at your dump, it sounds more like a htmlspecialchars encoding, you may either remove it from the field setting or use htmlspecialchars_decode on the output before json_decode πŸ™‚ have a nice day
  11. Hi; honestly, i would do this kind of thing in the template file wrapping the display of the link with a simple if user is logged... better SEO and UX than a 404 πŸ™‚ have a nice day
  12. Hi again @adrian i had a little respite this morning and couldn't help having a closer look at your module eventually, i ended up with this https://waitandcie.com/down/ProcessCustomUploadNames.zip that fits my needs, one more input to fill with comma separated strings if needes, if the filename doesn't contain one of them, i do not rename, if it does, i rename according to the rule in the filenameFormat input this will avoid those screenshot_date..., captrure_decran_date... and the names straight out from the camera that make my eyes bleed πŸ™‚ Edited to say, i forgot to add this... screenshot πŸ˜„ of course it works on adding a new rule too thanks a lot again for your time and for this great module i will probably use even more to persecute friends and customers πŸ˜„ have a nice day
  13. Hi @adrian thanks a lot for your answer i think that in the case i'm on iwill go for the simple solution but as soon as i've got a little more time to dive into the code and add a field, sort of a "replace incase the name contains" array field, if ever i do it clean, i'll of course get back to you with what i will have done πŸ™‚ have a nice day
  14. hi again, i've seen that i could easily add some conditions to this function customRenameUploads(HookEvent $event) but maybe there is a cleaner way to do this πŸ™‚ have a nice day
Γ—
Γ—
  • Create New...