-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
System template as main menu link.
Martijn Geerts replied to Frank Vèssia's topic in Wishlist & Roadmap
beer : [Hertog Jan](http://www.hertogjan.nl/) -
<quote style='diogo'>I dislike looking for a piece of garlic in my fridge</quote>
-
it doesn't make sence but maybe you can try: if($page->template == 'student'){ $the_user = $this->users->get("name={$page->name}"); $this->users->delete($the_user); }
-
System template as main menu link.
Martijn Geerts replied to Frank Vèssia's topic in Wishlist & Roadmap
Sometime I hide a big textarea field somewhere. Just for storing $key : $value pairs. Every line on the textarea is one pair. color : blue cms : ProcessWire beer : Grolsch more : etc. Add as much variable as you want. -
Does that page ($the_user) has children ?
-
Very impressive work. Functions as how it should.
-
Repeaters & fieldsets take a lot of space. Most of the time I need fieldsets only for dividing fields and description & label is not needed. For several projects I use a module to remove label and set border and padding to 0 for. Also, the repeater can be way more elegant, if some space is givin back to the admin. (Did not make a module for this) (ps, if someone is interested in the FieldsetSchrink module it's here on github)
-
<ryan> Make your version number 2 rather than 002. PHP might interpret that as Octal or something. </ryan> Very good tip drove me mad a while ago !
-
A php function not working inside a template?
Martijn Geerts replied to FuturShoc's topic in General Support
maybe use: ucfirst(strtolower($page->title)) -
jquery error that I think processwire is making
Martijn Geerts replied to benbyf's topic in General Support
fancybox isn't compatible with 1.9. Don't know if other "plug-ins" are compatible. -
Issues with image resize and CropImage module
Martijn Geerts replied to MadeMyDay's topic in General Support
@horst, I really like this way of thinkin' ! -
@Ipa For linux servers "http://www.test.com/Kapitalize/WORDS/" is different then "http://www.test.com/kapitalize/words/". So two different locations. On a windows environment, their's no difference. It's the same url. So you have 1 location. I think for consistency, always use lowercase then there's no issue. I would recommend using lowercase in all situations even if you do not use ProcessWire.
-
How do I make ProcessWire display the 404 "page not found" page?
Martijn Geerts replied to ryan's topic in API & Templates
put on 404 template: $("session")->redirect("/"); -
Same here, Sinnut & Mats. Install looks like to quit while creating database tables. Tried to import the SQL manually also didn't work. Quits after creating field_summary. The weird thing is it looks like the (install) SQL isn't changed. @Mats: //side note for no errors: on line 293 on the installer "error_reporting(0);" ps, Manually install ./wire/core/install.sql, and the installer will continue.
-
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
Big tnx @owzim! -
Module Page Image Manipulator | API for 1 & 2
Martijn Geerts replied to horst's topic in Modules/Plugins
No way thats not possible !!! Very impressive !!! Big tnx @Horst -
Or: Every repeater is a row <div class='row'> Repeater with a body field. (containing textformatter that splits the content in columns when finding a <hr />)
-
Thank Soma, you saved the evening !
-
Other possibility: [[page rendered]] <--- actual $page (wrapper) // child page, 2 rows in repeater [col-50]txt[/col-50] - [col50]txt[/col50] // child page, 3 rows in repeater [col-33]txt[/col-33] - [col-33]txt[/col-33] - [col33]txt[/col33] // child page, 1 row in repeater [col-100]txt[/col-100] // child page, 4 rows in repeater [col-25]txt[/col-25] - [col-25]txt[/col-25] - [col-25]txt[/col-25] - [col-25]txt[/col-25] [[/page rendered]]
-
http://bit.ly/1dTvVsI oops...
-
It's a pity line numbers change as code evolve, else it would be nice that you could add links to the processwire core where example are.
-
I love this.
-
Although small donations PayPall like things for ProcessWire I love to see. But the reason I started this topic is that Avoine, (the company where Apeisa works) was so generous to give their investment back to the community. We all benefit. I'm on this forum in free time for fun and I'm on this forum getting things done for the company I work for. The first part, (free me ) love to be involved in things where the ProcessWire community benifits. There are plenty of great developers here, sharing, writing, making PW the best place for me to be on the web. What if we work out ideas, having fun and let the build begin. Developers don't have to do all things free. The little bit payment can just be a motivator. (they actualy they deserve). And for me (the free) don't want to get the guilty feeling of leeching.
-
For columns of text I prefer repeaters.