Jump to content

MilenKo

Members
  • Posts

    466
  • Joined

  • Last visited

1 Follower

About MilenKo

  • Birthday September 17

Contact Methods

  • ICQ
    99982787
  • Skype
    mikemastercorp

Profile Information

  • Gender
    Male
  • Location
    Montreal, Canada
  • Interests
    Web development, coding, Network infrastructures, Linux, BSD, Windows, Cisco, Photography, Cooking

Recent Profile Visitors

3,950 profile views

MilenKo's Achievements

Sr. Member

Sr. Member (5/6)

137

Reputation

  1. @MarkE Correct me if I am wrong, but is the "path" a field name, or you are just needing the sorting to go by URL? If the path is a field that you would like to use as a selector argument, maybe you should check its values and make sure the name is correct or there are any values for the parents/children needed to be sorted. As to my humble experience, I've not seen any trick to use PATH as a selector. On another note, you might borrow the sitemap function from the default profile which already lists pages in the needed way as you've mentioned. Of course, you might need to adjust the styling and other extra functionalities needed, but you get the idea...
  2. @neonwired @Pip I know the thread is a bit old, however it was my turn to look for some functionality, and I've found a write-up that would seem to work or at least to be a good start for your needs and mine as well Not sure if I understood correctly your need, but if you need to just modify the values of Repeater fields from the frontend, I believe this would help you resolve the need ?
  3. Hello @rick. I believe it must have slipped through with you as I did mention that the need is to modify specific fields after user confirmation from the FRONTEND which is in the title of the post and mentioned in it. I am well aware that if the user has access to the admin area, it would be an easy task to achieve, however the project idea is to have users registering a profile or their own page with ought any direct access to the admin panel. For every login need there will be a dedicated template to be served and that is why I asked as so far I've not dealt with users that are not allowed to access PW admin and I don't have much experience with such need. I've seen a few amazing modules that would have done the work for me (FEEL of @tpr and a few others), however I am not sure if the modules can modify a field from the currently logged on user and not from a page. For FEEL I know that can modify the page template, however so far I've not had much success with achieving what is needed. Again, if the project required to have the entire user profile edited the way the user needs it, it would have been super easy to achieve with LoginRegister Pro module which I use for user identification, however some of the fields that are required to be added during registration would NOT BE ALLOWED to modify after. Not sure if there are any hooks that would prevent a specific profile field to be restricted for editing (excluding the option to tackle/hide the fields with CSS etc.) Btw, your puppy avatar RULLZZ ?
  4. Hello @elabx The idea to use the modal is to allow only the value of a specific field to be updated once the Save button is clicked. We won't be forwarding the user to edit his profile directly but would instead have a custom Profile template that would allow some fields to get updated. The need is to have a few fields locked for editing after the user register. All the other fields added to the user profile can be modified individually. The modal would have just a small form with input field and some description text which would allow the registered user to modify the current profile field value (eg. email change, password change, Internet Messengers etc.)
  5. Hello all. Not sure if I would be able to describe the need properly, but I am building a custom frontend for logged on users which would have its own Profile template allowing to modify just some specific fields (email, password, skype, etc.) To allow modifications from the custom user profile, I am using a simple MODAL that would allow the user to define the desired value for the field and then click on Save to have it populated. Normally I've used a modal with a single button, however in this scenario I need to catch the click of Save button which would then trigger the page/template field to save. So far I've found a few options using JavaScript to show the modal window and using the class to determine which of the buttons is saved, however I am not sure how would I populate the value of the form to the specific field once the Save button is clicked. Logically, I could open a specific URL using JavaScript including some segments /field_name/field_value/ and then point the POST action to another template that would read the segments and apply the changes, however I am not able to populate the field_name and field_value from the form to JavaScript URL. I might be overthinking the things, however its worth mentioning that all the registered users should not have access to the admin so I am in doubt how to achieve that. I was able to modify a JavaScript that might be a perfect fit for my needs, I just need to find a way to save the new field value to the user profile once the save button is clicked: If you have a working example or a simpler approach I could use, would be greatly appreciated as always.
  6. Hello @tcnet There is abs. no rush at all for having the module fixed and besides that it was missing just a } so not a big deal to figure it out. I will upload the module tomorrow morning as it is getting late in my zone and keep you informed if it was just a glitch or else. My browser was Google Chrome (whichever version is the latest official). Thanks again for the module and prompt support of it ?
  7. Hello @tcnet I shall say that something strange happened with my online profile using PW Upgrades module. I got a notification that the ProcessFileManager module of @matjazp got a newer version and as I am currently testing and working on a profile, decided to upgrade the version. Strangely enough, the module crashed due to a missing closing curly bracket of the last function in filemanager.php (already reported by mistake to the other topic - again due to the confusion). Besides that, I had an issue with editing a PHP file where the editor did not imply correctly, and I was left with a small window showing the PHP code and overlapping with some field info. I would allow myself (hope you don't mind that) to rename the module to something similar but one that would allow to differentiate the two modules in case someone likes one version over the other ? You've already advised that have plans on reworking the module, so I will make sure to get back to its next version and verify the progress. KUDOS to the hard work and efforts. Btw, on the current version of the module, I've also noticed a missing image for the donations icon ?
  8. Hello @tcnet Hate to bring the bad news, but it seems like your module is missing an ending curly bracket and is causing an error: [2021-03-27 17-34-18] ParseError: Unclosed '{' on line 2005 in /home/../site/modules/ProcessFileManager-master/filemanager.php:2019 I had to modify filemanager.php to properly terminate the function fm_show_footer() Once I did that, the module was able to load correctly so that I can test it. For everyone who might have used the original version of the module, if your module is not opening correctly after an upgrade, make sure to uninstall any previous versions and proceed with a clean install. For me the newer version came as an upgrade, however it did not work correctly, so I uninstalled the version, applied the filemanager.php modification and Voila ?
  9. The work on the project got seized so no the need is no longer valid.
  10. "Весела Коледа" with a bit of delay. I can tell some languages are well understood ? ( @Ivan Gretsky & @Zeka )
  11. @daniel_puehringer as Sergio already mentioned, I have a common practice to create a page I call "Settings" which I do not publish or allow for search results to list. In that page I generally attach any fields that I consider global for the entire website (phone numbers, address, emails etc.) For the Settings page to work, I am creating a template without an actual file which I also call Settings to allow me to faster orient what is what and assign it to the Settings page. It works a bit like WordPress or any other platform where you have a main Theme Admin which is basically used for global configuration. Should you prefer to make the config page more user-friendly, feel free to separate the configuration to tabs (e.g. Home, Contact US, About us etc.) in which you would attach fields that are specific to that page. The beauty of ProcessWire (and its force of course) is that it allows you super easily and quickly to organize every aspect in one way or another that you see fit best for the purpose.
  12. Hello @wbmnfktr I shall stop coding during late hours of the night. You were absolutely right that during my initial tests on localhost, I've slipped to close properly the body tag and that was causing the issue. Thank you very much for the spotting and sharing what was obvious. It is all showing properly now, so I only would style it to fit the frontend.
  13. Hello all. I decided to try PrivacyWire as had a request for one of my friends websites. So I proceeded to install and configure the module as needed, however I am stuck at how would the cookie consent appear on Home page (banner is not showing automatically). Can someone point me what am I missing as I checked 3 times the configs and did not find a markup to insert or a template to point to in the admin?
  14. Hello @bernhard My only suggestion would be to add to the readme to not forget to copy webfonts folder as well. I have tested the module on a working profile that has been set to use FAv4. I must say that it allows me to combine both and have a slow transitioning if I have to move to FAv5 vonoletely. Or eventually extend the variety of icons if the project requires it ?
  15. Hello @bernhard Thank you for your module. I decided to give it a try for an existing project that would like to switch to v5. So I uploaded the /css and /media folders of the free version and set the path to be correctly pointing to the corresponding files. After creating a field and assigning it to a template, I was able to search for the new icons version, but they did not appear correctly. After a bit of testing, I was able to restore the proper functionality by copying the /webfonts folder besides the css and media. Just mentioning it in case someone else stumbles upon the same issue. Not sure if it is because the profile already is loading some libraries of FA4 but I just made it work so am quite happy to use it ?
×
×
  • Create New...