Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by franciccio-ITALIANO

  1. The site is www.permaculturaorganica.info When you click on it, you see a green background. After a few seconds, however, it becomes dark. And it stays dark. The background is controlled by this js files: <!-- VEGAS SLIDESHOW SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/plugins/vegas/jquery.vegas.min.js"></script> <!-- CUSTOM SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/js/custom-root.js"></script> The html files work perfectly, and if I click the background changes, it doesn't get dark but they change and repeat a series of images in sequence. Instead loaded the corresponding .php file on processwire, cloned from the html file, you see only one image, which however I think is the one controlled by another simpler css code. In short, the original js file is not read. But it is read locally on the html file. I also tested it with other templates. Always the same problem: the animated background doesn't work (but it works perfectly locally) and some classes contained on style.css are completely ignored! Google inspection doesn't report errors, it just doesn't show the classes it doesn't read. Unfortunately, I don't know anything about the Unix system and its permission levels... Translated with www.DeepL.com/Translator (free version)
  2. Hi, today I uploaded some .php template files in the "templates" folder. However, Processwire doesn't read them well. It's as if it forgot some classes, or didn't read links to css and js files. But the html file of the template with all the links and classes works great! I don't understand by which principle it sometimes reads some parts of html code, other times it ignores it. For example: In html file I write: IN HEAD <link rel="icon" href="favicon-extra.png" type="image/png"> <!--REQUIRED STYLE SHEETS--> <!-- BOOTSTRAP CORE STYLE CSS --> <link href="styles/assets/css/bootstrap.css" rel="stylesheet" /> <!-- FONTAWESOME STYLE CSS --> <link href="styles/assets/css/font-awesome.min.css" rel="stylesheet" /> <!--ANIMATED FONTAWESOME STYLE CSS --> <link href="styles/assets/css/font-awesome-animation.css" rel="stylesheet" /> <!-- VEGAS STYLE CSS --> <link href="styles/assets/css/jquery.vegas.min.css" rel="stylesheet" /> <!-- SIDE MENU STYLE CSS --> <link href="styles/assets/css/component.css" rel="stylesheet" /> <!-- CUSTOM STYLE CSS --> <link href="styles/assets/css/style.css" rel="stylesheet" /> <link href="styles/assets/css/pw-img.css" rel="stylesheet" /> <!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME --> <!-- CORE JQUERY --> <script src="styles/assets/plugins/jquery-1.10.2.js"></script> <!-- BOOTSTRAP CORE SCRIPT --> <script src="styles/assets/plugins/bootstrap.js"></script> <!-- SIDE MENU SCRIPTS --> <script src="styles/assets/js/modernizr.custom.js"></script> <script src="styles/assets/js/classie.js"></script> <!-- VEGAS SLIDESHOW SCRIPTS --> <script src="styles/assets/plugins/vegas/jquery.vegas.min.js"></script> <!-- CUSTOM SCRIPTS --> <script src="styles/assets/js/custom-root.js"></script> <!-- BA --> <script src="styles/assets/plugins/BA.js"></script> <!-- WOW ANIMATED RITARDO --> <script src='styles/assets/js/wow.js'></script> <script src='styles/assets/js/wow-markup.js'></script> IT WORK VERY WELL. Then I copied the same code on a .php file, I uploaded it on "templates", set as template on processwire, but it DOES NOT READ A JS FILE THAT CONTROLS THE BACKGROUND. I wrote this: IN HEAD <link rel="icon" href="<?php echo $config->urls->templates?>favicon-extra.png" type="image/png"> <!--REQUIRED STYLE SHEETS--> <!-- BOOTSTRAP CORE STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/bootstrap.css" rel="stylesheet" /> <!-- FONTAWESOME STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/font-awesome.min.css" rel="stylesheet" /> <!--ANIMATED FONTAWESOME STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/font-awesome-animation.css" rel="stylesheet" /> <!-- VEGAS STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/jquery.vegas.min.css" rel="stylesheet" /> <!-- SIDE MENU STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/component.css" rel="stylesheet" /> <!-- CUSTOM STYLE CSS --> <link href="<?php echo $config->urls->templates?>styles/assets/css/style.css" rel="stylesheet" /> <link href="<?php echo $config->urls->templates?>styles/assets/css/pw-img.css" rel="stylesheet" /> <!-- JAVASCRIPT FILES PLACED AT THE BOTTOM TO REDUCE THE LOADING TIME --> <!-- CORE JQUERY --> <script src="<?php echo $config->urls->templates?>styles/assets/plugins/jquery-1.10.2.js"></script> <!-- BOOTSTRAP CORE SCRIPT --> <script src="<?php echo $config->urls->templates?>styles/assets/plugins/bootstrap.js"></script> <!-- SIDE MENU SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/js/modernizr.custom.js"></script> <script src="<?php echo $config->urls->templates?>styles/assets/js/classie.js"></script> <!-- VEGAS SLIDESHOW SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/plugins/vegas/jquery.vegas.min.js"></script> <!-- CUSTOM SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/js/custom-root.js"></script> <!-- BA --> <script src="<?php echo $config->urls->templates?>styles/assets/plugins/BA.js"></script> <!-- WOW ANIMATED RITARDO --> <script src='<?php echo $config->urls->templates?>styles/assets/js/wow.js'></script> <script src='<?php echo $config->urls->templates?>styles/assets/js/wow-markup.js'></script> I think the problem is the processwire bee: <"php echo $config->urls->templates>? Is there a way to avoid and replace it with simple html code? The file that processwire doesn't read is: <!-- CUSTOM SCRIPTS --> <script src="<?php echo $config->urls->templates?>styles/assets/js/custom-root.js"></script> On top of that, the style.css file contains classes. The html file reads everything, but if you linko the same file with <"php echo $config->urls->templates>, the style.css file seems to be defective, i.e. some classes read them, others ignore them. I don't understand. I write my pages in pure html-css first, and they work. When I transfer them to processwire, processwire chooses what to make work and what not... I can't change the code to processwire! Translated with www.DeepL.com/Translator (free version)
  3. Hi, I need to provide a quite complex user registration form: description, subdescription, drop-down lists etc. Through this registration, users will be able to access and comment. If someone responds to their comments, I would like a NOTIFICATION to appear when accessing their panel. My social interaction project is just that, it seems simple, I don't need more. Now I am undecided whether to use buddypress, elgg, or a native processwire system. What do you recommend? If you recommend processwire, which modules should I install? Do they work or is processwire too immature for that? Translated with www.DeepL.com/Translator (free version)
  4. Ok thank you very much, I installed laragon and it's work very well! :D
  5. Ok... I can install processwire on laragon clicking http://processwire-master.test/ on my browser. It's work. http://localhost/processwire-master/ work well too. http: //processwire-master.localhost don't work. But born another problem: HOW CAN I CREATE A DATABASE? I create a database on laragon, with new password new name new host, but processwire on laragon send me this message: Now, is there a way to create a working database with laragon for processwire?
  6. Hi, I'm not sure how to install Processwire on Laragon. In which folder should I move exactly the decompressed folder of processwire? I put it on C://laragon/www/processwire-master and then I clicked on C://laragon/www/processwire-master/install.php but the installation does not start. Only, Clicking on it only shows me the list of contents of the file install.php. Can someone please help me?
  7. ok ma come faccio ad assegnare ad una pagina una categoria? Quante categorie posso creare? Ma soprattutto... come le creo? Le mie classi simili nel file style.css si chiamano "note-pdp-adx1", "note-pdp-adx2", "note-pdp-adx3", "note-pdp-adx4" devo scriverla al posto di "some-class" o di "other-class"? <button class="<?= ($page->parent == 'politica') ? 'some-class' : 'other-class' ?>"></button> Inoltre, se nel file html avessi lo <a style="color: red;"> che vorrei cambiare in <a style="color: red;">, e non volessi caricare un nuovo file del template con solo questa minima differenza, che codice dovrei utilizzare in teoria? ................................... traducting... ................................... Okay, but how do I assign a page to a category? How many categories can I create? But above all... how do I create them? My similar classes in the style.css file are called "note-pdp-adx1", "note-pdp-adx2", "note-pdp-adx3", "note-pdp-adx4". should I write it instead of some-class or other-class? <button class="<?= ($page->parent == 'politica') ? 'some-class' : 'other-class' ?>"></button> Also, if in the html file I had the <a style="color: red;"> that I would like to change to <a style="color: red;">, and I didn't want to upload a new template file with only this slight difference, what code should I use in theory? Translated with www.DeepL.com/Translator
  8. Ciao 3fingers! Il file del template è lo stesso in tutte le parti, tranne che in una classe per un certo bottone, perchè il sito ha 2 temi di argomento, politica ed ecologia, quindi nei due casi vorrei cambiare solo il colore di questo bottone. Inoltre ho creato uno spazio pubblicità con sfondi diversi per variare in base al contenuto, appunto 5, quindi avrei 7 file del template tutti con una o 2 lievissime differenze. Questa classe css non è nel file-html, ma nel file style.css linkato nel file html. In teoria potrei mettere il css dentro il file html, ma si farebbe confusione estetica e funzionale, quindi mi chiedevo se processwire avesse una formula per afferrare quella classe dentro style.css, invece del nome semplice della semplice classe messa nel classico modo dentro l'html. Non so mi pare difficile, ma chiedere non nuoce, conoscendo l'onnipotenza di processwire... :D traducting... Hello 3fingers! The template file is the same in all parts, except in a class for a certain button, because the site has 2 themes of topic, politics and ecology, so in both cases I would like to change only the color of this button. This css class is not in the file-html, but in the style.css file linked in the html file. In theory I could put the css inside the html file, but it would make aesthetic and functional confusion, so I wondered if processwire had a formula to grab that class inside style.css, instead of the simple name of the simple class put in the classic way inside the html. I don't know it seems difficult, but asking doesn't hurt, knowing the omnipotence of processwire... Tradotto con www.DeepL.com/Translator
  9. Hi, I've created 5 substantially the same template files. They change for only one feature: 1 class of the same css file. With processwire I can associate to each page of the site a different template file, after uploading it online, okay, but I was wondering if the software exists a way already provided to choose the class/css-file of a template project. I hope I've explained myself. Did I make myself understood? Translated with www.DeepL.com/Translator
  10. The "Inputfiel Type" option don't exist if I use "Text" field but it exists on "textarea" field. Ok, thanks I will use Textarea Field...
  11. Hi, I've created a new field body for new template "Text" and/or "textarea" but when I go to write into it, there isn't any CK EDITOR. Why? I would like create 2 words with link... so, I must put it into a field text/textarea, no?
  12. Okay, thank you, everyone. Now let's try laragon. What Dragan says sounds very interesting to me. Is Filezilla an IDE? WinSCP is a better IDE that can do what you said, that is "automatically upload files to your server whenever a change is detected"?
  13. Thanks Jens Martcsjh, I'm following both of your suggestions ;)
  14. ok thanks, the instructions here don't work: work this on ready.php: $users->get($config->superUserPageID)->setAndSave('pass', 'mynewpassword');
  15. Between XAMP, WAMP and Laragon, laragon is presented as simpler. So I installed Laragon, to develop the site locally with processwire and transfer it online without manual rewriting of the paths. But now I have no idea how to install processwire on laragon. Could someone tell me about an online tutorial, if it exists? Or just the basic steps... Also, I've already installed and written something on my processwire online site, so on laragon I have to install a copy of the installation already in place, right? Can this be done? Is it more complicated? Translated with www.DeepL.com/Translator
  16. In which program file is it stored exactly? :/
  17. ok thanks a lot, in fact I should install wamp or something like that only at the moment I have a tired brain to engage in other things ... anyway as soon as I can ... thanks for the suggestion! ;)
  18. Hi, I created many different .html, .js and .css files on my pc. Within each, there are many links to images and files stored in the standard "assets" folder on my PC. So my template on my pc works thanks to links like: "assets / img / myimage.png", or: "assets / js / myfile.js. Now I have to upload them to the server online and inside processwire. I manually created many .php template files, copied and re-glued into the html text, but no image or css file is loaded, because I have to manually change all the paths: for example, NOT "assets / img / myimage.png" BUT "site / assets / templates / styles / assets / img / myimage.png". It is very stressful to do this every time, so I thought of creating an "assets" folder not inside the "templates / styles / assets / ...." folder but right at the beginning of the folder structure, near the root and next to it. to the processwire "site" folder. In this way I can develop the html / css / js files of my site into a simple folder on my pc, and load them into processwire via filezilla without manually changing all the paths each time. Does this hurt processwire operation? I wouldn't put anything in the templates / styles folder!
  19. hello, one of my templates is made up of 9 articles on the same page, so 9 pieces of text, so, in processwire, I should create a template with 9 "body" fields. This is complicated for me at the moment. I decided to create a template with a single empty body field, or without a body field. I will write html articles directly in the local file. I will eventually change them manually (which stress). However my question is: does google index the contents of the template, even if the processwire page has an empty body field? Another similar question: if I write the summery and the description directly in the html file and not in the headline / summery space of the processwire page, does google index the information contained in the html file, or those contained in the processwire page-template system?
  20. ok, but in google search page, under the title we read the headline field, or summery field of processwire?
  21. I need a program for see php file as it was html file... by browser
  22. For each update I must recreate the .php file on cpanel or by ftp filezilla... it is an enormus losting time
  • Create New...