Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/28/2012 in all areas

  1. Hi, just had some free days and build my first admin template. I'm open for any ideas how to improve it. You can download it here: GitHub Greets, Nico
    3 points
  2. Thanks for sending the database. This helped me to track it down quickly. The issue was that you've got a role named "edit". Because roles themselves are just pages in the tree, that name is overriding the URL segment "edit" used by the module that lets you edit roles. It's attempting to literally load the page living at URL roles/edit/ rather than the role editor. I will find a way to prevent these from getting mixed up in the future. But for now, your best bet is to either delete or rename your role that is currently named "edit". The way to do this is to go edit the role from your Page List tree, rather than from the Access tab. i.e. click Pages > Admin > Access > Roles > edit, in the Page List tree. Rename it from "edit" to "editor" or something else if you prefer.
    2 points
  3. I always put these kind of things into the home template. If there are a lot of fields for a header or footer that I want a client to manage I stick them in a /FieldsetTabOpen/close set. So you end up with tabs in the home page edit screen with something like this: Content | Header | Footer | Children | Settings | View
    2 points
  4. Thank you very much for your answers! I made a error in reasoning - the children are hidden by the navigation template: $children = $rootPage->children('template!=news_article'); So of course it does not work to exclude them the way i tried with count($page->children), $page->numChildren or if($child->viewable()). I used the navigation snippet which was discussed already in another thread: http://processwire.c...e__hl__treemenu I took part asking how to hide the children - so i should not have made the error in reasoning now... Now i discovered that there is the module "MarkupSimpleNavigation" from Soma (thanks, Soma!) - works great and makes a lot of variations easier than digging into the code. Thanks again to everybody!
    2 points
  5. Hey all, I'm releasing a new admin theme called Elegance. I tried to keep the look and feel of ProcessWire, but with a modern clean and robust touch to it. Special thanks to nikola, soma and adamspruijt, because I've used components from their themes that I liked (hope u guys are okay with it ). GitHub: https://github.com/u...ganceAdminTheme Direct download link: https://github.com/u...hive/master.zip
    1 point
  6. I see that Ryan is about to become the first forum member to pass the "one thousand and one" thank-you's (likes) so I'd just like to take the opportunity (seeing as we are in the Pub) to raise my glass and say a big "Thank You" for the effort he keeps putting into PW, the site and the forum. Whilst I'm at it, I'll raise my glass to the others who contribute regularly too.
    1 point
  7. Would be great if there would be a possibility to set a specific limit for the amount of repeater items - or is there such a possibility and i just didn't found it? Cheers, Christian
    1 point
  8. Have you tried leaving everything intact, and rather than clicking `check again' simply click 'continue to next step'? I get this same error on every install but just proceed anyway. The reason I think I get this error is because my server uses litespeed rather than apache and as it states:
    1 point
  9. Strange - now i added a new "FieldsetOpen" field and a FieldSetClose was added automatically. Before that didn't happen, don't know why... (maybe i just did not recognize it somehow). So my question is answered: The FieldSet (Close) is added automatically. Edit: I tried to reproduce how it happend and i guess i have added the FieldSet (Open) and didn't recognize that the FieldSet (Close) was added automatically. Then i tried if another FieldSet (Open) would work as FieldSet (Close) and because it did not work in that way, i deleted it - and i deleted the automatically added FieldSet (Close), too - but didn't recognize that it was there. So it was no bug in there somehow in a special scenario - everything works fine!
    1 point
  10. Hi Nico, Was working with your theme and noticed it doesn't have a "modal" version yet. An exampleof where this shows up is if you got to Setup > Templates then edit a template. If you then click on the name of a field in the list of fields it gives you a modal view of the admin interface to quickly change the field in place. I think you'd just need to add a conditional to check for "modal=1" in the querystring and not output the nav and breadcrumb elements. -Brent
    1 point
  11. Thank you Ryan!! That fixed the issue. I didn't even realize I could get to the user roles through the page tree. Pretty cool stuff. While I was doing some more work on the site I had another (hopefully much quicker) question: How do I set the default child page template for a given page and/or template? I seem to remember this being a feature that I used in the past but now I can't seem to locate it. I do love the ability to restrict the type of child pages from the template, however. Great feature!
    1 point
  12. Thanks Antti, I'll get this fixed here early next week. For now, replace filter("template=organization") with filter("template.name=organization");
    1 point
  13. Glad to hear u guys like it! I've also pushed some little changes to GitHub: - Added auto-focus on login username and password fields. - Tweaked the alignment of the login box elements. - Changed TinyMCE skin to o2k7 silver variant. - Moved search element a bit more away from the logout button. - Made admin breadcrumb translatable. - Changed h2 font-size to px because of em's on container elements. - Added more space between PageList move text and cancel button.
    1 point
  14. A combination with Nico's "Marine admin theme" ( how the forms are done ) this theme & some Teflon magic would make the "perfect" theme.
    1 point
  15. Check out Caroufredsel (http://caroufredsel.dev7studios.com/). One of the best slider plugins i've seen so far. It's highly configurable.
    1 point
  16. Awesome Nico, the clear separation on the fields is really nice. I really enjoy seeing everyones take on how to approach the ProcessWire admin.
    1 point
  17. Hi Nico, Just wanted to say this is the the nicest theme for PW I've seen so far... In my opinion, you've managed to make complex forms a lot easier to digest for clients - which is huge. Great work, and thanks for sharing! -Brent
    1 point
  18. @ryan: Somehow i must have missed your answer in those days, sorry! There were two seperate templates, one for the news section and one for the articles. At last everything worked fine - but right now I recognized now that hiding the childs the way i did leaves the empty <ul></ul> - tag for those childs and opened a thread about that problem: After all i found the module "MarkupSimpleNavigation" from Soma now and this makes almost everything possible without digging through code. I thank you all very much for your help!
    1 point
  19. Greetings, This is really interesting to me. I am finishing up a site now where I need to create slideshows from submitted pages, but (as often is the case) not all of the pages have high enough quality images. I solved the problem by creating a checkbox field that I (or the client) can use to manually choose whether the page is included in the slideshow (I added a note to only check the box if the image meets certain criteria). There are advantages to the checkbox approach: the client can have a lot of flexibility to decide which pages are "featured." But it would be really neat in some cases to automatically exclude pages that don't meet the requirements for a slideshow... Seems that every day another example of ProcessWire's flexibility comes to the surface! Thanks, Matthew
    1 point
  20. if $idsToExclude are checkboxes and some are checked then those who are checked are excluded. //$idsToExclude = fieldtype Page, parent=articles, Multiple pages (PageArray) $idsToExclude = $page->pageField; $articlesWithoutExcluded = $pages->find("parent=/articles/, id!=$idsToExclude");
    1 point
  21. Thanks for the feedback. I will include the points into the next "pull"/"push"/"version"/whatever
    1 point
  22. $pageArray->has($page); http://processwire.c...er=has Also it doesn't matter if you add duplicates as PW will remove them anyway.
    1 point
  23. I'm using your theme the whole day. It looks great but feels even better. thank you...
    1 point
  24. Tested out and is works great! Seems like a nice remix of some other themes and I like the color similarity to the default admin theme too. Everything seems to work very well and look good throughout. The only comment I would have is a little initial confusion about the logout button, since it's right next to the search box. I also have a little bit of a preference to have the "site" button offset from the top navigation in some way. But those are just personal preference and nothing more. Overall a great theme!
    1 point
  25. Hi Matthew, I think you can't go wrong with ServInt. Their service is certainly top notch, and so is their customer support. Linode, as suggested by diogo, is also an excellent choice if you're willing to put in some work. Then, LiquidWeb are generally regarded as a solid option but I haven't had any first-hand experience with them, so I can't really say. In the UK, I've had a positive experience with UnitedHosting. They offer completely managed services and their customer support is, as far as I can tell, among the best in the industry. Compared with US hosting, they're not cheap though. I've also heard good things about Clook Internet, which are also based in the UK and offer a similar service and pricing structure as UnitedHosting. I hope that helps. Claudio
    1 point
  26. Make sure you are logged out too. Pages aren't cached for you when you are logged in. There are other factors that can disable the cache, but most under the template settings. And of course a page is only cached once the cache has been generated, so if you are hitting a bunch of pages for the first time in an hour then it's likely none of them were cached. In general, cache is only used for the 'guest' user. I am working on a so called super cache module that bypasses both MySQL and PHP. It uses the apache rewrite engine to pull cached urls directly from static files.
    1 point
  27. PHP's date expects a Unix timestamp. $page->closing most likely returns a formatted date that is set in the fields output formate setting. Try: <?php echo date("Y-m-d", $page->getUnformatted("closing")); ?> The created and updated system values return unix timestamps by default i think, so this is why they work in your example.
    1 point
  28. Thanks Steve! That's very kind of you. What you may not know is that I've been raising my beer glass to all of you this whole time. Here's the rest of my profile photo
    1 point
×
×
  • Create New...