-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
-
@NorbertH yep, make PW closed on github and require SSH key passphrases & upgrade your personal account from free to paid with a credit card. Is there a reason you would you secure public data that's openly available?
-
Frontend form with tinymce or ckeditor module
Martijn Geerts replied to pwFoo's topic in General Support
Skip this, sorry: For your front-end I think it's wiser not to rely on InputfieldCKEditor, but rather load your own. The possibility is that changes to InputfieldCKEditor can effect your front-end. -
Frontend form with tinymce or ckeditor module
Martijn Geerts replied to pwFoo's topic in General Support
Great points pwFoo, 2 minor points: CSS should be outputted before the scripts. ->unique() can be left of, as ->styles & ->scripts are always unique. -
How to render a simpelt inputfield markup??
Martijn Geerts replied to Biorn's topic in API & Templates
@jordanlev for ProcessWire it is more important that all field values including notes, descriptions, headers, values and all other attributes can be manipulated even after they are created but before they are rendered. Markup is only important in the last process. ProcessWire form markup is clumsy if you wish to use it in an environment were it is not meant to be rendered like your front-end pages. But ProcessWire forms make so much sense when used in the admin area. What you're doing here is for the markup way nicer, but inflexible if you change your form. I do think that there are possibilities to make your own logic, while looping the fields of your form. -
I'll expand this list with (Soma's navigation module), looping your list: for title & content they are covered ( echo $page->title; & echo $page->body;) for images, using the API is simpler that any other solution i've ever seen. for downloads (Potential Module, that accepts a single file, presenting the user with a link, force download the file) Could be a module that creates necessary templates & pages & presenting ready to use code snippets to use in your templates. Could be a module that takes the name of the images field and specify the sizes of thumb & link-to image, additional code snippets for the javascript could be included. forms, are already covered by Formbuilder.
- 206 replies
-
- 4
-
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
thanks, this makes me smile. @argos, could you please name a few functionalities non-coding beginners would like to use ?
- 206 replies
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
It's been a while that I used ProcessWire to build a 'regular' website. (Not that I really know what a regular website is). Recently I finished a planboard system for managing newsletters and placing banners for multiple Portals. At home I have a personal little project a Ajax driven website for a band (Friends of mine). So my context of 'improving usability' is expanding API capabilities. The devs here do understand really well that there are many use cases for ProcessWire. The sky is the limit, and beyond. You have to know that ProcessWire thrives on good will of the community. It probably only takes 1 man to stand up and start building a commercial themes download website. This theme-able profile should have some standards. So that there are plug-ins that are interchange-able. This all can be done with PW, because of the power of the API. This discussion is a really good discussion so we're all glad that these stories come up.
- 206 replies
-
- 9
-
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
Yes version 1, that one is free (Think you need an old jQuery to run it as it relies on $.browser, or you've to patch it manually) Marty's magnific suggestion is a great one
-
Did you checked your error log ?
-
Could you check the following? Go to /processwire/page/edit/?id=21 Open the collapsed Process field There ProcessModule should be selected.
-
@Thomas108, something like this: http://wiki.processwire.com/index.php/Basic_Website_Tutorial Thanks Joss
- 206 replies
-
- 2
-
-
- standarisation
- templates
-
(and 1 more)
Tagged with:
-
This is how it it supposed to be that way, so no worries. The number is an indication how many children are in that folder. In the Top bar there's a button [module], click that and you'll see the Modules.
-
Don't know the answer but Holy Grail, I like your avatar Joss!
-
What is the relationship between fieldgroups and templates?
Martijn Geerts replied to jordanlev's topic in Getting Started
Several templates can have the same fieldgroup. Say you build a site for a greengrocer, and you want to sell fruit. You want to have different templates for apples pears and oranges, but don't need different fields, then you could share 1 fieldgroup with the apples pears and oranges templates. This way you could search $pages->find('template=apples') and find only apples, but use the same logic for pears and oranges. It could save you time & extra logic. When you delete a template with the API, be sure to delete the fieldgroup to, if it is the last template that uses the fieldgroup.- 1 reply
-
- 3
-
-
Problem with Path in @font-face src: url(...)
Martijn Geerts replied to bytesource's topic in General Support
I work on mac & sometimes when I move downloaded files to my local project, the files get 'read none' for some reason. Going to the file and get info, there I can change the permissions. ( Probably i'm totally wrong here, but when you're on a mac it's worth checking ) -
it is, but not much written about it https://processwire.com/api/variables/user/ What you see is the pagename, it's just a page object, as it extends Page. If you give a user a permission, you could check if the user has that permission. As permissions is the parent of a permission, you could get that permission by page name. (Pagenames under the same parent are unique). It's a permission you could set on template level. You could ask if $page->editable() (for current loggedin user), which returns true or false. So this can be done on front-end and happens in the backend to. It is used for example in the hookable ProcessPageListRender::getPageActions. (Pages list) So, if the user has edit rights, show the edit button after the page.
-
The processwire repository as a host of js libraries
Martijn Geerts replied to blad's topic in Dev Talk
I've read that jQuery on the google cdn is the most used & cached file on the net. So it's not rare that the guest already has that version in browser cache. For jQuery as it is relative big it makes sense to use that cdn. I do love the HTML5 boilerplate trick to get that version. So far I understand, there is a max of simultaneous downloads of assets from the same subdomain. If you could spread the load to more locations, even if it is an other subdomain, more simultaneous downloads are allowed. I have never tested this. -
One little point: There's a lot of `console.log` going on. Somehow there's in my mind that that could break processing of javascript in old versions of IE. (Maybe i'm wrong) Never the less I want to mention it
- 33 replies
-
- 1
-
-
- Photography
- Travel photography
-
(and 1 more)
Tagged with:
-
One little point: There's a lot of `console.log` going on. Somehow there's in my mind that that could break processing of javascript in old versions of IE. (Maybe i'm wrong) Never the less I want to mention it Posted this to the wrong post. Hell yeah, I like tabs in browsers
-
ProcessWire requires: PHP version 5.3.8 or newer.
-
Welcome ChiefPundit, What a nice read while drinkin' coffee & a beautifull site !
- 33 replies
-
- 1
-
-
- Photography
- Travel photography
-
(and 1 more)
Tagged with:
-
Noob question: Problem with page field used as link
Martijn Geerts replied to manlio's topic in Getting Started
Maybe there is a page sneaked up in you menu's that hasn't the right template. -
(invasive Page species database)
-
@adrian, I managed the title thing now with making the title not global. ( Gonna try your thing, think thats better ) Yesterday, I played the first time with the pageTabeExtended and didn't even looked at the parent where the subpages are stored. Building a small website for a friend so storing isn't an issue right now. Your example looks way better IMHO, but I would go for page id instead of page name (uniqueness insured) Just to throw one more option in: PageTableItems (hidden) ----1234 // page id (where tablefield is used) -------sections // fieldname -----------template-timestamp // name of the template used + timestamp date-created -----------template-timestamp -----------template-timestamp ----2345 -------jobs -----------template-timestamp -----------template-timestamp