Jump to content

Soma

Moderators
  • Posts

    6,808
  • Joined

  • Last visited

  • Days Won

    159

Everything posted by Soma

  1. Soma

    My new Portfolio

    Nice site thanks for sharing. Really cool photos. But what is very annoying on mobile is you can't zoom them. Or didi I miss something? What did you use now for the image scaling? Does the min size plugin work with ImageManager?
  2. Hello? Are you still here?
  3. You Should remove install.php and site/install directory. PW will even remind you of it every time you login
  4. Ohh I just got an idea for a module. What if you have a gallery type page you upload the images as usual to an images field. Then when saving the page there would be children created for each image and the ones removed from the gallery page. This would be very simple few lines of code. Sorry to hijack your thread. Nothing against the method to have one images field you store a gallery. If theres no metadata needed with no multilang and so on it is a pretty good and simple way to a simple gallery. I use it myself too.
  5. I think the point "without additional" coding or a module is a bit strange seeing all the code you needed to make this gallery... In that time you can code an simple upload module twice
  6. If the action of the form is without trailing slash and PW redirects to the url with a trailing slash, you'll get no GET. This is a feature
  7. Actually $modules->get("MarkupBox") will install the module if it's not
  8. Thanks for writing a new tuto. If you want to have image pages without creating every page manually one by one, you can also use ImagesManager which has upload tool to directly create the pages. So the argument doesnt count ;-)
  9. It's working now, I had to set the rewrite base (uncomment) Rewritebase / But as I said already in the PM, the permission on those accounts for apache and ftp user seem to create problem with not allowing to delete files over ftp created by php. Common problem with shared hostings. I deleted the files on server then with a php script, and installed a fresh install 2.3 stable. It seems all working with image upload. There's seems to be some limitations with that hosting in terms of memory and so on and the sftp is slow as hell. A little more infos seem to be found here: https://sourceforge.net/apps/trac/sourceforge/wiki/Project%20web%20and%20developer%20web%20platform
  10. Yeah sure. I dont know the SF hosting but maybe I find something or know how to do it.
  11. /** * Admin template just loads the admin application controller, * and admin is just an application built on top of ProcessWire. * * This demonstrates how you can use ProcessWire as a front-end to another application. * * Leave this file as-is, do not remove. * */ require($config->paths->adminTemplates . 'controller.php'); This is in site/templates/admin.php Do not remove, doesn't mean you can add code there. It's a easy way to add admin only auto hooks without creating a autoload module.
  12. No need to use blank profile, the default profile hasn't anything that much you couldn't use and it's a perfect start. A 500 server error could be anything from .htaccess to I don't know
  13. There's no html in the blank profile obviously https://github.com/somatonic/ProcesswireBlankInstall/tree/master/templates
  14. Yes right, of course the Pageimages is a WireArray, and it looks like you can import Pageimage (but I'd rather say add()), and considering we're dealing with Pageimage here already taken from pages it would work as the page context is already present. But I still think you need also a page you associate the Pageimages() as with Pagefiles() requires a Page in the construct, so maybe adding a empty page would work on the fly. But yeah ImagesManager is better.
  15. If you take it now. You'll get two stock free images and a T-Shirt for free!
  16. Edit. Pageimages also doesnt support pagination.. only pagearrays.
  17. It could work but Pageimages requires a page context. Also with this technic you load all images on every request just to display a couple which doesnt scale so nice. Using ImagesManager would solve those issues and give more flexibility. /advertising
  18. Im not sure you can import images to pagearray just saying.
  19. You could use my ImagesManager module which is made for use cases like a photo portfolio. Every image is created as a page and each gallery would be a category. It would be a childs play to setup pagination and searching. Plus you can have as much meta data added as you like and all is searchable same as with using pages.
  20. Soma

    Hanna Code

    Not sure what you mean with highlighting. In TinyMCE code? There's already CodeMirror included just not installed for TinyMCE by default so you have to enable it. https://github.com/ryancramerdesign/ProcessWire/tree/master/wire/modules/Inputfield/InputfieldTinyMCE/tinymce-3.5.8/plugins/codemagic
  21. Did you use Profile Exporter? Because I thought it was once it won't export or create session folder. Also it doesn't export users. So to transfer a site I always use simple DB->DB dumb and files over FTP and done, and I recommend not use Profile exporter. Profile exporter is more for creating profiles to install with a new install, originally built explicit for upgrade from 2.1 to 2.2.
  22. Lol kongondo, of course it works! Don't worry it happend a lot for myself. Since then I just try to double check and test throughout first before posting and you'll get better at time goes on.
  23. The modules directory on modules.processwire.com also has a PW compatible version info added. Since this is an official directory, I urge every modules developer to update their modules with that info (and first test your module in 2.2 2.3 etc.) Since there's a new option added for each PW version, this has to be done by the module developer. There's people browsing this directory and don't know that this info is not up to date for most modules and think it's not compatible with 2.3! Thanks for your time! Soma
  24. Soma

    Hit 1000+ likes

    I've hit the 2000 mark! Thanks guys!
  25. Ok, weird. Since this was an older 2.3 install, I had to change my password. It looks like after that update, the session modules weren't listed anymore... hmm I then did a "Check for new Modules", and it logged me out. After loggin in again it was all there suddenly. It seems it was the modules cache, since "Check for new Modules" clears cache. Pitty.
×
×
  • Create New...