Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/28/2015 in all areas

  1. I missed the possibility to download a module from github if it doesn't exist in the ProcessWire module directory or if you need a specific branch. Added.
    4 points
  2. If you are really afraid that this might happen, rename it to something like "forthesakeofgoddontdeletethis" and create a symlink to it, named "site".
    4 points
  3. Have just submitted an update to the dev branch containing two new features: 404 Monitor: keep a log of '404 Not Found' hits (containing request URI, referrer, and user agent) so that you can later create jumplinks for them. You can clear the monitor at any time. This feature is turned off by default, and can be enabled in the module settings. Per @ceberlin's request, the date and time of the last hit on a jumplink is now recorded. The date can be seen by hovering over its hit counter, or by opening the jumplink editor. Furthermore, if a jumplink hasn't been hit in the last 30 days, that jumplink will be highlighted in the table, and a message saying that it is safe to delete will appear when editing it. Have tested on all systems available to me, and no issues have come up. That said, I'll bump to 1.3.0 tomorrow, after updating the documentation.
    3 points
  4. Hey Horst, The profile you need to pass is the zip file once you export the site. So it can install from old profiles. Hope that make sense.
    3 points
  5. For a rather small community (at least compared to the big cms players) it's best to keep things in english, so everyone can give input as well as benefit from answers given.
    3 points
  6. Is my 100th post I wanted to do something special. I edited a video, hope you like it Just for fun Edited: Now with subtitles
    1 point
  7. Jumplinks for ProcessWire Latest Release: 1.5.63 Composer: rockett/jumplinks ⚠️ NEW MAINTAINER NEEDED: Jumplinks is in need of a new maintainer, as I’m simply unable to commit to continued development. Jumplinks is an enhanced version of the original ProcessRedirects by Antti Peisa. The Process module manages your permanent and temporary redirects (we'll call these "jumplinks" from now on, unless in reference to redirects from another module), useful for when you're migrating over to ProcessWire from another system/platform. Each jumplink supports wildcards, shortening the time needed to create them. Unlike similar modules for other platforms, wildcards in Jumplinks are much easier to work with, as Regular Expressions are not fully exposed. Instead, parameters wrapped in curly braces are used - these are described in the documentation. As of version 1.5.0, Jumplinks requires at least ProcessWire 2.6.1 to run. Documentation View on GitLab Download via the Modules Directory Read the docs Features The most prominent features include: Basic jumplinks (from one fixed route to another) Parameter-based wildcards with "Smart" equivalents Mapping Collections (for converting ID-based routes to their named-equivalents without the need to create multiple jumplinks) Destination Selectors (for finding and redirecting to pages containing legacy location information) Timed Activation (activate and/or deactivate jumplinks at specific times) 404-Monitor (for creating jumplinks based on 404 hits) Additionally, the following features may come in handy: Stale jumplink management Legacy domain support for slow migrations An importer (from CSV or ProcessRedirects) Open Source Jumplinks is an open-source project, and is free to use. In fact, Jumplinks will always be open-source, and will always remain free to use. Forever. If you would like to support the development of Jumplinks, please consider making a small donation via PayPal.
    1 point
  8. Are there any decent open source choices, which are not half-dead like FluxBB or EsoTalk nor half-born like Flarum? What about SMF? Does not seem to have a mobile version, but scales down to tablet pretty well. Does anybody have any experience with that software? I've seen it being used for some quite large Joomla forums. Edit: Vanilla is Open Source too and seems to be alive and responsive. Missed your post, Craig.
    1 point
  9. $page->name $page->id and.....$page->title.....is international I think "title" should not renamed for good practise reasons...so may a hint on the BCE documentation should be enough "If you rename the title field....it don't work". But i'm not a pro so may more opinions are more helpfull. Regards mr-fan
    1 point
  10. Thanks for your replies! It turns out, my template didn't have a file associated with it. That was the cause. Live and learn!
    1 point
  11. 1 point
  12. Awesome pal, that's sorted it.
    1 point
  13. @guy - I have submitted a fix to the dev branch. Please let me know if it works for you now.
    1 point
  14. I will try these advices and let you know, thanks.
    1 point
  15. I soft-launched this site a few weeks ago and it's still being refined, however most of it is complete: http://brakhax2.com/ Brakha X2 is a production company headquarted in Los Angeles. They handle many large ad campaigns for well known brands. The bulk of the site consists of the image galleries (/advertising/, /editorials/, /silent-pictures/, etc.). The images in these galleries are not coming in via a typical images field since the images are really more like artwork pieces with it's own set of data. Therefore, I decided to create a template called "image" and a field in it called "image" (max upload of 1) in with some other fields (title, tags [not being used yet], body, etc.). These images then get assigned to each image_gallery in a Page field I created called image_items. By allowing each image / artwork piece to have it's own page, it allows for: a specific URL for each artwork piece page (example: brakhax2.com/images/name-of-the-piece/) fine control when people share images via social media (OG tags) the ability to re-use the entry in Page fields There's some fancy stuff going on in the frontend. I didn't use a CSS framework since it wouldn't have been a good match. I ended up using the following packages: Packery: this takes care of the masonry-style layout on the gallery pages ImagesLoaded: this allows the gallery images to show only after all the images have been loaded. it will show the loading graphic until everything is loaded Featherlight: this is a simple lightbox which is being used for the bios on the contact page Slick.js (aka Slick Carousel): this is being used for the video galleries (/spots/, /inside/) Fresco: a great commercial plugin that powers the lightboxes for the images and videos Responsive-nav: this takes care of the mobile menu logic Animsition: this takes care of page-to-page fade animations There's a few other little techniques/approaches being utilized on the site, but that covers all the major stuff. Eventually I will work in a Gulp workflow so that the CSS and JS is packaged and minified. Jonathan
    1 point
  16. Actually, it's pretty simple, this is how I have my server set up and it allows me to upgrade all sites in one go. Just point all your domains to the same ip and directory and place the index.config.php in the root (it's originally inside wire) and place a line like this 'mydomain.com' => 'site-mydomain' for each site. See the complete instructions in the file https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/index.config.php#L39
    1 point
  17. No german forum here - but all en native speakers are very friendly.....at last to me until now while i'm violate grammer every now and then....
    1 point
  18. Piwik also protects your visitor privacy with advanced privacy features When using Piwik for Web Analytics, you ensure that your visitors behavior on your website(s) is not shared with advertising companies
    1 point
  19. Thank you for the quick reply and the fix. I updated and can confirm that it is working now also for multi-language page names
    1 point
  20. @pideluxe - I think we are in agreement. I am not judging the entire PW system on the ability to create custom application functionality... all I did was explain where the limitations are when trying to do so (again, because the OP asked me to, not because I'm actively trying to give PW a bad name or anything). @Beluga - I unfortunately cannot do this because the data contains customer names and contact info. And I unfortunately don't have enough spare time to go through and anonymize the data or recreate it with dummy data (sorry, I agree it would be a good case study though).
    1 point
  21. link = https :// www.google.com/ search?q=site:processwire.com/talk+-%22Viewing+Profile%22+module+translation gives me back way too many results, but it gives me Not sure, - do you already know these: https://processwire.com/talk/topic/7298-google-custom-search-for-your-browserbookmarks/ https://processwire.com/talk/topic/6196-easy-search-on-pw-forums-with-google/
    1 point
  22. Sorry about that, I never tested in a multi-language environment. I just took a quick look and committed a fix that seems to be working fine here. Could you please try out the new version and let me know if it works for you.
    1 point
  23. Documention section http://processwire.com/docs/ , of course is a must. But PW on going changes and new features are announced on it's blog section http://processwire.com/blog/ . For example, new module configuration definition are introduced in 2.5.5, which simplify the declaration of module configuration. A new , Options fieldtype are introduced in 2.5.17, which i didn;t know it before. Anyway, the blog section is a valuable documentation too.
    1 point
  24. Thanks, but I prefer to keep the visual language simpler and the reference to PW subtle (its brand colors).
    1 point
  25. Good tip, thanks. Just added the blog RSS to my feedreader. Another source of information is the ProcessWire Weekly news (by teppo), to which you can subscribe and get by email. Lurking around the forums is also beneficial.
    1 point
  26. If it makes sense for each snippet to work on it's own, independent of the others, then having modules for each one could make sense. But if most of them are just few-liners I would most likely go with a single central module, where the single snippets can be enabled/disabled in the options.
    1 point
  27. Hi all, I have send a PR https://github.com/marcus-herrmann/wireshell/pull/1 . You can all play with the branch if you like. EDIT : With respect to feedback and comments : https://github.com/marcus-herrmann/wireshell/pull/2 .
    1 point
  28. Oh thanks for this! I've also noticed similar behavior in WYSIWYG editors (assuming based on, if not exactly CKEditor) such as the editor in Blogger. Glad I can update this and remove the warning for Safari users!
    1 point
  29. @WillyC is right; the problem is most likely that you're calling renderDirectorProfile() .. a) for user that doesn't exist or b) for user that exists but doesn't have any images available. Adding proper checks for $user->id and count($user->images) / $user->images->count() before trying to output content is strongly recommended: function renderDirectorProfile($person) { if ($person) { $director = wire('users')->get("name=$person"); } if ($person && $director->id) { $o = "\n<div class='member span4'>"; if (count($director->images)) { $directorsImage = $director->images->first(); $o .= "\n\t<img src='{$directorsImage->size(369, 369)->url}' alt='$director->fullname' />"; } $o .= "\n\t<h2>$director->fullname</h2>" . "\n\t<span='position'>$director->position</span>" . "\n\t$director->body" . "\n</div>"; } else { $o = "<p>Couldn't find director.</p>"; } return $o; }
    1 point
  30. Not sure what you mean with these .json and .zip files, but I'm guessing you're saying that they weren't there in some language pack you've downloaded? Not all language packs contain all files -- there may be more translatable phrases now than there were when the language pack was created etc. so you'll have to either translate these manually or post a heads-up about these to the maintainer of that particular language pack. Anyway, if you want to translate this file manually then just follow these steps: Log in, go to Setup > Languages and select target language At the bottom of "Language translation files" follow the "translate new file" link Type whole path (\wire\modules\Inputfield\InputfieldPage\InputfieldPage.module) in the "File to translate" input Translation page should open -- now you'll just have to translate phrases manually and save If I'm understanding something wrong here, please provide some extra information about what you're exactly trying to do.
    1 point
  31. It's not a good idea for 'autoload' to be the only condition necessary to add script or css/style files. That's because some (including me) use things like $config->scripts and $config->styles on the front-end of sites, and don't want it to be populated with files irrelevant to my site. Furthermore, we can't assume that we always know what ProcessWire is being used for (it might not have anything to do with HTML), so it's just taking up extra memory if some autoload module is populating filenames when they won't ever be used. This is why none of PW's modules that deal with script/style files are autoload, and also why Process and ModuleJS module interfaces are not autoload. Process modules are on-demand, but if you have a Process module that you've made autoload, then you'd want to manually load any script/style files in the relevant execute() method -- this ensures they won't get loaded unless they'll actually be used. The ModuleJS class is different, as it's really not intended to be autoload at all, so there's not really any use in combining ModuleJS with autoload. The whole idea of javascript or css is specific to a runtime and on-demand context. And this is how it's happening in the admin template, as it is what ultimately triggers the JqueryCore and JqueryUI libraries to be loaded. And this is the time that they get placed into the $config->scripts array. So we'd just have to find some way to hook after that takes place, but before the markup of the page is generated. I think this may work for an autoload module: public function ready() { if($this->page->template == 'admin') $this->addHookBefore('ProcessController::execute', $this, 'hookExecute'); } public function hookExecute(HookEvent $event) { $this->config->scripts->add(' your script file '); }
    1 point
×
×
  • Create New...