Leaderboard
Popular Content
Showing content with the highest reputation on 08/08/2014 in all areas
-
hi guys, i'm happy to show you my first project realised with processwire and to say hi the first time here in the forum, although i have been reading, following, learning and liking around here for some weeks now the reason why i did not post any questions is quite simple: all answers for my questions have already been posted (and answered) in the forum/wiki/docs - really great! let me also say thanks to gebeer, who forced me to take a second look to processwire (coming from joomla/seblod and thinking processwire is not worth the effort of changing from a well known system - i was so wrong ^^) So what is "GeoWire"? (http://www.geowire.org) GeoWire is a web mapping tool for creating and sharing web-maps. It's a bit similar to google maps, but you can put your own maps (also all the google layers) and overlays into it and create your own functionality with javascript. First it was a "static" HTML/JS project but within the weeks of development gebeer told me about processwire. So in the end i had my HTML/JS web map viewer ready and thought how great it would be to manage all the code snippets directly on the server with processwire as GUI - you could easily copy your map collocations, drag and drop layers in the layer tree, drag&drop buttons in the toolbar and so on... 2 days later i had the first working prototype ready!!! PW is just wonderful, thank you Ryan+Team! Today i - finally - finished the video tutorials for GeoWire which i published as an open source web mapping tool. Oh man, that sounds so arrogant for me - i'm not a professional developer and i know it is far from perfect, but at least i wanted to give it a try . I would have also put it to GitHub, but i have no experience with it till now and so it was too complicated for me. I hope I am not violating PW by providing GeoWire for download on my website geowire.org? I don't even know if anybody is interested in geowire at all, but maybe it can at least serve as starting point for any other similar projects... any feedback is appreciated. Here is the demo: http://www.geowire.org/demo Maybe you're interested in the videos: The Backend: http://www.youtube.com/watch?v=8sgq8GPYDYo How it works: http://www.youtube.com/watch?v=vxMtAQsKESY How it works in short by an example: The mapPanelToolbar makes this out of that using that code snippet, /* ######################################## ######## mapPanelToolbar.js ######################################## */ Ext.onReady(function() { mapPanelToolbar = Ext.create('Ext.toolbar.Toolbar', { dock: 'top', items: [<?php foreach($page->children as $child) { if($child->include_file) { include('GeoWire/include/'.$child->include_file); echo ','; } echo $child->include_direct.','; } ?>] }); }); that is recursively loaded by the processwire template // create javascript app file from all included code snippets ob_start("makefile"); // include all children of current page foreach ($page->children as $child) { include_file($child); } ob_end_flush(); function makefile($buffer) { if(!wire('config')->dev) { include('GeoWire/JSMin.php'); $buffer = JSMin::minify($buffer); } // take first map if it is homepage $pageid = (wire('page')->id == 1) ? wire('page')->child->id : wire('page')->id; file_put_contents("GeoWire/app".$pageid.".js", $buffer); } happy processwiring and good night Edit: Do you think something like this would be possible or even better put into a module? I know my first version of geowire will soon be outdated as it uses PW2.4 as core, but for the time it was the best way to go and to be honest, i don't know when/if i have the time/motivation to develop this project in future...9 points
-
Actually.. it does. If their certs are not trusted by OS and browser vendors by default, they're pretty much useless for anything but testing purposes On a related note, this is IMHO a good (and very bold) move from Google -- one that I honestly didn't expect them to make, but am happy about nevertheless. Having a secure connection between you and the site you're trying to reach is definitely a plus and should affect the way (and the sites) people browse. That being said, it's going to cause some extra work for a lot of companies and people.. including me6 points
-
pag have status feild have flags $f = $fields->get( 'language_files' ); $f->flags = Field::flagSystemOverride; $f->flags = 0; $fields->delete($f); u see.all fun here https://github.com/ryancramerdesign/ProcessWire/blob/dev/wire/modules/LanguageSupport/LanguageSupportInstall.php#L158 maybe.u just copy+run uninstall func.above ? --- if u do put in non classy func, $this with wire() will u replace // ex. replaces this $field = $this->fields->get("language_files"); // w/this $field = wire()->fields->get("language_files");5 points
-
Yes, you are missing something cool ....You do not need to have a template file named 'abc.php' to use with a template called 'abc'. You can tell PW that you will be using an alternative name for you template file. Have a look at the links I provided. For example, you can have one template file called 'main.php' for use with your template 'events'. Then, you can create a sub-folder called events, i.e. /site/templates/events in which you can place your related template files, e.g. 'details.inc' (or even details.tpl), 'list.inc'...etc...Hope I got you correctly..I have a feeling you already know all these and I am misunderstanding you...slow Friday here!4 points
-
I don't know what exactly you mean by security, but I much ruther see my data go encrypted through the wire instead of plaintext. There may be security holes, but at least the attacker has to do work, instead of just sniffing the traffic and reading it. From what I can remember from a recent talk at google io about ssl, the performance hit of it is mostly the handshake, so with http-keep-alive and some other improvements the difference in performance shouldn't matter that much.4 points
-
<?php $pag = $pages->get( 'name=languages, template=admin' ); $pag->status = Page::statusSystemOverride; $pag->status = 0; $pag->delete(); ?>4 points
-
Like I mentioned in another topic I'm working on a theming system for Processwire. Today I finished a huge step in the right direction: A theme switcher. How does it work It's really easy. Frontend Themes are modules, (I added two testing Themes to the attachment), which only contain the module information (version, author, name, ...). They are based on a module called "WireThemes" which is included, too. WireThemes is the main controlling class. It rewrites the path of "$config->paths->templates" and "$config->urls->templates" which afterwards pointing to the folder of your Theme and contains the installing and uninstalling methods. What I'm still working on ProcessWire's great strength - but in case of theming a big complication - is that you have to/can create fields by yourself. So it's hard to create a theme which fit's on every system. That's why I'm still brainstorming how to make this easier. Possible solutions I see at the moment are: Creating a site profile with the most used fields Creating a json file for ProcessMigrator Hoping that the 2.5 default site profile includes the most used fields so I wouldn't have to change something ... Please try it and tell me about any problems. And if you have additional ideas this is the right place to write about them. Download: https://github.com/NicoKnoll/WireThemes3 points
-
Saving a site profile like Nico mentioned is a great option if you want exactly the same starting point for each site. If you want some more flexibility, there are a couple of other options. One is the new field migration tools built into the dev version of PW. There are template migration tools coming shortly. See here: https://processwire.com/talk/topic/2117-continuous-integration-of-field-and-template-changes/page-6#entry68899 The other possibility is Migrator (https://github.com/adrianbj/ProcessMigrator), which can migrate a page tree and its fields and templates (and template files). With this option you can install the default PW profile and then add in additional components as required. If you think the components are generic enough that others might find them useful, you can even contribute them to https://github.com/adrianbj/ProcessWirePageLists/ and they will be available as an automatic install directly from Migrator.3 points
-
3 points
-
I have hard time understanding the real benefits redactor offers over ckeditor? I mean the acf, plugin architecture and already available plug-ins, inline mode, easy of settings/modification etc are very well done in ckeditor. Is it better looking and few kilobytes smaller? The size is not really an issue imo, since js is cached anyways. Also really pleased to see all the small improvements Ryan has implemented into ckeditor inputfield, which make the usage even simpler.3 points
-
3 points
-
This looks awesome. Been playing with the demo for a while and, though I clearly don't yet understand much of what it's capable of, so far I'm very impressed. Seems like a very good example of building (relatively) large-scale application on top of ProcessWire You were wondering if this would make sense as a module. What I've seen so far makes me think that it probably wouldn't make that much sense. You could move individual features, functions etc. to modules in order to separate some of the business logic and perhaps even parts of markup generation from actual views (template files), but your current structure seems to fit this project pretty well too, so it's entirely up to you. Of course this sort of separation could be achieved simply by moving functions to include files, so a module isn't needed for that either. One quirk in the demo map is that whatever I type in the search field (left toolbar), "Fehler: Zeitüberschreitung der Anfrage in functions.js" is displayed. Perhaps something isn't working quite right there? Sorry, "a bit" off-topic, but this depends on which meaning of "steep learning curve" is used. I'll never be able to wrap my head around steep learning curve meaning that something is difficult to learn -- that's just plain wrong. Learning vs. time make so much more sense3 points
-
Quite a few hosts sell SSL certs far cheaper than you cam buy them directly from SSL companies and they're the same certs. I won't name-drop, but you can get a $249 cert (2048-bit encryption and some other fancy features) for less than half that price from one webhost, so you could choose to see this as a chore or you could ask your host to install it for your clients which will take them a short space of time and be auto-renewed along with the hosting so there's no major headache for you. You can choose to pass the whole discount on to customers or, quite reasonably, add a little markup for the time it's cost you but still come in a lot cheaper than buying a cert straight from the cert providers. Everybody wins and the internet is a little bit more secure with each site that switches2 points
-
Yes, I have added three fields to the template: mainid, subid and tag. I use an array with a predefined structure that I use for adding pages via API: $struktur = array( 'grundlagen' => array( 'elektrotechnische-physik', 'stromkreisgesetze', 'elektrotechnische-chemie', 'wechselstrom-und-wechselspannung', 'signal-und-energiequellen', 'messtechnik', 'praxis' ), 'bauelemente' => array( 'lineare-und-nichtlineare-widerstaende', 'kapazitive-und-induktive-bauelemente', 'halbleiter', 'transistoren', 'integrierte-schaltungen', 'sonstige-bauelemente', 'praxis' ), 'schaltungstechnik' => array( 'grundschaltungen', 'transistorschaltungen', 'stabilisierungsschaltungen', 'anwendungen-mit-operationsverstaerker', 'praxis' ) ); Here a bit simplyfied the import process: foreach($struktur as $main => $subs) { $mainPage = $pages->get("/$main/"); // let out the check if the mainPage exists or need to be created here foreach($subs as $sub) { $subPage = $pages->get("parent=$mainPage, name=$sub");// let out the check if the subPage exists or need to be created here // ... execute code for fetching the urls for this subPage here ... foreach($urls as $url) { $dump = @file_get_contents($url, false, $context); if(!$dump) continue; // fetch or create this page $newPage = $subPage->child("source_url={$url}"); if(0==$newPage->id) { // create a new page $newPage = new Page(); $newPage->parent = $subPage; $newPage->source_url = $url; $newPage->tag = 'page'; // can be one out of main, sub, or page $newPage->mainid = $mainPage->id; // store main parent id $newPage->subid = $subPage->id; // store sub parent id ... (template, title, name, etc) $newPage->save(); } $assetsUrl = '/site/assets/files/' . $newPage->id . '/'; // ... parse and adjust the body content, store it into $newContent ... $newPage->of(false); $newPage->body = $newContent; $newPage->save(); wire('pages')->uncache($newPage); } } } This way i have all needed information in the contentpage itself. In my search template I use $selector = "title|body%=$q, tag=page, limit=$limit"; $matches = $pages->find($selector); $selection = array(); foreach($matches as $match) { $selection[$match->id] = $match->id; if(0<intval($match->mainid)) $selection[$match->mainid] = $match->mainid; // add involved mainPage to the ids if(0<intval($match->subid)) $selection[$match->subid] = $match->subid; // add involved subPage to the ids } In my case here this was all to do to get it working with the above posted renderNav4. Into the generated output of the renderNav4 I have added css classes: "<li class='main{$item->mainid} type{$item->tag}'>" I only need to lookup the ids of the three mainPages and add these lines to main.css: li.main2908 a, li.main2908 { color: #465E8A !important; } li.main2916 a, li.main2916 { color: #5B7D12 !important; } li.main2924 a, li.main2924 { color: #AB5D65 !important; } In the sidebar I display the list of the next higher level. It is a really nice and functional site what doesn't take much effort because of Ryans new minimalistic SiteProfile in dev-branch. I only had to manage the import and had to modify the renderNav function into two different behaviours. I love ProcessWire Screenshots:2 points
-
Hi Enrico, Welcome to PW and the forums... As for template files, the have to go inside site/templates but remember you can use includes in your template files to grab other files in other folders or sub-folders... Have a read here: https://processwire.com/talk/topic/740-a-different-way-of-using-templates-delegate-approach/ http://processwire.com/api/templates/ http://processwire.com/docs/tutorials/how-to-structure-your-template-files/2 points
-
You don't have to make a module. It's called "Site Profiles" you're looking for. https://processwire.com/talk/topic/530-profile-export-module-also-upgrade-pw-20-to-21/2 points
-
I think Manfred is trying to point out some potentially unwanted behaviour in the midst of what are neat new features The problem I encountered on a fresh install is that if you check for new modules it brings up ALL modules. They were of course all installed recently, so technically it's correct behaviour, but when you are setting up a new site and installing new modules from the modules directory and other sources, it makes them harder to find in the list. I think the easiest way to fix it would be to have it ignore modules in the /wire/modules/ directory when checking for things like new modules in the last day etc. Possibly ryan has already fixed it as I tested this about 5 days ago.2 points
-
A client has asked for a grid (table-based) calendar display on their website. I don't want to spend hours reinventing the wheel, so I thought I'd ask: Does anyone know of existing calendar software that could integrate with Processwire? I found this example and it seems like it may be a good start, but I'm not sure how to use it with PW. Any suggestions would be welcome. Thanks.1 point
-
1 point
-
I don't think I am missing anything here. Isn't it as simple as echo'ing $t->id ? You have t->id1 point
-
Hi zwergo - very interesting project. I've done a few jobs with maps before but this takes things to a whole new level1 point
-
No worries. Just being curious. Figured out some stuff myself. Will post something later on.1 point
-
1 point
-
Hi Martijn, not nitpicking at all. And not a bad idea. Checked my profile settings but can't find that setting......it's clearly end of the week... Congratulations by the way..... 1.500 likes milestone1 point
-
1 point
-
@reems, i'm nitpicking here: You've exposed the edit link for guest users. If you don't really need it, it's better to show it only if a user is logged-in.1 point
-
How many templates you have? I think maximum amount of template files I have had is around 20. Its possible to use same template file for multiple templates - see the alternative template file setting.1 point
-
1 point
-
Yes, I know with one friend's eCommerce site, I moved him over to full SSL (rather than just the cart) and there was no obvious hit on performance at all, even though he was on a shared server. The two main things about it are probably just the cost (which is not huge, but yet another cost all the same) and the annoyance of remembering to renew the certificate. Also, some hosts seem to have a frighteningly complicated procedure you have to go to get it up and running - a real minefield for the small website owner who is possibly trying to do it all themselves.1 point
-
Interesting - thanks guys. I've installed CK editor and it's an improvement. I've used it before across other CMS and IMHO it's still too much clutter. Technically it seems to work well and there are plenty of great options. Just wish we had the cleanliness of redactor and less of those 90s pop ups etc1 point
-
this give me some questions...(don't think g00gle is bad! but think that they didn't do something without a idea behind...) - Did g00gle have buyed some companies that make money with httpS ? - Is it real a secure (or more secure) fact that https helps here? https is more expensive without a real security and more effort or work to get a good performance. but there was 2011 successful "man in the middle" attacs against https banking sites in germany... for big userdata it is the option to choose but for a normal page?? we will see - g00gle ansounced often some things to see whats happen and first then they act. only some thoughts from a non pro webmaniac....1 point
-
thank you all for your feedback! thank you teppo for clarifying the learning curve pwired, that's quite funny because i had to record the sound with my mobile phone and then put it all together afterwards because i'm on vacation in the mountains and nobody here had a headset to borrow that's why i also had to cut down quality of the videos... internet here is even slower than me talking english ^^ teppo, you're right! for some reason (can't remember why exactly right now) i had to put 3 files in the root directory of processwire: download.php, ortssuche.php and proxy.php and i forgot to put them in the geowire zip file (and the demo). now at least this part works fine and throws an ajax-request to google geocoding service. when you click on the result, it sets the marker to this location and centers the map. hehe. thank you. the intention was to build something similar to google maps but with your own maps and data (you can easyly setup your own mapserver (eg http://geoserver.org/)). for the time it is capable of the features you see in the demo like measuring distances, coordinate conversions, displaying different overlays over different basemaps and grouping them all together in one layertree. as i said above this was all static HTML/JS (ExtJS) and it would have been a pain to create and manage different map constellations! you would have had to copy+paste lots of code to lots of different files/places and if you had to change something "global" (eg support telephone number), you would have had to change it in every single map. because of that i switched it to processwire (and of course to try PW and learn it's concepts ) and it was really a breeze! so the benefit of processwire in that case is managing your maps (copying, adapting all by drag+drop and a few clicks) and extending functionality in a plug-in like way (either to put the code directly in the appropriate field in the pagetree or including a file with that code for global code snippets). of course that's a very specific field of use - but i thought for that very reason it could be interesting for some of the PW community ...you could use it for example for organisations like ambulance, firebrigade or military in case of any desaster. they could create custom maps of their missions, make them available over internet, secured via password or similar and share all the relevant data with all people involved (eg actual water levels in floods, avalance risk during winter and so on...1 point
-
Solved, finally! Session: Module Install - LanguageSupport Session: Installed ProcessLanguage Session: Created field: language_files Session: Created fieldgroup: language (164) Session: Created Template: language Session: Created Default Language Page: /..... Session: Installed ProcessLanguageTranslator Session: Created Language Translator Page: /..... Session: Created Langage Field: language Session: Added field 'language' to user profile Session: Added default language to 41 user profiles Session: Language Support Installed! Click to the 'Setup' menu to begin defining languages. Session: Module Auto Install: ProcessLanguage Deleting everything, seems to be the solution. Thank you all for your help.1 point
-
Just a head's up - as of today, the dev version of PW now supports CURL if allow_url_fopen is disabled (https://github.com/ryancramerdesign/ProcessWire/commit/bbd7569de8f9b398d35e2a12226a4e34b1224bf8) so if your host supports that by default, you may not need to do any modifications to get modules downloading automatically.1 point
-
@zwergo, I took the freedom to correct the links in your post, the "watch?v=" part was missing. Hope you don't mind.1 point
-
Love it Read the site, looked interesting. Clicked on the join the CAcert Community link, and.... The site's security certificate is not trusted! You attempted to reach www.cacert.org, but the server presented a certificate issued by an entity that is not trusted by your computer's operating system. This may mean that the server has generated its own security credentials, which Chrome cannot rely on for identity information, or an attacker may be trying to intercept your communications.1 point
-
If you all read and review carefully, you'll notice that Ryan has not posted but has "Liked" many comments and replies here. He is very well aware of your opinions and wishes - as he always has!!! He's the one that adds all the valuable core necessities. I think it is awesome beyond awesome that we have such a leading developer that tailors HIS project to OUR wishes. The idea of templates and site profiles is a good one. They already exist! Not as simple as "One Click". But if you are a developer, designer, web oriented tech savvy person, it's just as simple to download a site profile and extract into the appropriate folder. This "One Click Theming" idea was made insanely popular by the folks that made WordPress, and frankly it is something that ProcessWire should probably avoid! Personally: I don't need it. I don't want it. So far, every ProcessWire site I have created has been 100% totally custom. The ONLY thing that I have reused or duplicated is my beloved Foundation CSS framework. Other than that, the sites are completely different, different jQuery plugins, different ProcessWire modules, different everything. When I think of templates, I think of these: http://foundation.zurb.com/templates.html If Ryan and the rest of the ProcessWire team should lean towards the way of offering templates and themes, then they should offer a small variety of layouts with different content. A generic Blog template could have title, author, publish date, summary, images fields, etc. with comments or without?! A generic Orbit template could have title, image url, image description, etc. for various images. A more advanced Realty template could have address, phone numbers, map coordinates, various images, etc. A search feature. A simple drag and drop prior to installation. And then when installed, all the fields and templates would be prefixed with an easy to distinguish name to connect them all together, so noobies can see how it all works. There are so many ways to do things in ProcessWire (it's a beautiful thing - ain't it?). Templates and themes shouldn't be any different. Keep it out of the core. Contributing users can offer their own site profiles (as they already do on girhub/elsewhere). Provide a nice interactive click through demo on their own site, or demo.processwire.com/template=?XYZ1 point
-
Well, damn it! I will refrain from posting for the rest of the day. Maybe tomorrow I will be awaken... Anyway Manaus, there is your answer. Parent and children in one go.1 point
-
Maybe you could even include auto recognition. Like calling the exported file "update.json" and put it into the main dir and the module recognizes it and asks you if you want to use this file for updating. Afterwards it deletes the file. Would be that great!1 point
-
I have made some nice progress: DeliveryPost done, which asks post address + email.These DeliveryModules pretty much control the whole checkout process (and also adds some admin actions). This is the part of the shop that I guess will be most often customized. It also keeps things simple, when your needs are simple. module that hooks into DeliveryPost and adds shipping options order events (or order history - what has happened and when) Oh, and the module has a name: PadLoper (named after cute turtle species) Here are few teasers:1 point
-
Hi Matthew - thanks - i do take your opinion very seriously and have followed your thread about the outage(s). So right now i'm on Servint, and the site seems to be running well; haven't had any major issues yet, and the support has been responsive. This is my first time ever using anything other than reseller shared hosting, and the performance of the server has been very good, and the scripts i need to run on there have been really running well... As it was quite a bit of work to migrate the client's cpanel account over to Servint from the previous shared host, i have my fingers crossed that I won't need to move again.. but I will post back here some further updates and ratings for this server, specifically the performance and uptime. This one is in the DC datacenter.1 point
-
As for feature set: my aim is not to solve each and every e-commerce situation there is. I would consider this more for "small shops" at this point, haven't tought about scalability for hundreds thousands orders for example. Here is short feature lists what I have so far and what I am planning for release: E-Commerce modules: Shopping cart Support for different delivery modules (these changes whole checkout process, what fields to ask from customer, what to show after payment success / fails etc. Currently I have done "DeliveryEmail" which only asks email address from customer and then sends email confirmation with possible download links. I will implement more general "DeliveryPostage", where we ask postal addresses also) Support for different payment methods (currently stripe implemented, looking for paypal too for the release - payment methods are independent, so they can be used in other projects too than only this shop) Admin page to manage downloads Fieldtype to attach downloads to products (products are always pages) Since products are pages, support for variations etc are easy: just use repeaters or PageTable. Admin page to manage orders: printing packing slip, mark them as delivered etc... (50% done) Admin page for simple monthly reports (todo) Multiple taxes and taxes for products (todo) These E-Commerce modules are planned in a way that first you build your product catalog (just using ProcessWire) and then install these modules (only those modules you need). So in a way these are quite a "transparent" glue there. Shop profile (might implement this after the beta period): Starter profile for "full featured" shop: product template, categories, tags, product search, related products etc... Can be used as a standalone shop or just for educational purposes (look how certain features are implemented and add them in own store).1 point
-
Renobird, Would you be so kind to share some code examples of how you have been using this?1 point
-
I would support you if any possible. Would love to have a stable shopping system on PW base (including, taxes, currencies, different porto, etc.). Maybe we could just start with making a list somewhere to collect stuff that needs to be included and stuff that could be included (like stripe checkout or stuff like this). What do you think? Btw.: I really often need to implement a shop so this would be really great. Maybe we could even raise some money if this allows you to put more work into it (Going to write you a PM)1 point
-
@Ryan, I've been meaning to mention how awesome these additions are, I use implode() and data() a ton. data() has been particularly useful for passing stuff to markup files.1 point
-
This thread is used as a place to collect: 1. links to posts in the forum answering (repeating) newbie questions 2. links to posts in the forum and elsewhere on the net giving good insight in processwire 3. links to good articles about processwire 4. links to good tutorials posted in the forum 5. links to movie clips 6. links to posts in the forum talking about modules 7. code snippets or links to code snippets 8. Usefull Helpfiles Many good posts that answers (repeating) newbie questions or give good insight in the how and why of processwire, links to tutorial posts, (also on the net), movie clips, clarifying articles and code snippets are spread over the forum. PM me if you know a link. About this kick start see this post: http://processwire.com/talk/topic/4143-wordpress-dominates-19-of-the-web/page-2#entry40910 This is a work in progress, it takes time to make it grow bigger and better. = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = STARTING NEWBIES AND DESIGNERS Link1: Starting and growing with processwire. https://processwire.com/talk/topic/3990-another-simple-photo-gallery-tutorial/page-4#entry61069 Link2: I am basically a designer with some programming skills. My question is this: Can I go ahead to use processwire for this even though i am still learning php. http://processwire.com/talk/topic/3954-starting-out-with-website-intranet-and-internet/ Link3: Feeling overwhelmed http://processwire.com/talk/topic/3215-newbie-overwhelmed/ Link4: Questions concerning PW and it's capabilities http://processwire.com/talk/topic/1557-questions-concerning-pw-and-its-capabilities/ NEWBIES FIRST CODING QUESTIONS link1: Using a default install, I'm stepping through the tutorials, templates, etc and trying to understand the basic concepts behind processwire and at this point in time "head.inc" & "foot.inc". http://processwire.com/talk/topic/3421-footinc/ Link2: I am puzzled why some html tags are starting in head.inc but don't end in head.inc Instead they are ended in foot.inc http://processwire.com/talk/topic/3388-question-about-headinc-and-footerinc/ Link3: Question about not using ?> in processwire http://processwire.com/talk/topic/3370-question-about-missing/ Link4: After you installed processwire, it comes with a default website. What is the best way to fill in your own website ? How do you replace the default processwire website with your own ? http://processwire.com/talk/topic/3379-how-to-fill-in-your-own-website/ Link5:How much extra work/time will I have to put in, as far as understanding and writing php and getting the hang of the PW system, just to be able to create the same responsive designs I would make in HTML/CSS/Javascrip, while also achieving the easiest type of content editing capabilities (in line with what you can get with a CushyCMS type product)? http://processwire.com/talk/topic/3961-new-to-cms/ Link6: I realize what I am confused about was really something quite basic, such as where are the snippets of php code go beside on templates? Can they go on a page as the value of body field for example? http://processwire.com/talk/topic/3383-back-to-basic/ Link7: I'm stuck in something that should be very simple. http://processwire.com/talk/topic/3720-my-first-doubt-using-pw/ Link8: Several questions before I can start. http://processwire.com/talk/topic/3589-several-questions-before-i-can-start/ PROCESSWIRE CMS INSIGHTS Link1: Reading this thread makes you understand processwire real quick. http://processwire.com/talk/topic/5667-help-a-noob-get-started/ Link2: Very good case study from RayDale giving good insight in processwire http://processwire.c...a-a-case-study/ Link3: Symphony or Processwire ? Another good insight. http://getsymphony.com/discuss/thread/79645/ ARTICLES Link1: Why he choses processwire over modx http://www.mademyday.de/why-i-chose-processwire-over-modx.html COMING FROM MODX ? Link1: You've been using MODX but now you've found ProcessWire. It’s totally amazed you and you can’t wait to get started. But…you are wondering where everything is. If this is you, read on… http://processwire.c...ning-from-modx/ Link2: A MODX refugee: questions on features of ProcessWire http://processwire.com/talk/topic/3111-a-modx-refugee-questions-on-features-of-processwire/ Link3: Code comparison between modx and processwire. http://processwire.com/talk/topic/2850-processwire-for-designers/page-2#entry30349 COMING FROM DRUPAL ? Link1: How to move your site from Drupal to ProcessWire. http://processwire.c...ndpost__p__8988 PAGES IN PROCESSWIRE Link1: Understanding pages in processwire http://processwire.com/talk/topic/5667-help-a-noob-get-started/page-2#entry55820 Link2: More about the function of pages in processwire http://processwire.c...fused-by-pages/ Link3: How to hide Pages from the Topnavi via Adminmenu http://processwire.com/talk/topic/2037-how-to-hide-pages-from-the-topnavi-via-adminmenu/ TEMPLATES IN PROCESSWIRE Link1: A good post with code examples to start a template http://processwire.com/talk/topic/43-template-tutorial/ Link2: Template design a better route http://processwire.com/talk/topic/2782-template-design-better-route/ Link3: A different way of using templates http://processwire.com/talk/topic/740-a-different-way-of-using-templates-delegate-approach/ FRONT-END / BACK-END Link1: ProcessWire Setup and front-end editing made easy http://processwire.com/talk/topic/2382-processwire-setup-and-front-end-editing-made-easy/ Link2: Creating a front-end admin http://processwire.com/talk/topic/2937-creating-a-front-end-admin/ Link3: How would I build functionality and write information from the front-end to the back-end? http://processwire.com/talk/topic/2174-writing-from-front-end-to-back-end/ Link4: Is it possible to create a custom login page like a template ? http://processwire.com/talk/topic/107-custom-login/ Link5: A "members-only" section in the front-end. Integrating a member / visitor login form http://processwire.com/talk/topic/1716-integrating-a-member-visitor-login-form/ Link6: Trouble deleting pages from the front-end. http://processwire.com/talk/topic/2290-trouble-deleting-pages-from-the-frontend/ MODULE Front-end Edit. It turns the content of $page->body into a clickable area and gives the ability to frontend edit the content via tinyMCE http://processwire.com/talk/topic/3210-module-frontend-edit https://github.com/Luis85/PageInlineEdit/ MODULE Fredi, friendly frontend editing. http://processwire.com/talk/topic/3265-fredi-friendly-frontend-editing/?hl=fredi http://modules.processwire.com/modules/fredi/ MODULE Admin-bar Provides easy front-end admin bar for editing page content in ProcessWire 2.1+. http://processwire.com/talk/topic/44-is-there-way-to-get-information-about-current-user-in-templates/ http://processwire.com/talk/topic/50-adminbar/ http://modules.processwire.com/modules/admin-bar/ MULTI LANGUAGE WEBSITE IN PROCESSWIRE Link1: Multi-language website page names / URLs http://processwire.com/talk/topic/2979-multi-language-page-names-urls/ Link2: API http://processwire.com/api/multi-language-support/multi-language-urls/ Link3: The name of the default language can't be changed in Pw, but the title. http://processwire.com/talk/topic/4145-recoverable-fatal-error/#entry40611 ADD NEW USER TO YOUR WEBSITE AND PASSWORD RESET Link1: Integrating a member / visitor login form http://processwire.com/talk/topic/1716-integrating-a-member-visitor-login-form/?hl=%2Bpassword+%2Breset#entry15894 Module http://processwire.com/talk/topic/2145-module-send-user-credentials/?hl=%2Bpassword+%2Breset BASIC TUTORIALS FOR NEWBIES Link1: Approaches to categorising site content http://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/ CODE SNIPPETS AND FUNCTIONS Link1: Get page id from images object https://processwire.com/talk/topic/6176-get-page-id-from-images-object/ Link2: Function to render Bootstrap 3 carousel markup from ProcessWire images object https://gist.github.com/gebeer/11200288 .HTACCESS EXAMPLES ON YOUR HOSTING SERVER Example1: A working .htaccess file. The issues were that the .htaccess file must exist on the server before installing processwire and that the server did not allow options in the .htaccess file. After fixing that processwire could be installed on the server without any problem. Note that such restrictions might be different on your server that you need to find in the faq of your host. RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,NC] HTML KICKSTARTER Link1: How can i integrate HTML Kickstarter with processwire? http://processwire.com/talk/topic/2731-how-can-i-integrate-html-kickstarter-with-processwire/ MOVIE CLIPS Field dependencies are coming in ProcessWire 2.4. Field dependencies are basically just a way of saying that one field depends on another. It dictates which fields should be shown in a given context. https://www.youtube.com/watch?feature=player_embedded&v=hqLs9YNYKMM HELP FILES Cheatsheet Link1 Cheatsheet 1.1 as pdf file Download: http://processwire.com/talk/index.php?app=core&module=attach§ion=attach&attach_id=1299 Link2 Cheatsheet is now a processwire site (great work by Soma) http://cheatsheet.processwire.com/pages/built-in-methods-reference/pages-find-selector/ INTERVIEWS Link1: About the history and coming to be of processwire http://processwire.com/talk/topic/4084-about-ryan-and-processwire-an-interview-with-ryan-cramer/1 point
-
Don't think this marked solution is the solution? It's very simple. First it's always nice to know what multi-language approach you use since there's multiple ways. If you use the LanguageSupport modules with LanguageSupportPageNames also installed (which I guess you use), you'd set the language segments on the home/root page. There you'll find a name for each language. Let's assume you have german default and english alternative language, you'd probably set the name to german: "de" english: "en" This will result in urls like /de/meineseite/ and /en/mypage/ Default name could also left empty, so there won't be any language segment for it and only be /meineseite/. So, but you name them "startseite" and "home" which is strange as this would result in /startseite/meineseite/ and /home/mypage/, which is not desirable I think. So taking the language segments as described before a language switch using $page->localUrl(language) will return the correct url to the language. On the homepage this would result in domain.com (always default language, unless you set option to redirect to /de/ in LanguageSupportPageNames module) domain.com/de/ domain.com/en/ The language is always evaluated from the requested URL, and $page->url will always return urls of a page according the current language. You can get a localized url of a page explicit with $page->localUrl(language).1 point
-
What's stopping a client from opening devtools? If clients care enough to look at source code and actually base an opinion (negative or positive) on that, i think they are well aware of optimizations like minimize and they actually applaud you for that, or you could tell them: "we minimize (and concatenate) the output for optimal performance, especially on mobile". Keeping cr/lf in there seems an in-between, for no real reason. To me minimize means minimize, but to each it's own i guess.1 point
-
@Joss Take a look at Semantic UI and UIKit1 point
-
Use $this or wire(). You can use fuel but Ryan once explained it's deprecated and an old artifact using it.1 point