Jump to content

Martijn Geerts

PW-Moderators
  • Posts

    2,769
  • Joined

  • Last visited

  • Days Won

    31

Everything posted by Martijn Geerts

  1. I had a carracho server in those days. ( making software & music & stuff available to up/download for registered members of the server ). So a free hostname came in handy for this
  2. $config->ajax is set: $config->ajax SiNNut === faster
  3. Welcome to ProcessWire enricob, Spoken language here is english, we prefer it . The active user base of ProcessWire is still small compared to the big 3, but ProcessWire is growing. The average user without web knowledge & no interest of webdevelopment are hard to find here. Thats a good thing IMO. So it has noting todo with coming to late. Others will answer your question.
  4. @mr-fan look at this template I had a use case to identify a page as an image with GD modifications. So basicly the page is an image
  5. Maybe I'm stubborn but I think a description field should be for the description. If you need more meta data attached to an image you could go for: FieldtypeImageExtra and change it to your needs. Or use a repeater for this. Repeater with Image and URL field. Or make for every image a page. Make a page select and select the page with the image. if you're less conservative, take a look at the link provided by Adrian.
  6. I don't think this is possible (by default). But why would you need this? If you could explain why you want it, maybe we can help you to do this in an other way.
  7. A time ago I responded to a similar question with a variant from this code. Teppo perfected the answer. So credits go to Teppo.
  8. If I would start I would start with pure Javascript or with PHP. Then if the basics are there, you could expand. When first riding a bike training wheels are necessary, put them off when you're ready.
  9. Why did Ruby needed the Rails framework to become very popular? Why do Google developers love PHP. Does NodeJS stays popular in the future, say 4 or 5 years? Why is facebook coded in PHP? What's wrong with PHP?
  10. I don't fully understand why you want to have static class names attached. The lightbox is javascript, so you could solve it with jQuery for example. $('a[href*="/assets/files/"]:has(img)').addClass('lightbox-class');
  11. I was to compact with the explanation, tnx pete. Is NEHA your first member ?
  12. For 5. you could add PageField to the user template named `friends`. Say jan is a user, and william is added the the `friends` field you know jan has the rights.
  13. If you want to use max 3 backgrounds, maybe better to use pseudo elelemts :before & after... Those have support for IE8 and up. (but don't do fancy stuff with z-index, as IE8 won't respect those)
  14. Yes, you could set the preferred class names here: /processwire/module/edit?name=ProcessPageEditImageSelect
  15. mr-fan, you forgot the .align_center .align_center { margin: 0 auto; display: block; }
  16. Had to search the web as I didn't recognise the clone command. Basically i'm lost here. So far I understand clone will throw a fatal error with PHP 5.2.5, but below it would be an exception. What exeption I can't find. I've found a thread on wordpress.org/support/, there kcmatthews states to wrap the value after the clone command in parentheses: $config->paths = clone($config->urls); I did tried this locally, and printed gettype($config->paths) in a template. It says: object. So every thing looks fine with the parentheses. (Not sure here) I question that raises my mind: How old is your PHP?
  17. Sounds like a missing . or a missing ( or ; or something. Looks like something went wrong with FTP-ing the data or there was already an index.php with this parse error. You should try to upload the files again.
  18. Sorry to niggle here diogo, but how does the module behave if you use this one in combination with TextformatterVideoEmbed?
  19. Yep it does. If not installed, calling the MarkupCache like below will install it and function. $cache = $this->modules->get("MarkupCache"); // See the $this-> call if(!$data = $cache->get("something")) { $data = "test me"; $cache->save($data); } return $data; // contains "test me"
  20. For caching individual parts checkout MarkupCache. https://processwire.com/talk/topic/7-new-markupcache-module/
  21. Using ProcessDateArchiver with PW 2.4.8 (dev). No problems found. I use a year and a month template.
  22. Congrads to all german fellows over here!
  23. Didn't install this module, so maybe I tell something it's already in . Maybe add an option to make the trigger configurable. I prefer to use the <hr> tag for example. This way, people can click on a button to add the functionality.
×
×
  • Create New...