Jump to content

Search the Community

Showing results for tags 'processwire'.

  • 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. Summary: If I have a site sitting on a server called testing.com, then on the server change it to mycompany.com, do I have to modify any settings in ProcessWire? After building several processwire for clients, the one question that I haven't had is about moving a processwire site from an old (temporary) domain to a new domain. For instance, I typically setup development sites for clients and register a temporary domain (and lock with a password). For instance, thee client can go test.com and get all their content finalized, change wording, add news, swap out photos -- everything to make the site production read. Next, on my hosting account I can have testing.com renamed to theircompany.com - and change the nameservers. A simple question here. If I have a hosting company rename the account from testing.com to theircompany.com, change my nameservers whereas going to theircompany.com loads the production site, Is there anything I need to change in the processwire configuration or in the PW database? In the past, I've just manually copied the site, and fresh-installed PW, and imported the data. Seems like a lot of hassle. I have a second part question about updating the PW core, however, after consideration I'll post it as a new topic.
  2. Hi guys, Yesterday, I faced a problems to run a processwire old system from backup locally, finally after your support, the system start working but still I have the below problems issues. 1. Once I try to press a sub-link, it guides me to Object not found, Error 404 similar to the below , and the link of the website became like below: http://www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.localhost:9999/publications-and-ressources/texts/books/ despite of that my application name is ibrahem, so if I amend the url manually to be as http://www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.www.localhost:9999/ibrahem/publications-and-ressources/texts/books/ it works fine, but every link, i should amend the url to add the application name. Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 2. The images issues, that the images related to the book cover or another issue such as the slider is not appear, please advice. Thank you in advance for all of your support and help.
  3. Hello Community, I have read that I get no support on GitHub. For this reason I am here for the second time. The thing is that I enabled a fresh Processwire installation and under https://processwire.wpzweinull.ch/processwire no page is found. The admin login is thus not possible. How can I fix the problem? Thanks in advance, Alexander
  4. I'm trying to create tests using PHPUnit, and I have the following method: protected function _getRootItems(Page $currentPage) { /** @var Page $page */ foreach (wire('pages')->find("has_parent!=2,id!=2|7,status<" . Page::statusTrash . ",include=all") as $page) { if ($this->_isActivePage($page) && $page->parent_id == 1) { $output[$page->sort] = [ 'id' => $page->id, 'title' => $page->title, 'url' => $page->url, 'template' => $page->template->name, 'isActive' => $page->id == $currentPage->rootParent->id, 'children' => [] ]; } } ksort($output); return $output; } I want to write a test for this method in PHPUnit. I end up with the error: Trying to get property of non-object This is because $currentPage->rootParent is null. My test looks like this: public function testGetRootItems() { $mock = $this ->__getMock() ->disableOriginalConstructor() ->setMethods([ '_isActive' ]) ->getMock(); $mock ->expects($this->any()) ->method('_isActive') ->willReturn(false); $page = $this ->getMockBuilder(\ProcessWire\Page::class) ->disableOriginalConstructor() ->setMethods([ '__get' ]) ->getMock(); $rootParent = $this ->getMockBuilder(\ProcessWire\Page::class) ->disableOriginalConstructor() ->setMethods([ '__get' ]) ->getMock(); $template = $this ->getMockBuilder(\ProcessWire\Template::class) ->disableOriginalConstructor() ->setMethods([ '__get' ]) ->getMock(); $template->name = 'name of the template'; $rootParent->id = 1; $page->template = $template; $page->id = 2; $page->rootParent = 'hierzo!'; var_dump( $page->rootParent ); $method = $this->__getReflectionMethod('_getRootItems', $mock); $method->invoke( $mock, $page ); } I've already tried to override the rootParent with it's method (___rootParent), tried setting it directly ($page->rootParent) but so far nothing worked. I probably miss something really simple here. I know that in my example, I set the value to a string. But the result of the var_dump below it is still NULL. I also tried setting it using $page->rootParent = $rootParent, this had no effect. So my question: How can I possible override this rootParent variable?
  5. Hello, i am new in the processwire. I tried to install pw in my server a few time but nothing happen. I saw a video on youtube how its installed but the las step was not finish. I tried two diferente versions, the 3.0.42 master version and the 2.8.35 legacy master version, even i tried to install the beginner page and the classic page but the result was the same. I take an screenshot of the last step. Thanks for you time.
  6. Today I want to tell you about my most recent Project: Cooking-Couple.de Maybe you've already seen it. I've got it listed in the ProcessWire Sites section for quite some time now. Also it has been mentioned by ProcessWire Weekly as the Site of the week: ProcessWire Sites Section: https://processwire.com/about/sites/list/cooking-couple/ ProcessWire Weekly: https://weekly.pw/issue/137/ What is this website all about? Why did I make it? I'm using ProcessWire at my day-to-day job and this project is my private playground for learning. Besides of that of course it's actually really what it claims to be. We seriously love cooking and I hope we'll find the time to get enough content together so that all the powerful search capabilities make sense after all. Technical depth @teppo has already provided a great technical overview to the project. In this thread I want to give you the opportunity for digging even deeper. Want to know how I've implemented a specific feature on the site? No problem, I'll try my best giving you detailed answers about it so that you can build something similar. What happened since the review on ProcessWire Weekly got published? I updated Vue from 1.x to 2.x The faceted search has become even more intelligent and easy to use. (Especially on mobile devices) I've added suggestions on the detail page that respect content types and tags to show actually really relevant content instead of just showing some random pages. The website is no longer using the built in template cache. I've switched completely to ProCache. (Since template cache was already carefully implemented the whole switch was a breeze and the site is now blazingly fast) All the assets are now being served by a CDN (thanks again to ProCache) Several minor CSS improvements Now that I've made these updates I think the website is actually a very good showcase for the power of ProcessWire. Just have a look at the source code of some of the pages and you can see what is actually being cached. (<body ... class='ProCache'>) This alone is a huge proof of the scalability of this system. Almost every single page is being cached with static files thanks URL segments caching. Yes I'm really excited about ProcessWire and it's optimization opportunities. Roadmap Most of the features I've initially planned for this project are already implemented. Anyways there are some more ideas I find quite interesting: Adding some more filters (time, difficulties) Negating specific search filters (show recipes without specific ingredients) Rating recipes iOS and Android apps that are reading the data from ProcessWire I'm not exactly sure which of these I'll implement or if other ideas will come to my mind that I like even more. Maybe you also got some input for me? When it comes to the apps I'm actually pretty excited about that idea. I've even started building a simple API: https://www.cooking-couple.de/api/v1/recipes/ (Yes that's cached with ProCache as well ) Anyways I might wait until we get the Front-end JS $pages API mentioned at: http://processwire.com/blog/posts/roadmap-2017/ Conclusion So I guess you get the idea. I'm really excited about ProcessWire and am willing to share the knowledge I've obtained while building this website. I'm looking forward to your questions, feedback and / or input. Have a great time and thanks for being part of the community!
  7. Last year I discovered Processwire (after the summer). I don't know why, but I had an immediate connection with it. Now I produced my new website with it. You can check it here: http://www.projectweb.be
  8. Hey Devs! Currently I am hosting my website at transip. But when I try to install Processwire I encounter a server error. I guess it has something to do with the .htaccess file. Does anyone know a decent webhosting company which doesn't cost that much and where I can install Processwire? Thanks in advance, Harmen
  9. Hi, I'm trying to write a bash script that automates our release procedures. 1 of the things I've written is a php module that clears the Procache settings and resets. The php module runs if I call it from a browser but if I call it from a bash script I get a connection refused error. Error: Exception: SQLSTATE[HY000] [2002] Connection refused (in /Users/FrancisChung/Sites/Develop/wire/core/ProcessWire.php line 293) This error message was shown because: you are using the command line API Error has been logged. Assuming this is a security precaution, I was wondering if there is a different way around this? Perhaps write a container php module that launches the bash scripts instead?
  10. Hi all! I have a problem with selecting default language in frontend. I tried to set default language from admin panel in Access->Users for guests and admin to another language, but it changed only backend language. I read a lot of topics about this problem and i didn't find any normal solution.
  11. Hello, how I can embed in ProcessWire advertising such as Google Adsense . After the scripts are for part and I want to put this on a template , I would be grateful if someone could help here Greeting Tom
  12. Hi there, I've not used processwire for a few months but have been keeping an eye on version 3 as I'm due to start a new processwire site within the next few weeks and had a couple of questions: Are modules for ProcessWire 2.7 generally compatible with ProcessWire v3? Would I be better off sticking with 2.7 for now, and upgrading at a later date (assuming that's possible)? I did have a flick through the forums and blog posts however couldn't see anything that answered these questions, apologies if I've missed it somewhere though. Many thanks
  13. I ran across this by chance .... http://www.redbubble.com/people/smdnetau/works/9425499-processwire?grid_pos=1&p=iphone-case ... and was wondering if Ryan or anyone else had ever had the idea of making some Processwire T-shirts? I would get one ...
  14. Hey, I was wondering if there is an alternative to the default Processwire ImageSizer. Although it comes in really, really handy (I have actually never used any Content Management Framework that comes with a default Resize module) I am not quite content when it comes to resizing large images. Check this image: http://imgur.com/KNS9VWB You can clearly see a difference in sharpness of both images, after resizing the image comes out a bit blurry (Yes, quality is on 100). Has anybody else encountered this? If so, is there any good alternative (in form of a Module). Much love to anyone that's willing to help <3
  15. If you want to install processwire on cloud server you may simply follow the guideline
  16. Hello, will the database structure change until stable release of ProcessWire 3 or won't the database be touched? This would be great to know, Ryan!
  17. Hello, today the beta of ProDrafts was announced. But nothing about ProcessWire 3.0.9 . Will there be an ProcessWire 3 update this week?
  18. New programs are constantly added to the website as they are developed and we need a talented & creative developer to help us implement the same, Location NY. Please PM or call / text to +1 929 266 5936 (929 266 5ZEN google voice, its safe and secure )
  19. Hey guys I was wondering if anyone had already exported a Cargo Collective site to ProcessWire?! I have two Cargo sites I'd like to convert to ProcessWire, they're using these templates: - http://cargocollective.com/voyager1 - http://cargocollective.com/sirius It's all working fine but I can't figure out how to "replicate" the famous Cargo effect to PW (the effect where links open fastly without reloading the page). Can anyone please help me achieve this with PW? Cheers
  20. Hello, i am trying to use PW 3 and its look great with option of online editing. but i am having issue with installing admin theme Modesta. when i try to install admin theme i got error Fatal error: Class 'InputfieldWrapper' not found in /Applications/XAMPP/xamppfiles/htdocs/ProcessWire/site/templates-admin/init.php on line 11 with few other files but i manage the issue by replacing the <?php to <?php namespace ProcessWire; in every file, i want to know does its necessary to change and if not how to fix that without manually changing all files. second now i am getting error which i could't solve admin load properly but when i goto pages i could't see any page and after changing $config->debug = true; in config.php file i got this error Notice: Trying to get property of non-object in /Applications/XAMPP/xamppfiles/htdocs/ProcessWire/site/templates-admin/AdminThemeModestaHelpers.php on line 73 when i see bellow is code return $this->wire('adminTheme')->modestaSitename; and same error is in few other lines too. how to fix the issues and make theme working with PW 3 Thanks
  21. Hello, i saw blog post about new image option and wondering when this option is coming live to check and work with ? https://processwire.com/blog/posts/a-preview-of-coming-attractions-to-processwires-image-tools/ also how can i download PW ProcessWire 3.0 alpha-4 to check ? Thanks
  22. Hello Processwire-Community, i just wanted to greet you because i think its a better way to introduce myself. I didnt found a better Thread to do this, so i think im not wrong to post this here. If i missed the specific Thread, then dont mind moving my ass there. First of all, im German. Im 19 years old, very young and i have no idea how i found processwire. Maybe its because other CMS-Systems seems a little bit too packed for creating my stuff. If i wanna program something, i want to know why i writed this and where my mistakes are. Only then i can improve in this matter. So, with this in mind, i picked Pw, because most user say it gives a wide freedom to do stuff you wanna do. I already started with my project, but there re some questions rolling in my head, so i wanna ask them here. If you have knowledge about it, i would appreciate it if you could give me an answer. If not, post some random bbcode-spam under this thread and think of something joyful . 1. Processwire gives the option to create pages and so on. Its useful, yes, but what if i wanna display only the content of a .php-file over the URL and place it in my template? So that i dont need to write my whole template for every .php-file that i include? 2. And while we are at it: how does the parent- and child-system work with the URL? If i, say, make an "foreach" for every link i have posted in a database-table called "navigation_links" and now get the ROOT-path + this link, how can i tell processwire to accept it? If use use it like this: and try to use it, it says to me "404 not found", but i just navigate it to the .php file i have created in my folder. 3. @ryan: i have read your post about the login-example here: https://processwire.com/talk/topic/107-custom-login/ . if i wanna use this as an external .php-file, it works. But i wanna use it as an component on my site. For this, there is a little problem: First of all, if i click on the Login-button, it does nothing. The Page stays where it is and doesnt redirect me to a page called "login_successful.php". Second, if i watch in the database the session_throttle, it lets me stay in the attempts and the date. So the Informations didnt get transmitted. Here is the Code, i would appreciate it if you could give me help with this. Maybe im missing something. Please remember im just testing the functions. I will change it until i have my results.: /templates/login.php (Makes decisions if a User is LoggedIn or not and includes the file i need) <?php if($user->isLoggedin()) { include("loggedin_form.php"); } else { include("login_form.php"); } ?> /templates/login_form.php (Gives a Form to write username and password and transmit it) <!-- This Form gives an login-form to login or register to the site--> <?php if($input->post->user && $input->post->pass) { $user = $sanitizer->username($input->post->user); $pass = $input->post->pass; if($session->login($user, $pass)) { $session->redirect("login_successful.php"); } else { $session->redirect("login_unsuccessful.php"); } } ?> <div id="login_form"> <?php if($input->post->user) echo "<h2 class='error'>Login failed</h2>"; ?> <form action='./' method='post'></form> <input type='text' value="Username" name='user' /> <input type='password' value="password" name='pass' /> <input type='submit' name='submit' value='Login' /></p> </div> Register will follow later, i will use another table for that. 4. If i wanna use an function-library, which folder-structure is identical to my components-folder and wanna limit every component i have in it to the "function" folder and dont allow other functions to work unless i say it in an "func_global.php", how can i do that? Over URL? Or do i need to make an attempt for everytime i call my component to search in the function-folder for a folder with the same name as the folder my .php file is placed in? This seems a little bit too much coding, so if someone has a better idea, please dont mind posting it here. I would appreciate it. This seems enough for the start. Sorry for my bad english, i still need to learn stuff. But its better to ask than never know it. With Greetings, JamesHemmingworth
  23. I'm trying to achieve a specific selection for a pagefield for specific users. My pagefield should detect: If the current user is a superuser return all address-pages and when it's not a superuser, return all address-pages which the current user has created. It works fine for the superuser but i have no selection in all the other users. if(wire('user')->isSuperuser()){ return $pages->find("template=address"); } else{ return $pages->find("template=address, created_users_id=wire('user')->id"); }
  24. I think this is a valid question, anybody who worked with software for sometime knows the importance of the viability of a software. Case in point Java superseded C in popularity, Dbase/Foxtpro/Clipper are no more, and not too long ago Gumby ended its journey. Some like Pygame still exist but no longer actively developed. What do you think, how Processwire will fare in longterm? By the way how many people are committed in developing Processwire?
  25. Hi, I'm working on a simple Ionic app which is going to use ProcessWire as the backend. This app allows people to upload images and then like/comment on them. It's a lot like a stripped down imgur app. I've set up some basic services such as register, login & reset password. There are a couple of things I am doubtful about. 1. How do I get user's unique session Id once he's successfully authenticated through AngularJS's http post request? I'm currently using following code: $sessions = $session->getAll(); $session_id = $session->_user["fingerprint"]; But I'm not sure if that's the right way to do it. I'm not even sure if that's the session id. I know there's something called SessionCSRF["name"], I tried that. I'm sending session_id as response to http post request. Then I'm using that session id to check if user is authenticated for his/her further actions such as commenting/liking/posting etc. 2. Now that I've got the session id, how do I identify the user based on the given session id? or should I send user ID back to PW everytime user is performing any action? Is it possible to identify user just based on the session fingerprint that I'm giving back to the app? Among other things I'm considering are keeping a device id on the server for each user, so as to gain better control over user's sessions. I can log out all the devices linked at once etc. I'd really love to hear from you guys how you'd plan to do this app. I'm experienced with PW but not very much with AngularJS. Thank you.
×
×
  • Create New...