Jump to content

NorbertH

Members
  • Content Count

    196
  • Joined

  • Last visited

Community Reputation

61 Excellent

About NorbertH

  • Rank
    Sr. Member

Profile Information

  • Gender
    Male
  • Location
    Germany

Recent Profile Visitors

3,140 profile views
  1. As our software department is heavily overworked we need to outsource some tasks. We are looking for someone who sets up a shop whith Processwire and extends it step by step. Features needed right at the beginning: - Age verification on registration using german "Schufa" and identification via "Personalausweis" as fallback. - Registration form that is limited to certain countries. - Multiple attributes for products. - Multiple customer groups whith different prices. - Products are updated via uploaded CSV file that needs to be read into the system by cronjob. - Template is bought from Template Moster or similar source and needs to be connected to the Processwire system. - Export orders to Collmex (https://www.collmex.de/) Module for export can be done inhouse, as we have an example action for Pagelister Pro already available. - Simple blog or news page - Some static pages for imprint, privacy policy, and several other pages needed by german laws. As the specifications may change to some extend, we aim for support on an hourly basis. All Modules and reusable elements that are created may be posted in the Processwire module directory. For further questions just ask or PM me.
  2. Actually i mostly use Linux too. Just using a Xubuntu as it is lacking most the cool and modern desktop effects i not really like. Libre Office as it often is more "compatible" for opening office documents than Microsoft office itself. In addition it has far better support for CSV data files. Gimp for grafiks, Imagemagick for scripted image processing./creation. In addition Scribus and Inkscape for other tasks Vim, Mousepad, Atom, Jedit, PHP-Storm as editor/development environment. Firefox / Thunderbird for web and communication. On the server side i almost never used anything else than Linux/BSD. Apache, NGINX, MariaDB, MySQL, PostgreSQL, PHP, Perl, Python, Bash .... What else do i need ? 😀
  3. Using this field in conjunction with a lister , i can select its subfields like width or height for the lister, but there is no content shown. The button field i although used seems to have this functionality , its subfields appear in the lister. But to be true i cant figure out whats wrong.
  4. Yep was talking about that. What hapens when i emty it completely ?
  5. Where did you get the original file , cannot find it in the theme folder in the PW download? Using the default file it should just look like the default UiKit theme, right ?
  6. I tried to use this tool https://getuikit.com/v2/docs/customizer.html To modify the look of my BE template. Just made some changes , downloaded the .less file and added its content to the theme.less file. This works good al long as i don't try to change some main colors. As far as i understand it you have made a copy of the default admin uikit theme , and then added a few extra variables (eg. to combine the color of the menubar and the main buttons into one var @tm-primary-color) Is it possible to just use a file whithout those modifications an completely rely on the UIKit Customizer ? Thanks in Advance!
  7. Hmmm , ok and concerning to Fields Array.php Line 16 So if we expect a fully complete $fields array all of those fields need to be initialized right at the beginning too ? The query itself shouldn't be so much time consuming? Do i see this correct having too many unused ,modules / templates does a simmilar slowdown ?
  8. Just, asking myself, why PW needs to load all fields and Templates at Startup. Schould be possible to store installed fileds/tamplates in a DB and load this at startup , of possibly use some kind of autoloader? Is there some documentation about the Bootstrap process? Possibly someone could point out where to find the relevant parts in the initialisation?
  9. As we are building some webapplications with the PW backend , having those really big spacings between all field elements in forms and everywhere is not too practical. UI Kit already has less spacings between all elements than Bootstrap for example , but i am looking fore a more condensed BE Theme. Maybe someone already made something like that?
  10. Almost 100 % sure fetching all vars from a form, and put them into the page. Creating an empty page , so i can add Profields Table (You cannot add this to a not saved page), set some other values like customer and delivery address , set the table with products and then save it again. // Create page $b = new Page(); $b->template="bestellung"; $bId= $b->save(); // Set basic stats $b->bestellung_user_select=$derCustomer; $b->bestellung_liefer_addresse_select=$pages->get((int)$input->post->liefer_select); if ($input->post->liefer_select=="3826" OR $input->post->liefer_select=="3827") $b->bestellung_status_select=$pages->get(3829); // status Barverkauf else $b->bestellung_status_select=$pages->get(1047); // status bestellt $b->bemerkung_area=$bemerkung_area; // Add articles (bestellung_artikel_table) //$b->of(false); // turn off output formatting foreach($myProducts as $prod) { if (!empty($input->post->artikel[$prod->id]) AND 0< (int)$input->post->artikel[$prod->id]){ $art= $b->bestellung_artikel_table->makeBlankItem(); $art->artikel=$prod; $art->stueck=$input->post->artikel[$prod->id]; $b->bestellung_artikel_table->add($art); $b->save('bestellung_artikel_table'); } } // save it all $b->save(); // Show order successfull $okBestellt=true; // Finally delete the post array , so the form is ready to go again $_POST=array(); // Global Post array $input->post=null; // Processwire post $aStueck=array(); $bemerkung_area=""; } // END of order Very simple indeed. But it does its job. (Orderpage is just a simple frontend page) Edit: Btw. have no changing field defined so it should not look after changes ? In the BE it kicks in without any changes. As a test workaround i simply made a CLI script that simply loads all pages that are not send , and then saves them again. the Hook then kicks in and sends the pages as he should. $result=$pages->find('template=46, deny_export=0, bestellung_stueckzahl!="", bestellung_user_select.count!=0, bestellung_liefer_addresse_select.count!=0, bestellung_id_collmex="", limit=2'); foreach ($result AS $p) { echo $p->name."\n"; $p->save(); }
  11. When saving a page with the "order" template in the backend IftRunner is nice to me and sends the order via page action into my accounting software. When saving "order" in a frontend page it does nothing. So i certainly missing something . Any ideas?
  12. Hey , just found that the Tracy Panel selector shows rendering time and memory consumtion of all the panels. Maybe you like to see how this impacts on a slow system on my bigger server this is almost irrelevant. Results for pagetree: I activated all for an overview . But you where right the Request Info was consuming most of my time , as it was active by default.
  13. FieldsetPage is a good idea have to experiment with it. As fas as i understand you can use the default saveReady hook for doing stuff with it . Any ideas if you have multiple shipping adresses? Possibly a pagetable would do the job... Whish we could put customized listers in those page tabs.
  14. So i guess i even have to reuse fieldset fields ?
×
×
  • Create New...