Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location

Recent Profile Visitors

2,316 profile views

manlio's Achievements

Sr. Member

Sr. Member (5/6)




Community Answers

  1. In the meantime I have manually fixed all the compromised records using the admin and I cannot test it, but thank you very much Robin for taking time to provide this solution. Really helpful for any additional repeater problem 🙂 Have a nice day.
  2. Hello! I have this problem and I don't know how to fix it. In the user template, I have inserted a repeater field (called user_payment). This repeater is populated from API after a payment confirmation. My initial code was wrong and only in a second time I have fixed it adding the last two rows $mypay = $user->user_payment->getNew(); $mypay->text = $mytext; $mypay->of(false); $mypay->save(); //** Added later $user->user_payment->add($mypay); $user->save(); Some payments was stored in the wrong way and now I am able to see the data when I edit a user in the PW admin backend, but I can't search them in lister pro or in an API search. I can fix the problem if I edit the user and save the page from the backend, but I wanna know if there is a way to automatically fix all the data. Thank you for any suggestion! Ciao
  3. Thank you for all the precious advices! PW is an amazing software but community members like you and Dragan makes PW outstanding. I will follow your advices and I will start rebuilding a small part of the reserved area and see what I am able to do with Vue. Have a nice day
  4. I have already build a "reserved area" for logged users on my PW website some years ago. I developed the "reserved area" using front end tools (Jquery and HTML) and the users don't see PW admin backend. Now I wanna extend and rebuild with modern tools this "reserved area" where users can modify their personal data, request certification cards for their students, publish courses, ecc... I was asking myself if I can have some big advantages using new frameworks, anyway your replies already cleared some doubts. About this: I wrote bad and quickly, sorry. I was meaning "That’s why we went for a decoupled approach where we use only ProcessWire to edit data and then pass it to the frontend with a single request returning everything as JSON-data" taken from this article https://medium.com/icf-church-developers/processwire-vue-js-a-lovestory-d4d5bca365 Thanks for your patience
  5. Thank you Dragan. Actually I wanna build a fancy dashboard but not integrated in PW admin. I'm sorry for my bad explanation but basically it is due to my lack of knowledge about this subject. I was thinking to build a SPA dashboard because it seems to be quick and reactive (lack of SEO is not a problem). For what I have understood I should create a Vue App that manage all the pages and I should use PW just to send Json files. So in this case I was asking where to put Vue files because I'm not sure they are accessible if I put them under site/templates . Maybe outside of site/ folder? Or should I create a standard PW template which contains vue? Please forgive my rough/orrible explanation, I will try to study more about this subject during these days starting from your provided links 🙂. I want to try something new, but for sure, at first glance, it seems to me not so easy to start with and it seems to add a lot of layers and things to study. Thank you!
  6. Thank you teppo for your quick reply and useful information with which I agree completely. 😀 Any other point of view is still appreciated.
  7. Hi to everybody! I'm using PW from some years now and I really love it! Developing website is not my primary job and usually I build website starting from web templates. I prefer to use developing tools that seems quick and easy to learn and for this reason I am interested in studying something like Svelte.js and Vue.js. I need to rebuild a backend (with messages management,profile, ecc...) and I was thinking to start from a web admin theme and then add some interactions using one of these framework/compiler. I'm not really confident with webpack, npm, ... but anyway I can use these. I would like to have an advice about one frontend framework that I could use easily together with PW with some advice about file structures. I know PW can work with anything, but maybe a framework can be easily integrated than another. I know about Vue boilerplate and I have already searched the forum, but I have still doubts if it worths using something new over Jquery or if it is a waste of time in my case 🙂 Thank you for any suggestions. Have a nice day!
  8. @kongondo First. Thank you for this great module! I'm writing this in the hope it can help someone. I'm using the latest PW version. Using the module I received this error when switching to a different language from the default one. No menu items found! To solve the issue I went in the admin and find the Menu Builder page (under Admin>Setup) then I edited both the "Menu Builder" page and "mainmenu" page (this a menu that I built in Menu Builder) and set the other language to active. It seems the module doesn't set as active new pages in languages different from default. My PW installation by default set it to false. Hope this helps. Ciao
  9. Thank you Zeka, unluckily I don't have any repeater fields with the same name 😞 You were right, I was looking for exact same name.... that seems to be the issue. Thank you!
  10. Hi guys, I have a problem with some templates. I don't know why but I have some templates (created by me) that are in the system templates. I wanna remove them, but I'm not able to do this. I have tried something like this $t = $templates->get("mytemplate"); $t->flags = Template::flagSystemOverride; $t->flags = 0; $templates->delete($t); $fieldgroups->delete($t->fieldgroup); It works and doesn't give any errors, but whenever I go into the admin backend template page it appears again (it seems to be regenerated). Anyone knows how can I fix it? Thank you
  11. Hello! I'm not able to create a role to give users the ability just to view users (not edit them). Do anyone knows how to do it? Thank you
  12. Hi! I am using intercooler with processwire and I'm really happy from this combination. I am not using the PW intercooler module by pwFoo because generally I find Intercooler very simple. Although I have a problem when I try to replicate this example http://intercoolerjs.org/examples/deleterow.html Basically when I delete a row I wanna pass back the http response using something like $d = $pages->get($id); $pages->delete($d); header('X-IC-Remove : 1s',true); but I receive a page not found error that I cannot understand. If I remove the header line everything is fine (but I cannot pass the 1s information back). Hope that someone that has already jumped in has an idea how to solve this. Maybe PW is blocking something? Thank you very much
  13. Thank you Adrian! You were really helpful. Have a nice day
  14. Thank you all for your incredible support and for confirming that save in dB or in session variables is the good way to follow. If I choose the "save to pages" route, I am not sure how to plan the creation of the page. Should I create the page in the first step of the quiz and than pass the id page post variable to the following steps? In this way every time a guest refresh the first step of the quiz in the browser a new page would be created. Can this generate too many unuseful content and hit on server performance? Thank you again and sorry for the dump questions.
  15. Hi to everybody. I'm building a short online quiz (10 questions - and for every question the page reload) and at the end of the quiz I need to present a summary of all correct and incorrect answers. Everyone can fill the quiz (the user doesn't need to be logged in and so any guest can access the quiz) and I would like to know if there is an easy way to store all the data so I'm able to read them at the end of the quiz. I tried to pass all post variables but I find it complicated because I need to pass everytime a lot of data, How could I store the data as PW pages and delete unnecessary data as soon as the process is finished? Is this a good idea? Thank you
  • Create New...