Jump to content

virtualgadjo

Members
  • Posts

    156
  • Joined

  • Last visited

  • Days Won

    1

virtualgadjo last won the day on January 17 2021

virtualgadjo had the most liked content!

Recent Profile Visitors

1,367 profile views

virtualgadjo's Achievements

Sr. Member

Sr. Member (5/6)

82

Reputation

  1. hi @adrian and thanks a lot for your answer, i'll try tu use AdminActionh for this too, didn't think of this although i often use AdminActions for many other purposes πŸ™‚ i've solved my current problem using batch child for the fields i need in the default language adding the page id to the field list and using Ryan recent ProcessLanguageFieldExportImpor to export the multi language ones then i just had to agregate both csv based on the page ids you're right, my first thought was to write my own code but pw does so many things "by itself it must have made me a little lazy πŸ˜€ have a nice day
  2. Hi, fantastic module that saved me a lot of time... thanks a lot jusrt wondering, i know, a bit paradoxcical πŸ˜„ if it is possible to include some monolingual fields to the export, for example, speakers whose first and last name of course are monolingual but functions are in several languages or, is the best solution changing the monolingual fields into multi ones, taking advantage of pw ability to fiil other languages with the default one is empty thanks a lot anyway, love it πŸ™‚ have a nice day
  3. Hi, sorry if the question ha&s already been asked... couldn't find out is it possible to export multi language fields at once, i.e a web site in fr and en, can i export both values for each field when they are multilingual thanks for any tip πŸ™‚ have a nice day
  4. Hi, if your urls will look like yourdomain/company1 yourdomain/company2 you can simply reproduce your sketch with pw page structure but if each company must have its own domain name i think the multisite solution, even if a little "too much" πŸ™‚ will be the best solution to avoid those 301 you're speaking about (savage and headaches to come πŸ™‚ ) and for a better SEO have a nice day
  5. @Robin S wow, same result as my template selection thing but this makes me understand how pw does it, thanks a lot πŸ™‚ @rooofl of course, Robin S example also works with a select made with a page reference field have a nice day
  6. Hi @Gideon So i can see this working with a foreach on the front side but as the question was to populate the field in the admin interface i deadly have to try this, pw would be even simple than i thought πŸ˜„ have a nice day
  7. hi again πŸ™‚ actually i'm referring to the field you use in the repeater, whether or not it's the one you use as the item title in the page as it is natively the one pw will use in a page reference field coming to this page reference it's just the type of field easy to populate with a list of "pages" of your choice, here the repeater elements, thanks to the fact pw create a template for the the repeater elements and a page for each element (bot the most poetic sentence... guilty as charged πŸ˜„ and, in this field parameters (input tab) you just have to choose your repeater template pw has created on the fly here, just for the example, my repeater was named... my_repeater πŸ™‚ have a nice day
  8. Hi, there is an easier way to do this πŸ™‚ to make it eve easier i use the title* field in the repeater elements as pw uses it to make the list then, for your page reference field just choose repeater_yourrepeatername in the template choice, done πŸ™‚ have a nice day
  9. or not, affirmative πŸ™‚ actually, using markup regions, you have multiple choices to echo contents but markup regions or not, just remember that when you do things within the php tags before echoing any output, this happens even before the html tag (the _main.php file is included to the end of your template) usually, with markup region, this top php block is used to find pages, prepare some foreach and so on but don't worry, what happens inside the html tags below is only executed once, be it inside the main container you have in all your templates or in those "optional" blocks you can define with the pw attributes πŸ™‚ have a nice day
  10. Hi, even without seing the whole code, the first thing that comes in mind is you echo is not inside any html tag the php block with the namespace is not really made for receiving any output except for testing reasons, have you tried erasing the echo here and putting it inside an html part below (inside your .card for example)? have a nice day
  11. Hi, life without processwire would be so sad, so, here comes the translation (into french, no kidding... 🀣) for the last master release https://github.com/virtualgadjo/pw30210-lang-fr @vincent sorry to be still so dumb with github... of course, as it will always be, you are very welcome if you'd like to use those files to update you repo (if i haven't missed anything, there is no empty line when checking the full list of files in pw admin, if ever i found one i would of course update the zip) have a nice day
  12. hi, actually, you can @import your fonts in the css you use for CKeditor, use one for the body, another for the h/titles and wichever you need for specific contents using classes you set in your css and define in the style select with the custom js else, you could of course add ckeditor "font" addon but honestly it is rarely a good idea to let non designer users transform the content into a fonts and font-sizes festival (same thing for the colors...) πŸ˜„ https://ckeditor.com/cke4/addon/font Have a nice day
  13. Hi, two more litte cents πŸ™‚ if this hosts var is not well filled you may also run into another little problem as pw automatically build the preview links in the admin based on this var have a nice day
  14. Hi @marie.mdna if i'm not wrong this depends on your config file $config->httpHosts var, if the first host in the array contains the www, the sitemap will use it too (at least, that's what happens for all the websites, a lot..., for which i've this module installed πŸ™‚ have a nice day
  15. hi @elabx you're completely right, and following you on the elaboration path, my savage little script is just the php way of doing what @mel47 was trying to write with any kind of array and number of columns but, honestly, nowaday, if i had to do this, as much as i love php i would probably simply iterate the array in the template inside one div/container and use css to generate the columns... πŸ˜„ have a nice day
Γ—
Γ—
  • Create New...