Leaderboard
Popular Content
Showing content with the highest reputation on 09/26/2014 in all areas
-
I found ProcessWire by accident after searching for a lot of days a new way to develop website that worked for me. When I was giving up I read about this amazing cms/cmf in a comment of a thread. I come from Adobe Dreamweaver Developers Toolbox a project that was closed some years ago and I want to advice people to give a try to PW because it is really unique and very simple to use also from designer point of view. For sure you have to learn something but you will understand that everything is well thought and nothing is left to chance. PW is flexible, secure and very easy to learn The forum assistance is wonderful and very kind with novice user. I was never stuck and had to wait very little time before a useful and valuable response. IMHO one thing that PW miss is massive list of tutorial but I think it is only a matter of time and I hope to personally contribute soon in this respect. The forum is full of info but it is faster learning from tuts. Thank you Ryan (you are a genius) and thanks to all the people that make this possible. PW is wonderful!13 points
-
This module displays tutorials according to the page where you are (based on intro.js). It also displays useful links. It is in process. Suggestions and reviews are welcome. To test the module go to modules or pagelist after install. Done: - PageList - Modules To Do: - Access -User, Roles, Permissions - Setup -Templates -Fields -Languages -PageEdit -Search Github12 points
-
This is a simple module to prevent guest users and search engines from accessing to your site. Primarily it is designed for use during site development. Modules directory: http://modules.processwire.com/modules/protected-mode/ Github: https://github.com/adrianbj/ProtectedMode Install and check the "Protected Mode" checkbox Create a user with only the guest role and give the login details to your clients/testers. Of course existing admin users can use their personal logins still. There are some similarities with Pete's excellent Maintenance Mode module, but the reason I built this, rather than using Maintenance Mode is: I didn't want the "Maintenance Mode" badge showing up on the site since this is for development before a site has ever been live and I didn't want the client seeing that badge. I didn't want users redirected to the PW login page because I didn't want visitors to see the PW login page. I know the module has the option to redirect to a custom page, which you could use to make a front-end login form, but that seemed more complex than I needed (and I think other PW devs might also need). Because of the way this module replaces Page::render with the login form, visitors can be sent to any page on the site, and once they login that page will reload with its full content - no messing around finding the page again, and no need for sending page ids through the login process to redirect back. This module also lets you configure the message that is displayed along with the login form, and also apply some css to style the login form. Hope you guys find it useful.11 points
-
This module allows the page name to change when the title is edited. Modules directory: http://modules.processwire.com/modules/page-rename-options/ Github: https://github.com/adrianbj/PageRenameOptions I'd love to think that this module was not necessary for me but, especially during development, I find that page titles often change and I'd really rather have the names/urls match the title. I don't think you can expect clients to remember to change the name when they change the title, or even if they do, they still have to get it right which can be a challenge with a long article names with characters not allowed in page names. With none of the config settings checked, the default behavior is to have the page name always match changes to the page title, but allow the user to manually edit if they want. The options allow you to protect initial differences (changes you may have made as a user with an exempt role), completely disable manual changes, or protect manual name changes from subsequent changes to the title while editing. My preferred settings are to set the exempt role as superuser, and check "Initial Differences Protected" and "Prevent Manual Changes". CONFIG SETTINGS Exempt Roles The selected roles will not be subject to any of the rules below. The name will change automatically with the title, but they will be able to manually edit the page name as desired. Excluded Pages Pages that are excluded from the actions of this module. Changing the titles of selected pages will behave as though this module is not installed. For multi-language sites it is recommended to select the site's homepage. Initial Differences Protected If checked, further changes to the name (to match a changing title) will not happen if the name is already different from the title (evaluated on page edit initial load) Prevent Manual Changes If checked, it won't be possible to manually edit the name. If checked, this will disable the "Live Changes Protected" setting since it won't be possible to make any manual changes. Live Changes Protected If checked, further changes to the name (to match a changing title) will not happen if the name field was manually changed at any time during the current page edit. Please test the behavior of each setting thoroughly so you understand what each one does! Please let me know if you have any further requirements around permissions / role access to the module's functionality.7 points
-
I don't think developers need something like this (I would be annoyed at least), but it's a perfect solution for showing clients around! I would focus on that, making the module completely configurable so the developer can prepare a nice presentation of the interface once the site is finished. I would use it for sure6 points
-
I'm using the page=image as with ImagesManager in some big project where there is or will be 100'000+ of images to manage. I have then built a fieltype I can select and insert them to a page from all those via filtering/search (ajax). We never insert image into a textarea via TinyMCE or CKeditor image dialog because it's cumbersome to use and manage, we rather use hanna code to have them inserted in a more controlled way (if at all), but often the better option is to use PageTable or repeaters to create block with text and image. This system is ultimatively flexible and PW provides all the foundation to use it how you want and need (unlike any other CMS media system). It's just a matter of creating some simple modules that may help you in that regard. PW is still in it's beginning and will certainly grow in that regard with modules that help with asset management. I just don't have the time to spend on that to share with the community. But time will tell.5 points
-
Sorry, pages is the easiest way I guess. Say a stallion has 50 or more children, how to manage that not relational?4 points
-
Kudos, blad, this is impressive and has huge potential! The irony of the proposal to tailor these modules to end users/editors is, that at least in my experience all of my customers praised the ProcessWire backend for its self-explaining quality. Other CMS need such a tool 1000 times more, but haven't. ProcessWire got two of them within a few days4 points
-
There are some flavors of Windows/DOS that are not case sensitive when it comes to comparing filenames. So some operationg systems consider "processwire.gif", "ProcessWire.gif", "PROCESSWIRE.GIF" and "PROCESSwire.gif" to be the same filename. If PW would allow the case sensitive differences in file names you could imagine this will have consequences. Imagine this: I upload a file called 'ProcessWire.gif' on wamp installation, then I upload on the same page 'PROCESSWIRE.GIF', now 'PROCESSWIRE.GIF' overwrites 'ProcessWire.gif'. Filenames in ProcessWire need to be used in URL's so the filenames should be compatible with the rfc3986 standaard. This leaves us with a restricted set of characters minus the uppercase characters.4 points
-
hey blad, looks great from what i see in the screenshot! do you know nicos version? https://processwire.com/talk/topic/7666-getstarted-a-module-that-helps-first-time-users-to-understand-processwire-faster/ maybe you can also host one version of your module at lightning.pw for everyone to try?4 points
-
3 points
-
@blackeye1987 Maybe this could add the functionality in a simpler way. https://processwire.com/talk/topic/7588-admin-custom-files/3 points
-
As I said here https://processwire.com/talk/topic/7728-module-firststeps/?p=74939 I think Blad's module would be perfect for showing around to our clients much more than new developers or designers. For those, Nico's is better because it shows the right places to learn. EDIT: hey, what happened to the link? This forum is crazy sometimes...3 points
-
OK, I have a quick fix for you. Replace the attached file. It was a problem with the parsing of currencies with two codes. The Mexican Peso was: MXN MXV Mexican Peso Mexican Unidad de Inversion (UDI) $ But if you change it to: MXN Mexican Peso Mexican Unidad de Inversion (UDI) $ everything works fine. The reason I attached a replacement is that you need to make sure there are tabs in the correct places within that line. Seems like there needs to be a change to the parsing logic here to account for currencies with more than one code, because right now, the code that is being sent to the Open Exchange Rates service is "MXN MXV". There are actually several currencies with the same problem. if(substr_count($line, "\t") < 2) { list($code, $name) = explode("\t", $line); $symbol = ''; } else { list($code, $name, $symbol) = explode("\t", $line); } I am not sure what the extra code is about anyway, so maybe Ryan will Chime in. He will either need to remove the extra code from the txt file, or parse it out before sending to the service. Github issue submitted: https://github.com/ryancramerdesign/ServiceCurrencyConversion/issues/1 currencies.txt3 points
-
If you can access your site from another Windows computer and have no problems with CKeditor, then the issue still points to your PC. Next , you should see if you can access another PW installation so you can rule out any problems with the PW site(s). If you can access CKeditor on the other PW site then you have an interesting problem. Most likely you should still have the same problem which points back to your PC. If that's the case, then you will need to troubleshoot when the problem started occurring. You will need to take a look at any updates or new software added to your Windows 7 machine. That may be hard because most people don't really keep track of things like that. The fact that you mentioned Zonealarm peaked my interest, as it's always something to look into when dealing with issues on Windows PCs. Zonealarm has had many problems with Java versions in the past, however that doesn't mean that this is what's going on now. It just means you need to take a good look at you firewall setup and configuration. The main point is you need to quickly isolate where your problem is occurring, so you won't waste valuable time chasing ghosts. Good Luck on sorting this out. Best Regards, Charles2 points
-
Yes a big big "Thank you" to Soma for his approach!! I used this too and setup a admin page with the imagetree itself to manage them easy. Imagemanager was not really that what i want - but the structure is great. First pic shows a own AdminCustomPage with diogo's module and second pic shows a little jquery mod where i set the &modal=1 to the edit links on this adminpages....works great 20 lines code. Users can choose a image from the insert image dialog in the Editor or i build up little gallerys with an pagefield! PW is great with images, too - you can have the structure you need. All pic related to the content like productimages (makes sense) or for sites that using less images from one central managed folder/image structure to choose it is easy possible, too. Again thanks to soma for this - i'm using your files as pages approach, too!! ALL ARE PAGES ;)2 points
-
Hello, Your question is answered here: http://wiki.processwire.com/index.php/Including_a_page_in_another_page2 points
-
There's an issue at GitHub related to filename conversions: https://github.com/ryancramerdesign/ProcessWire/issues/305. Technically this would be an IRI, no longer an URI (like Martijn pointed out above), but supporting that in the specific case of files might actually make sense. Personally I'm more interested in supporting non-ASCII characters in filenames than uppercase/lowercase. I'm not familiar with the issues Martijn mentioned, but it would be interesting to know how widely spread they are. If they affect Windows > XP, then it's probably worth considering2 points
-
thanks for the video - that's the most comfortable way to get a good impression i like your module a lot and think it would be a great addition to the basic profiles!2 points
-
I didn´t know that module :S I'll upload a video of 10 seconds. Thanks! edited: or 40 seconds...2 points
-
Don't repeat data, connect it. I don't have time to go deeper than this now, but the post that Ivan linked to is very clear and easy to follow, give it a read and you will understand what I mean.2 points
-
Yes, it can and PW is the best tool for it. But it is an intermediate if not advanced task. You should have a look at the Scyscrapers Profile by Ryan to get a first approach. In addition, there are plenty threads in the forum dealing with similar topics from which you can learn more about how to do it. Another example from my mind ist this topic: https://processwire.com/talk/topic/7511-greggorrautocom-bootstrap-design/ However, you may want to make yourself familiar with the basics and come back with more specific questions.2 points
-
You are right. But instead relying on a canonical I just used a PW solution: if($config->httpHost == "aureliusinvest.com"){ $english = $languages->get("en"); if($page->viewable($english) && $page->url != $page->localUrl($english)){ $session->redirect($page->localUrl($english)); } } Basically: If user accesses the site with the .com domain I check if there is an english version of that site and redirect to that one. Only if the current page isn't already the right one. Since session redirects are 301 by default, Google should index correctly.2 points
-
2 points
-
.inc is sometimes (including in the "Essential PHP Security", unless my memory fails me) considered bad practice, mainly because it has to be separately handled by .htaccess rules. If .htaccess fails for whatever reason, your .inc files are suddenly world-readable. Though a lot has to go wrong before this can happen (and even then it's usually far from critical), so far I haven't heard any compelling reasons to use .inc instead of fail-safe alternatives, such as .php (or .inc.php, if that .inc is somehow really important).2 points
-
They are either included in template files with the php include statement or autoincluded in site config file. You can read this wonderful tutorial to get all the nuts and bolts quick. They also can be included in the admin in the FIles tab of the template edit page.2 points
-
Ralf needed a parental Pedigree and I helped him to setup a very basic site. I quite liked the building of it and it resulted in doing 'to much' just for fun. I Asked Ralf if I could make it to a site profile so that someone else could profit from it to. Horse template Family Tab (Horse template) Pedigree (d3js) Unfinished Horse ( Horses created by Pagefield, but not yet edited ) Menu building /processwire Menu front-end / Download The Profile: pedigree_profile.zip2 points
-
Adrian - superb! I guess the problem with having a separate currency symbol on a different line could cause problems when you use the module round the other way and rather than asking for a conversion with symbols you can pass it country names to return symbols I think.. meaning it may bring back two. but for me.. solver it perfectly. Cheers1 point
-
And if you want to make it the default for all users, add this to your config.php file: $config->defaultAdminTheme = 'AdminThemeReno';1 point
-
1 point
-
I am guessing you are using a page field on each page to determine which of the tags children are used? If so then you need to: foreach($page->tagsfield as $tag){ echo "<a href='{$tag->url}'>{$tag->title}</a></li>"; }1 point
-
1 point
-
It should work ...This is how I have done it in ProcessBlog //$addTags will be a string of text separated by a new line (\n). $addTags = $this->input->post->tags_add_text; if ($addTags) { $tags = explode("\n", $addTags); foreach ($tags as $t) { //do you stuff } } Good job on the module!1 point
-
1 point
-
It's nice even if it is kind of the same I build. I think your solution is nice for guiding around clients and mine is better for new developers who are using pw for the first time (I explain more about how it works and helpful links, etc.). If you need help or want to reduce overlapping just contact me1 point
-
I told you guys this forum is full of gold, look what I found here: https://processwire.com/talk/topic/407-processing-contact-forms/ And guess what: I have it working!1 point
-
"never ever" "absolutely necessary" "absolute UX nightmare" Woah! If there's one thing I've learned over the past few years of designing... there are no very few absolutes.1 point
-
Tricky, but I am curious how you could get to a url like that without manually typing it?1 point
-
I second everyone's comments - this looks awesome for showing clients around. Nico's module is definitely more for developers. As diogo said - it would be awesome to have this configurable so that we could highlight features that are unique to each site and perhaps each template so if they go to edit a complicated page with lots of alternate options. I haven't thought through how you'd do this though - maybe an MarkupAdminDataTable where we could choose the template and create each slide of the tutorial for that template. Anyway - awesome work - looking forward to seeing this progress!1 point
-
Blad you've done some fine piece of work . And agree here with both teppo & diogo.1 point
-
Agreed with Diogo, the idea of using this to help clients (and especially new users we haven't been able to instruct yet) to get used to the basic features of ProcessWire popped in my head instantly. Anyway, this looks awesome and I'll definitely give it a try soon!1 point
-
hey blad and nico, personally i like blad's implementation more than nicos - i think it's easier to follow because it's kind of a step by step guide. so i think it would be a pity to stop your work on this. maybe you can put best of both your versions together?1 point
-
I didn´t know this module. I'm doing something similar, but for dummies and with less information. First Steps I'll leave it and do another thing your module is great.1 point
-
He is a creator!! He is god! Welcome to the community https://www.youtube.com/watch?v=rDQb_EMNRx8?t=48s]https://www.youtube.com/watch?v=rDQb_EMNRx81 point
-
Hi Adrian, Thx, and thx for the quick reply. I've created an issue on github for this. Have a few minutes to check i out now, so i hope i find something. If so, i'll submit a pull request. Gr, Kim1 point
-
Dear Pete, That's a helpful post; thank you. In fact, I think I read that before. I think that a more comprehensive post with benchmarks and every possible advantage to the one-field-per-table method, pointed at both techies and corporate types, would be even more powerful. Yours, Peter1 point
-
I'm currently trying out 2.5 and I notice that this issue hasn't been address. I just had a client upload a wrong image on their carousel and it immediately showed on the homepage. and they had to scramble to find a replacement image file. Since the field was setup to allow 1 image and it automatically delete the old one.1 point
-
Your select fields are most likely page fields. They hold reference to another page. Those numbers which you see are page ids. To output fields of the referenced pages you should do something like: <p> <?php echo $page->Battery_Manufacturer->title; ?></p> Here is a nice video tutorial about this type of fields. But you probably already know it if you're using it.1 point
-
I'm not having that problem, but of course that depends on several things. If you can put the files on the webroot of your hosting root, I think you'll have no problems and can safely ignore the $config->urls->root "hack".1 point
-
http://modules.processwire.com/modules/process-hanna-code/ will let you create the gallery using your own php code and the client can simply type: [[imagegallery]] Alternatively, check out PageTableExtended: https://processwire.com/talk/topic/7459-module-pagetableextended/1 point