Jump to content

Search the Community

Showing results for tags 'modules'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. In this post we had a small discussion about making PW more userfriendly(for new, non developer users) https://processwire.com/talk/topic/7184-lets-highlight-processwires-ability-to-be-an-enterprise-cms/page-2 Personally i think the technical details belong to another thread, so i opened one. When you install PW you got basic pages and nothing else at least from the view of a newcomer that is not a developer. What does a newcomer expect from something that is propagated as being better than WP? Basic pages whith more than body and titl. At least they need title, browser title, meta description, publish date controll, a main image, image uploadfield for images in the MCE editor, short text, long text(Tiny MCE), tags, optinally a small gallery for additional images(whith lightbox), an easy option for comments. A basic Blog/News system as news and blog can easily be used interchangeably. Image cropping on default image fields. Premade RSS feed. Premade sitemap. Premade search. A basic form module An Image gallery with mass upload, description,title, title tag, alt tag, fancybox option. A Template system for easy template change and an option for modules to link in Module installers that are able to deinstall a module completely.(for example the blog module does not) Site settings and maybe Template settings Simply install and go. The interesting part is that almost everything from this list is already there in PW. A few words about PW in general. Im my opinion PW is not a CMS, at least not now. Its a CMF whith an extra comfortable backend , and it really schould be advertised as that right now. Many of the stuff that pepole expect from a CMS is not present (installable templates, modules, calenders...) it has to be build by yourself. Even if thats pretty easy to do, its not click install and go. So its a framework and not a CMS. Ok, let's look at the reality of most CMS. Either they got far to many modules or they do not have enough modules. Many modules are unmaintained or broken or lack some important functionality. Often installation of any module or updating the CMS breaks a lot of things. even paid modules often come whith lots of problems inside plus you literally have to test hundreds of modules before you find a combination that is functional, compatible and affordable. So from this point of view PW is even better than any CMS, as almost all stuff is build with plain core functionality, but still its a framework not easy to understand by a user. So what do we need to make it a CMS? The keyword is standarisation. An user does not want 100 ways to make a news page, he exactly wants 1 way to do that. Its great if you easily add some fields but basically he just wants a news page. Standarisation does not need to take away freedom, it only allows to make components that interact in certain defined ways. Standarisation can never be perfect but it can help alot in interaction between different parts. If we look at PW templates there are endless ways to get the result you want so its almost impossible to make a module that creates at least a halfway decent looking default template for its functionality that links into the basic site structure. Would it be bad to create a standrard way for making templates that allows modules to link in ? Would it be bat to have a bunch of default modules that allow templatebuilders to produce templates that already have a well made formating at least for this few modules. You still have the option to do it the way you like, you can build your own stuff or just modify the existing stuff but in addition to that you now got the option of installing a few modules, buy a template, do a few modifications and you page is ready. So it even adds more freedom to the system not less. Lets take a look at WP. Most templates only support the basic blog and maybe a few modules. as soon as you start to install additional modules you either have to live whith an often ugly default output and often it fails completely. So you start modifying the template or even worse you need to modify the module. The next module update kills all your changes and you have to start over.... The fun starts if you have a bunch of modules that need modification . A big company called Templatemonster has a solution for that problem. They sell WP themes that are a complete installation bundled with all the necessary modules and all addons fully functional, but don't try to upgrade the WP system, simply don't do this. Maybe this is the perfect way for PW to make premade templates ? I guess not. You still run into trouble if you want to change the look of your page. But still it may be an idea to earn some money whith PW. at least i would pay for a nice installation package whith blog and gallery and a really nice modern template with some color, background and logo control in the backend. For the easy creation o something like that we would need an extended Profile Module that allows to store a complete page as an installlable Profile. Right now i had some trouble storing multilanguage support and pre generated user and a few other things. So i guess the best way would be to define a bunch of standard modules, define a default way to do templating and for interaction between modules and templates. More about that tomorrow(more technical details ), i need a bed right now
  2. Hi Guys, I have successfully implemented the RSS feed module, however I need to feed some images through can anyone help with this? At the minute I have: <?php // retrieve the RSS module $rss = $modules->get("MarkupRSS"); // configure the feed. see the actual module file for more optional config options. $rss->title = "Latest updates"; $rss->description = "The most recent pages updated on my site"; // find the pages you want to appear in the feed. // this can be any group of pages returned by $pages->find() or $page->children(), etc. $items = $pages->find("limit=10, sort=-modified"); foreach($items as $item) { $item->title = $item->title; } $rss->render($items); ?> The image field is called blog_images and I know I need to include it within the foreach but im a bit stuck. Any help would be greatly appreciated. Mel $item->blog_image = $item->blog_image;
  3. Is there a Google Maps module out there at all that allows you to add markers (drag and drop, or by address) which outputs a lat/long? I've used something like this on Wordpress but wasn't sure if PW had something similar? Currently I am just using two text fields for editor to add in lat/long coordinates but can get a little tricky. Thanks in advance, R
  4. I'm trying to figure out a way how I can allow a client query and generate lists via the admin and not via de frontend where I would have to build templates and use the API to query and generate data. For a bit of back story: the client will be able to create study courses via de admin. Visitors will be able to sign up for a course via de frontend and the details will be written to the database via de API. Visitors who have signed up will have a status: pending approval, pending payment, approved or declined. The client will be able to edit the status via de admin. I'd like for him to be able to query the data via de admin and generate lists (search results), sort of in the way you might build frontend templates that are only accessible for the signed in admin users but then within the admin itself. I've searched modules and the forum but haven't found anything concrete. Any ideas would be appreciated!
  5. I moved a site from my local machine to a staging server over the weekend. The site (front end) displays fine but the backend gives error of I checked the files on the site under /wire/modules/System/SystemNotifications/ and can confirm SystemsNotifications.module exists. Opening this file up and looking at line 346 ... // convert runtime Notices to Notifications and bundle into array if($this->placement == SystemNotificationsConfig::placementCombined) { The SystemNotificationsConfig mentioned above is a PHP file which also exists and has the same permissions as the working version on my test site.
  6. I am working on a plugin to implement webmentions in ProcessWire. Webmention is a modern update to Pingback - a simple way to notify a URL that you linked to it, without the XMLRPC overhead. I'm working on a module and an accompanying Fieldtype to store the webmention data. I'm using the Comments module as starting point and mostly understanding it. The thing I'm not sure about, though, is the best way to have the module automatically save the values for webmentions when they are sent (or received). Similar to the Comments module, I have a WebmentionArray class and WebmentionItem class. In the module, I'm hooking Pages::saved to send webmentions and log them. Should I do something like: // inside the Pages::saved hook $page = $event->arguments('page'); $webmention = new WebmentionItem(); // set webmention fields (these keys exist in the Fieldtype) $webmention->set('source_url', 'http://example.com/source'); $webmention->set('target_url', 'http://example.com/target'); // add webmention to field array $page->webmentions->add($webmention); $page->save(); Do I need to deal with a WebmentionArray class at all in this scenario, or does $page->webmentions->add() automatically handle adding it to the array?
  7. hello, after i attemped to install a module -- the modules manager -- i can no longer access the 'modules' section in the admin. here's exactly how i got to this point i installed a fresh copy of pw (v 2.5.3) with the blank slate option. install was completed without issue. wonderful. directly after install i headed over to modules.processwire.com and downloaded the zip file for soma's module manager. next i navigated back to the admin and over to the modules section. i chose to upload the modules manager zip file. i selected the zip file from my desktop then hit upload, waited a bit then i got redirected to the 404 error page. and now i can not get to any page within the moduels section of the amdin. i get redirected to the 404 error page. i'm not sure where to start troubleshooting. i restalled pw and attempted to install the module 2 more times as outlined above. i get the same results. any assistance would be greatly appreciated.
  8. Hi All, I'm moving a site from it's current CMS into Processwire. I've installed the ProcessRedirects module for this project. I'm working locally on Windows 7 using a virtual host (yourmrrooter.lo) with WAMP server. The problem is the redirects simply do not work and instead I get a 404. Example: on the current live site, a page exists at www.yourmrrooter.com/drains-backing-up-total-drain/. In my Processwire site, the page exists at yourmrrooter.lo/residential-plumber/clogged-drains/total-drain/. I've set up a redirect in the module for /drains-backing-up-total-drain/ to point to /residential-plumber/clogged-drains/total-drain/ and I get a 404 page instead. Are there any known issues / fixes? Thanks
  9. Update for bug fixes and small feature additions. An upgrade might introduce breaking changes, the user should be informed about that. Perhaps add an additional field somewhere (dunno where and how yet) where the module author can define a breaking changes notice or something. So if a user clicks upgrade, the notice is fetched from the modules directory and thrown at the user. Just my initial ideas about that topic.
  10. Hey guys, I was wondering... Does the number of used/installed modules affect on site performance?
  11. After upgrading a site to 2.5, i can no longer access the admin modules page, i get redirected to a 404 page. I'm not really sure how to fix this, and wondering if anyone has some tips or ideas where to start... one idea i had was to export the whole site with the site profile export and then install on a clean 2.5, hoping that would sort out whatever snafu has occurred.. Edit: was being caused by the page edit per role module...
  12. Hi there I installed Processwire and like it very much. @community: Thank you! Everything works well, now I want to set up a multilingual site. Therefore I want to use the Module that comes with the installation. When I click to the «Modules» Tab a completely blank page is shown. In the Adminzone all the other Items are followed by a number – after «Modules» there is no such number: What can I do to get access to the modules? In .htaccess I had to comment the following Lines (If I let just one single line of these uncommented, I get a «500 – Internal Server Error» and Processwire doesn't work at all ): # Options -Indexes # Options +FollowSymLinks # Options +SymLinksifOwnerMatch # <IfModule mod_php5.c> # php_flag magic_quotes_gpc off # php_flag magic_quotes_sybase off # php_flag register_globals off # </IfModule> Thank you for your help.
  13. I am working on a module that will require a template and certain set of fields. I was wondering what the best practices are to achieve this. I have used soma's Images Manager module and I noticed it requires you to manually create some fields, templates, and pages. The current route I am considering is: Set the module up with ConfigurableModule and several options for the default field/template names. IF: the template and field names do not already exist:​Create the templates and fields, indicate install is completed successfully ​ELSE:Prompt the user to create the templates/fields manually and enter the names in the module's configuration. Alternately, I suppose the install method could take the base name for fields/templates and add an incremented number to the end until a unique name is found. This might be preferable since it would not require any manual configuration. Thoughts?
  14. I'm undecided whether I'm going to use modx or processwire as my CMS on my first ever project, it's a small business website about a scrap recycling company. MODX is nice it gives the same creative freedom as PW but it has 551 modules/plugins which they call extras, and that could help me add features on my site without coding. I haven't found the total numbers of modules in PW yet after search on google and the main website. Are the modules here in PW enough so that I could add cool features on my site? Or MODX still has the advantage when It comes to modules/extras? I like the simpler workflow and back end of PW that's why I'm considering PW and also because of the quick replies I get from the community and they are friendlier.
  15. I stumbled upon this duplicated "from" in file \wire\modules\Process\ProcessModule\ProcessModule.module, at line 576: Error decoding JSON from from web service Please correct it, or if you wish I can create a pull request at GitHub.
  16. Prerequisites: Basic knowledge of git and git submodules A git hosting solution (e.g. GitHub) No aversion against bash commands Once you've built a couple of websites with it, a set of your own personal must-have modules emerges. For me, such a module and always the first install of the day is Soma's MarkupSimpleNavigation. But there's also MarkupSitemapXML. And so on. Depending on your usage of ProcessWire, the type of pages you build with PW or your customers, your set of modules may differ. Installing modules and functionalities that you'll need in most instances should be an automated and easy process. ProcessWire itself offers a range of possibilities to do so. First, there is installation via ClassNames: In Backend, chose "Modules", then "New" and paste or type in the class name the desired module established in the PW ecosystem, for example `LoginPersist`. From that point on, the particular module gets downloaded and installed within two clicks and just a matter of seconds. Rinse and repeat until your starter module set is complete, but be sure to memorize or note the correct class names. Secondly, you can create an own starter site profile with your modules in it. This not only gives you the means to bootstrap in a module related way but also many possibilities for template and field groundwork. But a disadvantage (on the module site) remains: Unless you control and update all the modules in your site profile, only certain, possibly outdated versions will be installed - and you have to manually update them afterwards. For my last few projects I found a third way: Bundling all starter/must-have modules together in a git repo, using the modules as git submodules. After ProcessWire installation on my local machine, I just clone this bundle and recursively pull every module's master to its latest commit. An example (with my set of starter modules): cd site/modules && git clone --recursive git@github.com:marcus-herrmann/ProcessWire-BootstrapModuleSet.git && cd ProcessWire-BootstrapModuleSet && git pull --recurse-submodules What does this code do? At first, let's assume you've navigated via the terminal to you ProcessWire's installation root folder. Afterwards, these steps follow: 1. Change directory to module folder 2. Clone your bundle repo 3. Change directory to the folder created by aforementioned bundle repo clone 4. Pull all submodules to their latest commit That's all. After you've created your own module bundle repo, you can even create a bash alias for this and accellerate the process even more: alias getpwstartmodules='cd site/modules && git clone --recursive git@github.com:marcus-herrmann/ProcessWire-BootstrapModuleSet.git && cd ProcessWire-BootstrapModuleSet && git pull --recurse-submodules' I possibly may have reinvented the wheel. But at least I haven't yet found such a way for "PW kickstarting" before (apart from maybe pure bred package managers such as npm and composer). But if a better solution exists, please do not hesitate to drop a comment here Disclaimer: This is also a blog post
  17. Hi, congrats on processwire cms - it looks very clean and nice ! I have been asked by a client of mine, who is using processwire to update his website (somebody has created website using processwire and he's not available to help anymore) to login to admin panel and see if he can add rss support. I need that RSS enabled (for a couple of pages, that he's updating regularly) so that my software (digital signage system) can parse and display his news. How should i start and do it - without "breaking" his website ? After i login, i can see in modules section that there's "install" button next to Markup RSS Feed (which is strike-through). After that, is there anything more I should do ? I have only access to panel, but not to ftp etc. Thanks for your assistance! Qlex
  18. Hi, simple (?) question - how to cancel module uninstall in ___uninstall method? Return false doesn't work, should I throw some kind of Exception?
  19. Hi, trying to implemement a set of blog pages and started using the Pagination module to find I couldnt list the page=2 etc results. This is what I started with: This is on a blog template, of which the post template children have page number enabled. $results = $page->children()->find("limit=2, sort=-date"); $pagination = $results->renderPager(); echo $results->render(); This didnt produce different results when clicking 'next'. so I tried: $limit = 2; if($_GET["page"]==0){ $startNum = 1; }else{ $startNum = $_GET["page"]; } $start = ($startNum-1) * $limit; echo $start; $results = $page->children()->find("start=$start,limit=$limit, sort=-date"); $pagination = $results->renderPager(); echo $results->render(); And it works up to a point but then starts doing some crazy stuff! (like adding a new number for another list page which doesnt exist, e.g. page=4 when the limit only allows for 3 pages of list). any help would be amazing. b
  20. The processwire site I am currently building has recently stopped recognising the addition of new modules. Last week I successfully managed to install the CropImage module, but now every new module I add to the site/modules/ directory is not being recognised by the module manager. When I click on the "Check for new modules" button, I'm told that there are "No new modules found". I'm pretty certain I'm following the installation steps correctly and I've tried the process with several (well established) modules. Is there any obvious reason why this would have stopped working? And more importantly, is there anything I can do?! Many thanks in advance. b
  21. If you get a compile error (Error 500) when updating a module (for example with the ModuesManager), this could be for a likely but not so obvious reason. I want to share this. Example alert (Maintenance Module update example): Compile Error: Cannot redeclare class MaintenanceMode (line 3 of /.../site/modules/MaintenanceMode/MaintenanceMode.module) This looks like an attempt to declare the same module class twice. What had happened here was this: When dragging a module over an ftp client to the modules folder, it got placed inadvertedly into another module folder and not in the modules root. - So the module became "invisible" (hidden) on your ftp client at first glance. The funny thing was that the misplaced module was still working alright. No alarm bells rang. Trouble came after we tried to update the module (by ftp or by the modules manager) months later. Then the infamous error 500 appeared. So, before wasting time looking closely at database entries and module codes, maybe check first whether there is a duplicate of the updated module buried in the modules folder somewhere.
  22. I m updating an old install of PW onto a new server with latest version of PW. Have changed alot of stuff but am still looking to retain some pages: e.g. all the news children pages. Been trying to use the import from CSV module for this by exporting using mySQL but im not really sure what im doing and I've managed to get an CSV with the page titles but not any content - Is there an easy way to do this? Or does any one have a module or mySQL script to select all the pages with child of id=x in a form they can be imported? Thanks!
  23. Soma

    100+ modules reached!

    Hello guys We reached some over 100 modules on http://modules.processwire.com It was like 5 when I joined 1.5 yeah ago? Keep it up but remember quality > quantity I'm a PW addict, when I've not created a module for so long I get nervous.
  24. What's the process of making a Wordpress plugin work as a module? What do I need to translate and how?
  25. Hi I am pretty new to processwire and it is really growing on me, even though I am not a programmer. One of the things I really appreciate is the freedom and simplicity of the administration structure. However, I think there are a couple of things that could help navigation, and one of those is categorization of templates and fields. This is not intended to be categories for the layout of the site or categorization of data, but simply an optional way of keeping things sorted in the backend if the site gets a bit on the large size. In affect, it would just add another way of sorting fields and templates. For instance, you may want to group fields together that are associated with a repeater, or you may want to group fields together that you tend to use as all-purpose fields like "title" and "image" Anything you wanted really. For many sites, this might be a little bit of overkill, but if a site has a huge number of fields or templates, then this could be useful. Not a major request, just a "nice to have" sort of thing. Joss
×
×
  • Create New...