Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/29/2014 in all areas

  1. As hdesigns said, NETWORKING is crucial to your survival! Everyone does things differently. Something may work well for YOU, but not well for ME. There will be lots of suggestions and recommendations from many people here that have been doing this job. Some of us have worked with established firms, others do it as a hobby. So the answers you get will be wild and various. With that said. I'll tell you how I operate. NETWORK If you are serious about this business, get some GOOD business cards made. Don't go cheap. Spend good money on some good high quality printed business cards. You should even go further and design them yourself! Show off your design skills with your first step! Hand someone your card, explain what you do AND mention that you designed your own card! Talk to friends and family. Let them all know your intentions. I have "scouts" all over town. Lots of my friends and family know what I do. To give them an incentive to send me clients, I give them a gift (to my friends/family) if they send me someone and I get them to sign a contract. Nothing big ya know. But something to show them I appreciate them helping me find work. I also give incentives to existing and past clients. I'll give them a discount on existing or future work if they send me a new client. It's a small price to pay to keep them happy AND not forget about me when the job is done. HAVE A CONTRACT!!! This can not be overstated! This will save your butt some day! It does not have to be full of legalese and dramatic courtroom jargon. Keep it simple but detailed enough to explain what your client expects from you. What you expect from your client. Estimated dates if possible. Outline the various milestones that lead to project completion. Define the payment schedule. Whether it be 50% deposit and the rest payable in time. Or one lump sum. Or your hourly billing fee. I have a small NDA clause in mine. NDA = Non Disclosure Agreement. There are times that I've charged a small fee. Other times I've billed higher. I don't want a past client to tell someone else how much they paid. Each client and website is different. Therefore their prices are different. You know: complexity, duration, etc. Also because you'll be conducting business with someone, there will be times you will be privvy to private business information that your client doesn't want others to know. You should know enough to get the job done. No more. No less. Well. That's how I've done things. COMMUNICATE As a part of my contract, I state that I will reply to all emails within 24 hours. I like to maintain ALL communication via email. I am strict about that. No colored bold or italic fonts with hearts and smiley faces. They are NOT to call me. Nor text me (unless it is an emergency). I like to have a trail that can be followed between all involved parties. That way, IF things should go poorly, I have something to protect ME, with peoples names, times and dates. Who said what, etc. WORKSTATION You probably won't have anyone mention this. You may have the idea of working from home. If so, invest in a comfortable chair, nothing too expensive. But you'll spend hours in this seat. Set your monitor at the proper height and distance to minimize eye strain. Eliminate distractions. Stop browsing Facebook. Set your phone to silent. Set your desk/station against a wall instead of a window. Avoid that distraction. Follow an agreeable work schedule. For every 25 minutes of straight work, reward yourself with a 5 minute break. Or 50 minutes of work and break for 10. Do what feels best. Make sure you stretch your arms, back, wrists, etc. Carpel tunnel is a terrible terrible pain. Just because you'll work from home. Avoid the tendency to work in your pajamas. SUIT UP! Work for yourself like you are working for someone else. Start at the same time every day. End at the same time every day. I used to take my kids to school. On the way home, I would stop for a cup of coffee and a danish at my favorite little place. And take my cup of coffee and danish to my work station at home. I was at my desk at the same time every day. It sounds silly, but it enforces good work habits. Best of luck to you!
    8 points
  2. 6 points
  3. Not specificly related to PW, but in a way it does. I have setup two processwire installs on different sub-domains. Scenario: 1. Main website - visitors go here http://www.domain.com/ 2. Data API provider - RESTful API spitting out (cached) JSON objects http://data.domain.com/ Website 1 loads data trough AJAX / Angular.js from website 2 Since PW by default has the following line in the .htaccess file it will prevent access from cross domains requests that load in an iframe Header always append X-Frame-Options SAMEORIGIN One solution i found was to put the following line in my template file (or somekind of init.php file) at website 2, allowing website 1 to access header('Access-Control-Allow-Origin: http://www.domain.com'); That worked nice, until i installed the Procache module from Ryan. A logic change, since PHP is completely bypassed it does'nt set the headers anymore. The final solution: I removed the header line from the php file and put it in the .htaccess file just below the SAMEORIGIN line on website 2 Header always append X-Frame-Options SAMEORIGIN Header set Access-Control-Allow-Origin: "http://www.domain.com" Could be helpful to anybody, thats why i posted it here Update: found a nice script allowing any sub-domain of the origin host http://stackoverflow.com/a/19519690
    4 points
  4. It was originally in 2.4, then 2.5 and now 2.6
    4 points
  5. What I'm really missing and waiting in PW since the beginning are draft/live versions of pages, basicly more advanced workflow/publishing options. I feel this would be a lot more needed than all the new features we got. Not saying they're bad. I hope we get that with 2.5!
    4 points
  6. project_categories defalt referer to ID mabe.u meandet project_categories.title=123 or project_categories.name ?
    3 points
  7. Hehe...what's a couple of decimals between friends?
    3 points
  8. 2 points
  9. https://sublime.wbond.net/packages/ProcessWire%20Snippets%20-%20Basic
    2 points
  10. Your HOMEPAGE and BASIC-PAGE should both be in the same directory. If they are not, I suggest you put them together. In fact, keep ALL YOUR TEMPLATES TOGETHER. I see you are using Foundation. Here is what it should look like: Do not "hard code" the path to your foundation.css file: <link rel="stylesheet" href="assets/scripts/foundation/css/foundation.css"> Instead, move your foundation folder into the templates folder. Link it like this: <link rel="stylesheet" href="<?php echo $config->urls->templates; ?>foundation/css/foundation.css" /> Keep your homepage and basic-page together next to the foundation folder. Make the template folder your only WORKING FOLDER. That was everything is contained in one folder, instead of scattered throughout your site. I hope I explained it well enough for you. Let us know if we can help you further.
    2 points
  11. This module adds a preview and zoom button to InputfieldTextarea for live previewing the content after being formatted by the text formatters assigned to that specific field. It's pretty alpha still but it already works. For now I was only playing with the Parsedown formatter, but it should work with every other formatter as well, even with Hanna Code, not sure though, haven't tested it. It's restricted to regular textareas, meaning TinyMCE et al are not supported yet, because they need specific change listeners. Will look into it though. The result is fetched via ajax from a process page, the default style sheet contains some Github-like styles but the style sheet is configurable, see module settings. Github: https://github.com/owzim/ProcessTextareaPreview Open for suggestions
    1 point
  12. UPDATE: 14.09.2014 We've launched lightning.pw! Create a new ProcessWire site in under 30 seconds with lightning.pw . Our new service will help developers to work together on a new site, enable new ProcessWire users to explore the CMS and you can now easily test a feature or module. Our goal was to replace the long localhost setups so that you can instantly start developing. Features Current launch features: Create new ProcessWire sites Choose between ProcessWire 2.4 and 2.5 or the latest dev version Choose a profile on installation We setup a custom subdomain and will provide you a FTP login for file access ProcessWire works as expected. Every feature (except PHP sendmail) works. Install modules, write templates and create new sites as you wish Dashboard to manage multiple sites Upgrade (or downgrade) ProcessWire with a single click Free Hosting for module developers. Planned features: Save and use your own installation profiles Custom subdomain names github/bitbucket integration Create snapshots of your site Free integration of minimize.pw for image compression Pricing lightning.pw is free to use. You can buy credits to expand a site after the free usage timeframe of seven days. Credits start at 3€ per month but get cheaper the more you buy. If you develop a customer site for an average of 6 months, you would pay 15€ for the whole development setup. If you think the price is high, please notice that we don't want to oversell our servers and that we want to build further features. If you have developed a free module for ProcessWire, you can contact us to get free hosting for your showcase or development site. Bonus: You can use the coupon code PROCESSWIRE to get a free month. Just enter the code under the Payment section on the dasboard. About The first intention for this project was our own need for a simple development solution. lightning.pw is build with Ruby on Rails and uses a custom written ProcessWire installer. We worked hard to maximize security and stability of the service. We create a backup of every site every 12h and can scale within minutes if server load increases. You can ask questions here on the forum or follow us on Twitter for updates (and maybe coupon codes ) Try lightning.pw and tell us what you think. We appreciate every form of feedback! --- original post --- I will keep this short. We worked on a new project for the last couple of days. Instant ProcessWire hosting for development, testing and as a showcase for ProcessWire. The idea was on our mind for over a year, rested when the community won the bitnami contest but was finally started when we needed a better tool for our internal development. Excuse my bad mix of Englisch and German and watch the short video that explains and shows the basics: The features includeInstallation of any ProcessWire version in under 60 seconds Complete setup of a profile for ProcessWire, you can select the profile FTP access to the /site/ directory Login to ProcessWire with your lightning.pw account Own and custom subdomains Complete ProcessWire where everything works as expected Secured and fast server, restricted access and daily backups. Every site is free for seven days and will be deleted afterwards, except if you choose to extend the site with credits you bought. Module developers can host a showcase/demo for free. Our plan is to get the best experience for PW developers and small teams. Maybe it will help ProcessWire grow or maybe it will just stay a tool we use for our own sites. We have a github/bitbucket integration, custom profiles and an export workflow on our roadmap. We would be glad to hear your opinions and your feedback on this idea and the current execution. What feature would really make this attractive for you?
    1 point
  13. The title and body should work also for childpages. Not sure what you mean. DO you have now each child page create under the subsite /about/? And you use a page field reference to select the mainsite under /about/? That would be ok to create dummy pages and do that, and your code should work. But can't really help to find the problem as I'm not in front of it. Also mademyday made some valid points over here https://processwire.com/talk/topic/1025-multisite/?p=71136 Somehow it is be possible to display content from the main site and use url segments and output the fields on the subsite. If you don't understand how to get this going, may we can provide example code to get you a start. It's just hard to follow for me ATM. Just create only the About page on the subsite. And use a template on which you enable url segments under its url configuration screen. It has no children. The main site in root has About page with children. Code to test for url segment and get page from main site. On the About page of subsite. // if needed, don't allow more than 1 url segment and show 404 if(count($input->urlSegments) > 1) throw new Wire404Exception(); // when 1 url segment found like /about/childpagename/ if(count($input->urlSegments) == 1) { $childname = $sanitizer->pageName($input->urlSegment1); $original = $pages->get("/about/$childname/"); // try get the original page if(!$original->id) throw new Wire404Exception(); // not a page // if we got this far we're on a child page, so render content from it // but were still on the /subsite/about/ echo "<h1>$original->title</h1>"; echo $original->body; ... } else { // we're on /about/ subsite, so maybe just show a list // of the original children from main site with url and a segment foreach($pages->get("/about/")->children as $child) { echo "<h3>$child->title</h3>"; echo "<p>$child->summary</p>"; echo "<a href='$page->url{$child->name}'>view more</a>"; // now construct url using child page name // if page name of main site is also /about/, you can even just use $child->url. // as that will already be the correct url we need here echo "<a href='$child->url'>view more</a>"; } } Edit: Just an example, had rewritten some.
    1 point
  14. hello, does anybody of you use autocomplete for the PW api in your editor? is this possible? i'm using sublime text 2 and i know there is a plugin for sublime with UIKIT: https://github.com/uikit/uikit-sublime (see the github page for more examples) wouldn't that be great for PW as well?
    1 point
  15. The multiple row line height is new in a fairly recent PW dev version.
    1 point
  16. Ah, I see. Yes, it doesn't work directly with video and figure if you add these to the 'Format Tags' box. It worked for me this way though. 1. Add figure, video, etc to the extra allowed content box - see screenshot 2. Switch off HTML purifier - otherwise it strips off your html5 tags later (after save) 3. Use source code editor in CKEditor... It works - i.e. the tags don't get stripped (but no video was loaded ) Now, I am not saying this is how it should be done. I don't know much about the HTML purifier but maybe there is a way to have it allow some tags. Also, there are other ways of customising CKEditor as shown in this tut http://www.flamingruby.com/blog/processwire-weekly-14/#1-4 using a custom config settings file. I don't know if that works with tags though...
    1 point
  17. Perfect. Spot on. Great. Good job old chap. All pretty similar
    1 point
  18. Has been discussed before, simplecart is a client side shopping cart and is there for not recommended ! It is easy to change the payment providers and change prices of simpleCart(js) items before checkout. This is a known security flaw that exists with ALL javascript shopping carts. Anything using client side scripting will end up being hacked. You will have to add the help of a server side system to verify the order's content from malicious manipulation and pass it to any payment processing party, or simply send it by email. This way of working should be avoided. Just google simplecart.js
    1 point
  19. As an American, who has previously lived in the UK, it's an expression that I learned from friends and liked. Too British --- for me, No.
    1 point
  20. Not really....see Ryan's mini-tut here: http://www.flamingruby.com/blog/processwire-weekly-13/#1-2 You can easily do this using CKEditor's Wordcount plugin... Edit: Misread first post. Disregard my post.
    1 point
  21. If anyone stumbles upon this thread and is looking for a solution to teach their IDE (with static analysis) some of the ProcessWire classes, find: https://github.com/mindplay-dk/TemplateStubs
    1 point
  22. Hi Bearclaw, great you enjoyed working with Processwire.....as was to be expected..... Is the shopmodule that is available something for you: Shop-for_Processwire ? There is also a paypal module available to it. I'm in the Netherlands as well, so if you need help with Ideal integration after installing shop software (no matter which), just let me know. W've done it before. But you could also use Mollie, which integrates lots of different payment options including Paypal and Ideal, what is even easier. Suc6 @Diogo HE, didn't know Simplecart. Looks indeed easy. Going to test it in the near future. Thanks.
    1 point
  23. Can't get much simpler than this http://simplecartjs.org
    1 point
  24. Well the formatting got a little weird in the code box as they are really long links but just throw em in a text editor and you should be right as rain. I managed to find some sample code that allows you to use the pinterest image chooser as is an important thing for this project. Now just to get it out of the document into my extra js. function renderSocial(){ $soc = ''; $page = wire('page'); $thisUrl = $page->httpUrl; $path = wire('config')->urls->templates.'img/'; $lnkDesc = $page-meta_description; $friendlyUrl = urlencode($thisUrl); $friendlyDesc = ereg_replace("[-]+", "-", ereg_replace("[^a-z0-9-]", "",strtolower( str_replace(" ", "-", $lnkDesc) ) ) ); $soc .= '<div class="socialHolder">'; $soc .= ' <ul class="share-buttons">'; $soc .= ' <li><a class="socialBtn" href="https://www.facebook.com/sharer/sharer.php?u='.$friendlyUrl.'&t='.$linkTitle.'" target="_blank"><img src="'.$path.'Facebook.png"></a></li>'; $soc .= ' <li><a class="socialBtn" href="https://twitter.com/intent/tweet?source='.$friendlyUrl.'&text='.$thisUrl.'Your Title Header:'.$page->title.' '.$friendlyDesc.'" target="_blank" title="Tweet"><img src="'.$path.'Twitter.png"></a></li>'; $soc .= ' <li><a class="socialBtn" href="https://plus.google.com/share?url='.$friendlyUrl.'" target="_blank" title="Share on Google+"><img src="'.$path.'Google+.png"></a></li>'; $soc .= ' <li><a class="socialBtn" href="javascript:void((function()%7Bvar%20e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)%7D)());"><img src="'.$path.'Pinterest.png"></a>'; $soc .= ' </ul>'; $soc .= '</div>'; echo $soc; }
    1 point
  25. Zahari, On dev branch, CKEditor is currently the default editor. It is highly configurable. Go to the field using CKEditor -> Input -> scroll down to 'Format Tags'. There's a bunch of other extras in there as well
    1 point
  26. Hi, Your module is not autoloaded - it does not get executed automatically by ProcessWire in each request. Try adding autoload=true to your getModuleInfo method. Cheers (also Stefan )
    1 point
  27. I can also suggest you cyon.ch. Hosting several sites there - the control panel and support is awesome!
    1 point
  28. Awesome!! Export / Import teamplates & fields. Section modules remember the last tab. You can add modules from anywhere. The find section, wow!. And a solution to the huge images that collapsed your screen. I created a module that is no longer needed The heaven in my hands Thanks @ryan
    1 point
  29. I'm a big supporter of cyon.ch They have a top notch customer service, are located in Basel and know what they are doing!
    1 point
  30. It might be not on the cheaper end, but I'm hosting most of my ProcessWire sites at Metanet. They only have this single hosting plan: http://www.metanet.ch/hosting/webhosting
    1 point
  31. new german updates for actual PW dev 2.4.15 (28 August 2014). Zip contains only updated/added files (in comparison to the default 2.4 lang pack). updated files: wire--modules--process--processfield--processfield-module.json wire--modules--process--processforgotpassword-module.json wire--modules--process--processmodule--processmodule-module.json wire--modules--process--processrole--processrole-module.json wire--modules--process--processtemplate--processtemplate-module.json wire--modules--process--processuser--processuser-module.json added files: wire--core--fieldselectorinfo-php.json wire--core--fieldtypemulti-php.json wire--core--process-php.json wire--core--sanitizer-php.json wire--modules--inputfield--inputfieldpagetitle--inputfieldpagetitle-module.json wire--modules--languagesupport--processlanguage-module.json pw-lang-de-dev-update.zip
    1 point
  32. specify each sort separately, e.g. $pages->get('/mypage/')->children('sort=-date, sort=created'); That will first sort by 'date' then by 'created' It's all documented here: http://processwire.com/api/selectors/#sort
    1 point
  33. There are lots of PHP libraries for creating PDFs dynamically. mPDF seems pretty popular these days: http://www.mpdf1.com/mpdf/ Also check out this guide for using it with PW: https://processwire.com/talk/topic/7025-how-to-create-pdfs-with-pw-and-mpdf/
    1 point
  34. I haven't used it, but there is also this module that might suit your needs: http://modules.processwire.com/modules/process-page-draft/
    1 point
  35. I agree that the PageTable field is not perfect in this sense, but there is a way around this: Set up the Automatic Page Name Format option for the PageTable field and then go to the title field and adjust the settings in context of the template being used for the PageTable field content and uncheck required and set it to hidden. So it's still there, but at least it's not in the user's way. This way the page can be published without the title field. Hope that helps a bit.
    1 point
  36. Perhaps you meant WIX.COM ?
    1 point
  37. Then it sounds like you are running an old config.php file - a version of PW from before that setting was added. You can grab a new version and take a look through to see if there are any other new settings you are missing. I don't recommend replacing it with a new version - you're better off just adding the new settings to make sure you don't break any of your database settings, userAuthSalt etc.
    1 point
  38. That modules issue mentioned above should be fixed now, though let me know if you still experience it. A few interesting mid-week updates for those following ProcessWire 2.5 development (aka the dev branch). Here are links to the blog post about it: The ProcessWire installer now lets you choose a site profile New site profile exporter is far better than the previous Support for append/prepend files on a per-template basis With ProcessWire 2.5 getting very close to release, we could especially use help testing out the new installer if anyone wants to give it a try.
    1 point
  39. php.max_input_vars http://www.virendrachandak.com/techtalk/big-forms-and-php-max_input_vars/
    1 point
  40. Hi Mikkelsen, Look at this TravelinLuxury It's presented here in the showcase as well. I just finished this travelsite using Processwire, including the FormBuilder module, Google Maps and lots of other functionality. If I could be of any assistance, just let me know.
    1 point
  41. Has someone an answer to this question? I would like to make a membership number required but only for members and not for admins.
    1 point
  42. pw lets you access 100 % your current and future creativity. What you already and will know. with pw either design or code (api) a website or do both. Just hang in long enough to see. try to get first the pw concept "that everything is a page" templates with fields and template files ! why all the bootstrap stuff, pw plus pocketgrid is amazing http://arnaudleray.github.io/pocketgrid/docs/ When having an hour to waist go dig this forum, it is loaded with all the content you need to start off. https://processwire.com/talk/topic/4173-grouped-forum-posts-links-articles-tutorials-code-snippets/
    1 point
  43. Try looking on the official PW documentation tutorial it contains all you need. You may also want to look at some video tutorials.
    1 point
  44. This post should be helpful: https://processwire.com/talk/topic/4960-limit-number-of-pages-that-can-be-added/
    1 point
  45. More on Date sorting.. It seems once I open a post, then close, it sorts correctly in descending order. But I can't sort by ascending and when I click on the Date column header it doesn't sort on the fly. All the other columns work fine.
    1 point
  46. Btw, I think I may have found a bug - In the posts dashboard I can't sort by Date properly.
    1 point
  47. Thank you Kongondo and Ryan for these excellent modules! I've implemented this into a site I'm developing and am having an issue... The blog posts are not truncating. I have the summary length set to 150 , but nothing is being truncated. I know when i created a post I'm populating the "blog_body" field and these settings seem to be for the "blog_summary" field (which does is not one of the fields for the template).. From what I can see in the MarkupBlog.module, there is a conditional if summary is empty to pull from the blog_body and truncate. The blog I'm working on is here: http://shootkta.info/blog/ .. If you have any thoughts, please let me know.
    1 point
  48. ABSO-FREAKING-LUTELY BEAUTIFUL!!!!!!! Seeing all those screenshots gets me all excited amigo Thank you for a job well done. This comes in perfect timing for a new project that I started yesterday. GEEZZZ, p-e-r-f-e-c-t.
    1 point
  49. Sorry for spamming (sort of), but just wanted to comment on this one that most (quite possibly all) of the sites we've implemented a blog for have more than one blog. Doesn't sound that far fetched to me: one or more for internal use, one for each division (a lot of our blogging clients are municipalities and they've got a ton of these), one for CEO/mayor, one for each temporary project etc. Also, if you were referring to creating a bunch of user-specific blogs: I've explained this sort of behaviour (in another system) to clients over and over and over and can assure you that, though it may sound like the logical solution, in real world it just doesn't work.. unless you also allow some sort of "blog superusers" to post with any user account, which could introduce an entire set of new problems One typical situation is a CEO or mayor having his/her own blog. Most people of that caliber simply don't have much spare time and blogging is rarely considered a core task, so even if this person does really write his/her own posts, there's a very high probability that someone else handles posting them online.. which is where the trouble starts if each blog is tied to one user. I'm sure you get the point. Anyway, I'd appreciate if you could consider this kind of feature, but I get that it's probably not too high in priority
    1 point
  50. I don't know the drawbacks of this, but I just managed to do make the dynamic stylesheet proposed on css tricks work has a pw template. So, this is how to do it (someone stop me if this is a bad bad thing to do): 1. Create a template file css.php and put all your css code inside. On the top of the file put this code <?php header("Content-type: text/css"); ?>. 2. Create a "css" PW template with that file. 3. Create a "css" page and give it the "css" template. 4. Link to the stylesheet like this <link rel="stylesheet" href="<?php echo $pages->get('/css/')->url; ?>">. 5. use the PW API on your stylesheet Extra: 6. put some fields on the "css" template and use them on your css Examples: the color picker field for colors; an image field with your style pictures (background, logo, etc). edit: onjegolders was faster! edit2: not the same answer. Mine is more interesting
    1 point
×
×
  • Create New...