Jump to content

WireCodex

Members
  • Posts

    408
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by WireCodex

  1. my path will change from: domain.com/support/codes/wall-mount-mini-split domain.com/support/codes/light-commercial-split to domain.com/support/codes/1087 domain.com/support/codes/1101
  2. abdus: I think your solution don't resolve my problem, I'm still have the match between both urls (segment and existing page), this option only allow me to auto generate the children names, this is not my case. bernhard: this is a correct solution, in the first instance I not use it because the SEO.. maybe I need to use it.. :-( Another solution should be put the "child pages" under another parent (empty template) only for hold it and to avoid conflicts Thanks guys for your time!
  3. I found why :-( https://processwire.com/docs/tutorials/how-to-use-url-segments/page2 "You can use URL segments on any page where your template settings allow, regardless of whether it has children or not. Should there be a child page that has the same name as a URL segment that the parent page's template is looking for, the pages in the tree always have precedence. Meaning, URL segments only apply if the requested URL did not resolve to an actual page. As a result, you should avoid using URL segments where you think the page names and URL segments could collide"
  4. I have a parent page (with template file) with several child pages (without template file) that are hidden and unpublished, I use them only to store information. The parent page have the url segments enabled. When I catch the segment in the template file, works as expected for any word, but if the url segment match the property "name" of any child page, PW launch a 404 Page Not Found.. I try all combination of "hidden" and "Publish" for the child pages. The idea is to render the data from the parent page plus the data of a child page, and get this data using an url segment (links generated dynamically) with the same name that this hidden page have.. I don't like having a template file for these child pages that only execute the render of the parent page with the information .. I want the previous solution if it possible I was able to explain well? ...What happen here?
  5. Yes, I know, but what I need is to insert the images into CKEditor, it looks like I'm finally going to have to do a hanna code for that. Thanks anyway
  6. why webp still is a invalid file extension?? No make sense for me if I only need to use the url to the file in my pages, I'm not processing the image data.. only print the path
  7. It works, but applies the classes to all inputfields, including the form and buttons. Is there any way to ask the type of input (Ex. InputfieldText) before applying the classes? I check the API Reference for inputfield but nothing..
  8. Good job! Maybe you could use bold in the links of the footer, because is not very readable. I like this style!
  9. I like the second solution, I will implement it later. Thank you!
  10. Since I haven't received answers, I add the code directly in the module (I know is bad but I need to finish) Line 264: $inputfield->attr('class','form-control'); It would be great if this option was in the configuration as well as the current option for the Send button
  11. Is there any way to assign a css class directly to the input element? I'm trying to build the form with the bootstrap classes
  12. This look good!!! --> https://github.com/APIs-guru/graphql-voyager
  13. I think it would be great to start the marketplace precisely by doing it with Processwire as a module, then that module is also on offer as a platform demonstration. Maybe?
  14. WireCodex

    jQuery help

    This should be the simple way, and you can modify anything else inside your card while Show class is on Codepen
  15. http://fontawesome.io/icons/ have this using the Argolia search engine.. maybe we can have something similar using this https://jets.js.org/ .. is very easy to use with html/data tags and really fast
  16. Works!.. Where you learn this??
  17. A super easy way and not complicated to be extended by the client (even for only one product) is using something like this https://modules.processwire.com/modules/textbox-list/ with an implementation like this https://help.shopify.com/manual/using-themes/themes-by-shopify/supply#product-tips-tips-specific later use the API to filter the pages, this works easy with localization too
  18. and maybe: https://github.com/meltingice/CamanJS or https://github.com/girliemac/filterous-2 too
  19. Wow! Just for curiosity, how many hours/years did take you to be in that moment? ..To calculate if I can finish my own "engine" before retiring jjj because I'm right now in the middle of my first "advance" stuff for social media tasks .. Congratulations
  20. It might be interesting to have a module with general functions for the many common problems that we find here every day. Something similar to what Ryan did with the uikit file. I know that just could be a simple file for include like _func.php, but I like much more the module format because it's more easy to include it directly from the repository, easy locate the last version (updated, enhanced and fixed) As a plus maybe you can configure which features to include before you download it..
  21. Thanks Robin! Works!.. for the moment I modified the source code of my installed module :-(
  22. try this: https://modules.processwire.com/modules/fieldtype-yaml/ or this: https://modules.processwire.com/modules/textformatter-multi-value/
  23. Just installed in PW 3.0.61 .. when add new field type YAML and save I get the following error: Session: Warning (showIf): dependency field 'contentType' is not present in this form. (ProcessFieldEdit) ??
  24. I already use a configuration similar to you, where the modern favicon, social tags, json schemas, prefetch, etc. is under each own partial, and in _main.php I include the partials common for all pages, and the templates files put the rest, but instead of region() function I use the new <region> tags because allow me to use all the autocomplete features of my IDE. ..inside the partials sometimes I need to do adjustments before echo and the related queries are made there. A question: partial() is a function from your arsenal to include files eh? My question to @LostKobrakai is because in some post before, he talk about using a call to a function to render the same partials in the head, something similar to the renderNav() function from the PW starter profiles..
×
×
  • Create New...