-
Posts
2,769 -
Joined
-
Last visited
-
Days Won
31
Everything posted by Martijn Geerts
-
Setup a ProcessWire environment on a fresh MacOS X install
Martijn Geerts replied to Martijn Geerts's topic in Tutorials
I had a carracho server in those days. ( making software & music & stuff available to up/download for registered members of the server ). So a free hostname came in handy for this -
Where is $config->ajax coded?
Martijn Geerts replied to clsource's topic in Module/Plugin Development
$config->ajax is set: $config->ajax SiNNut === faster -
Welcome to ProcessWire enricob, Spoken language here is english, we prefer it . The active user base of ProcessWire is still small compared to the big 3, but ProcessWire is growing. The average user without web knowledge & no interest of webdevelopment are hard to find here. Thats a good thing IMO. So it has noting todo with coming to late. Others will answer your question.
-
Make image description field to take accept html tag
Martijn Geerts replied to peterpp's topic in General Support
And text on the image -
Make image description field to take accept html tag
Martijn Geerts replied to peterpp's topic in General Support
@mr-fan look at this template I had a use case to identify a page as an image with GD modifications. So basicly the page is an image -
Make image description field to take accept html tag
Martijn Geerts replied to peterpp's topic in General Support
Maybe I'm stubborn but I think a description field should be for the description. If you need more meta data attached to an image you could go for: FieldtypeImageExtra and change it to your needs. Or use a repeater for this. Repeater with Image and URL field. Or make for every image a page. Make a page select and select the page with the image. if you're less conservative, take a look at the link provided by Adrian. -
Make image description field to take accept html tag
Martijn Geerts replied to peterpp's topic in General Support
I don't think this is possible (by default). But why would you need this? If you could explain why you want it, maybe we can help you to do this in an other way. -
If I would start I would start with pure Javascript or with PHP. Then if the basics are there, you could expand. When first riding a bike training wheels are necessary, put them off when you're ready.
-
Why did Ruby needed the Rails framework to become very popular? Why do Google developers love PHP. Does NodeJS stays popular in the future, say 4 or 5 years? Why is facebook coded in PHP? What's wrong with PHP?
-
I was to compact with the explanation, tnx pete. Is NEHA your first member ?
-
For 5. you could add PageField to the user template named `friends`. Say jan is a user, and william is added the the `friends` field you know jan has the rights.
-
If you want to use max 3 backgrounds, maybe better to use pseudo elelemts :before & after... Those have support for IE8 and up. (but don't do fancy stuff with z-index, as IE8 won't respect those)
-
Yes, you could set the preferred class names here: /processwire/module/edit?name=ProcessPageEditImageSelect
-
mr-fan, you forgot the .align_center .align_center { margin: 0 auto; display: block; }
-
Had to search the web as I didn't recognise the clone command. Basically i'm lost here. So far I understand clone will throw a fatal error with PHP 5.2.5, but below it would be an exception. What exeption I can't find. I've found a thread on wordpress.org/support/, there kcmatthews states to wrap the value after the clone command in parentheses: $config->paths = clone($config->urls); I did tried this locally, and printed gettype($config->paths) in a template. It says: object. So every thing looks fine with the parentheses. (Not sure here) I question that raises my mind: How old is your PHP?
-
Textformatter To Remove Annoying Image Heights
Martijn Geerts replied to diogo's topic in Modules/Plugins
Looks great Diogo -
Textformatter To Remove Annoying Image Heights
Martijn Geerts replied to diogo's topic in Modules/Plugins
Sorry to niggle here diogo, but how does the module behave if you use this one in combination with TextformatterVideoEmbed? -
Can Admin Pages/modules Use Query Strings?
Martijn Geerts replied to joer80's topic in General Support
Yep it does. If not installed, calling the MarkupCache like below will install it and function. $cache = $this->modules->get("MarkupCache"); // See the $this-> call if(!$data = $cache->get("something")) { $data = "test me"; $cache->save($data); } return $data; // contains "test me" -
Can Admin Pages/modules Use Query Strings?
Martijn Geerts replied to joer80's topic in General Support
For caching individual parts checkout MarkupCache. https://processwire.com/talk/topic/7-new-markupcache-module/ -
Using ProcessDateArchiver with PW 2.4.8 (dev). No problems found. I use a year and a month template.
-
Congrads to all german fellows over here!
-
Didn't install this module, so maybe I tell something it's already in . Maybe add an option to make the trigger configurable. I prefer to use the <hr> tag for example. This way, people can click on a button to add the functionality.