-
Posts
4,320 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
Horst, for you https://chrome.google.com/webstore/detail/grooveshark-germany-unloc/docdgimmdejoiemdafcgeodchlbllgac?hl=de or https://addons.mozilla.org/En-us/firefox/addon/scilors-grooveshark-unlocker/
-
Thanks for the feedback kongondo. The second version doesn't need the child page at all. Sorry for the dispersion, but when I have more time I will wok to somehow merge the two ideas, or just decide for one. If you could test the second version, would be great!
-
Get child pages of pages using a certain template?
diogo replied to antknight's topic in General Support
The result of the find is an array, so you can't get the children of it. If there's only one page with that template you can do: $results = $pages->get("template=news-month-archive")->children("sort=-news_date, limit=10"); -
Hosting Question: Nearlyfreespeech.net users?
diogo replied to daniel-not-dan's topic in General Support
Sorry for the wrong info. I didn't remember the PHP Flex mode. But they really advise not to turn safe_mode off, and say there is a big performance penalty for that... -
Hosting Question: Nearlyfreespeech.net users?
diogo replied to daniel-not-dan's topic in General Support
I had an account there some time ago, but gave up because it was not possible to install symphony due to their strict security settings. Just like with symphony, I think it won't be possible to install PW there. Edit: I really like their faq. In the time I read all of it, and learned a lot about hosting. -
to make the first page in the admin the one that appears by default. I was working on custom admin pages module, and occurred to me that PW could be flexible on this also. Although personally I really like the tree as the default view, I thinks it should be the responsibility of each one to decide about something like this.
-
Great to know Marc, but be aware that I don't consider this even nearly production ready. Did you try the first or the second version?
-
hm? I think simply with $page->datetime edit: just define output to none
-
Nikola, try this one (needs the DEV branch of PW because it uses render($filename)). Create a new template (can be named "customAdmin" for example) and put this on the template file: <?php $page->process = "ProcessAdminCustomPages2"; require($config->paths->adminTemplates . 'controller.php'); Create two fields and put them in the template: "render_file" (text field) "scripts_and_styles" (text area) Now, if you create a page under admin and assign this template to it, you can specify a file to render the page. To load scripts and styles add all the urls in each line (this is still a bit rough). To add custom fields to the page, just create a new template without file, and specify "customAdmin" as the alternate template filename. Use this one instead of the "customAdmin". Add the "render_file" field to it and, optionally the "scripts_and_styles" field. This version doesn't have configuration options
-
Ryan, can I propose that the ProcessHome class has this public function ___execute() { $this->session->redirect($this->page->child->url); } instead of this? public function ___execute() { $this->session->redirect("page/"); }
-
Ability to sort and search through users in admin
diogo replied to adrian's topic in Wishlist & Roadmap
You can use the built in search in the admin. Just make sure to use "name" instead of "title body" in "Search in field(s):" -
No, completely different approach
-
Create custom admin pages easily without having to build a Process Module especially for that. ☞ This module makes it easy to create simple admin pages but you can also create them in much more powerfull way without the need of a module. Have a look at this post written by Bernhard Baumrock to know how it's done https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/ ------- I just updated the module, I kind of merged the two versions and now it works with both stable and dev versions of PW. Only difference is that with the stable version you still need to create the child pages and with dev version that is not needed. The instructions are on Github. Enjoy ---- Download or clone from Github https://github.com/ocorreiododiogo/pw-admin-custom-pages Module page is here http://modules.processwire.com/modules/process-admin-custom-pages/
- 176 replies
-
- 14
-
-
Moved Site to new server - one field isn't editable anymore
diogo replied to ashrai's topic in General Support
can you replace the entire tinymce module folder for a new one? Just for the case that something was not copied. -
This looks nice! http://learnlayout.com/ And it does end with listing some frameworks, although they state:
-
Moved to "Modules/Plugins"
-
Just want to notice how a question about layout became a discussion about frameworks. I rest my case
-
Module: Testrun selectors + find() from admin (ProcessSelectorTest)
diogo replied to nik's topic in Modules/Plugins
I'm posting this here, but I this problem maybe goes beyond the module itself. While using the selector test I was having some "Trying to get property of non-object" errors. I manage to track it down to, every time the selector test retrieves pages with an empty, single-page, radio field on their templates. I modified the radio to multiple, and the error stopped. I don't get the error while using the same selectors in the frontend, so It's some property that is being called on the fields inside the foreach made by the selectors test. To reproduce the error: Create a page field and set it to single page (choose whatever template or parent to populate it). Add it to a template. Create a page with that template without selecting any option for the page field. Go to Selector test and test for a selector that would retrieve that page. -
http://fourkitchens.com/blog/2013/04/24/one-less-jpg
-
Yes to both questions
-
I don't think that would be an easy task but you can rest assured that Ryan took very good measures to keep the PW folders as secure as they can be.
- 6 replies
-
- common practices
- security
-
(and 2 more)
Tagged with:
-
@kongondo, for me there is a big difference between a php framework and a css framework, but this is maybe because I am a designer, and although I worry about the server side, the website design is my ultimate goal. Anyway, php is hidden, and if a framework gives you enough flexibility to achieve what you want while removing a lot of work from you, that's great! PW gives us exactly that, but honestly, I couldn't care less about how I achieve things in php, I just want things to work, and have a professional looking backend for my clients. As a designer, the frontend is what I'm selling to my clients and where I really want to make a difference. I don't want to start designing thinking of an imposed grid. I want to use a grid if it fits my design, but not to use it if it doesn't. Of course I keep some snippets of code, but I don't get too attached to them because every time I need to do something someone came up with an even nicer solution already, and it really doesn't take much time to look for things when you need. As for jQuery, I wouldn' also compare it with css frameworks, because it has more to do with how you write javascript then what you do with it. IMO the fair comparison would be with be with jQuery UI for instance. Anyway, I'm glad the frameworks are there, and that they make things easier when you need, I just don't think that it is possible that you choose one and become really good at it without becoming somehow dependent on the tool and without it influencing and limiting your designs. In the end, all comes to what you want to offer with your work, and I'm not saying that some choices are more valid than others.
-
Maybe it would be interesting to submit pw to the webmatrix gallery. I'm not sure what would be needed to run on a windows server, but here is how to package and apply to be in the gallery http://www.iis.net/learn/develop/windows-web-application-gallery/package-an-application-for-the-windows-web-application-gallery
- 6 replies
-
- how to
- web martix
-
(and 1 more)
Tagged with:
-
I may have a completely wrong idea about frameworks, but I really enjoy building my websites from a blank state. It doesn't take much time to prepare a custom layout base from scratch, and it helps my design process that I'm completely naked of limitations. I just design, and leave the problem solving for later... I came to the conclusion the you can do everything you want, if not with css, then by adding some javascript. So, to answer the original questions: I have a different approach to each site, depending on what I came up on the design fase.