Jump to content

Andy

Members
  • Posts

    161
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Andy

  1. @thomasaull When you set up the site configuration. In file /site/config.php change the row to true and you will see backend debugging capabilities. /*** SITE CONFIG *************************************************************************/ /** * Enable debug mode? * * Debug mode causes additional info to appear for use during dev and debugging. * This is almost always recommended for sites in development. However, you should * always have this disabled for live/production sites. * * @var bool * */ $config->debug = true; Thanks for the answer on downloading the file in the Processwire. I don’t understand very well how API communication works. But your module perfectly illustrates this feature. I managed to transfer any information from the site through the API. But I can’t transfer a file through your module to site. When we submit a file from the form, we have identifiers <input type="file" name="uploadedFile[]" id="uploadedFile" multiple> And we can find it in global wire('input') or $_GET, $_POST. But in our case this is empty wire('input')->post->upload
  2. This module is very useful unconditionally. Could you add an example of uploading a file to the server in the README.md. I just can’t understand how this is implemented in your module.
  3. I absolutely agree with you. Do not touch the /wire/ directory if you are not a developer of this. However, the customer really wanted the differences between the front-end and back-end icons. This is really convenient when you can see in a browser in which mode you opened them. And adding the icon to the /wire/ was the fastest but the wrong way. Adding such functionality to the admin template will be very useful.
  4. When using RestAPI, I found the following error in the debug page. (RestApi 0.0.7 ProcessWire 3.0.148)
  5. Find in version 3.0.148. AdminThemeUikit has changed. in _head.php was <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="icon" href="/wire/Favicon.ico" type="image/x-icon" /> <title><?php echo $adminTheme->getBrowserTitle(); ?></title> now <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $adminTheme->getBrowserTitle(); ?></title> Now we can't use different favicon for the main site and for the editing mode. Prior to this case, it was convenient to distinguish between operating modes.
  6. I have AdminThemeBoss 0.6.3 I like this design. And find problem with announcement. They close main button. Another problem is the debug panel that now opens under the footer. Perhaps these are problems of my configuration.
  7. This is a very useful set of tools. But I have a problem and I am looking for which tool will help to solve it. Is there such a function as copying one field of a repeater to another field of a repeater on the same page? For example, the situation is as follows: -I have a repeater field for which I want to change the template without losing the values. -I make a new repeater field with a different name, but with the same fields and add it to the page template. -I need to copy all the values from the first field of the repeater to the second. It’s like the "Page Table to Repeater/Repeater Matrix" function or "Copy Repeater Items To Other Page" function. Sorry if I'm off topic.
  8. Try this. Closed admin pages has_parent!=2
×
×
  • Create New...