-
Posts
1,835 -
Joined
-
Last visited
-
Days Won
21
Everything posted by Nico Knoll
-
You're awesome! I'd never thought about something like this...
- 6 replies
-
- ProcessProfile
- UserEdit
-
(and 1 more)
Tagged with:
-
I could make a GitHub version of it so you could "pull" your theme improvements and so all regional pages could still have the same slightly different layout?
-
Yes, I'm working on a kind of basic language template. Only have to translate some field labels before release within the next week I guess.
-
My new site (combining nico.is and stadtpirat.net)
Nico Knoll replied to Nico Knoll's topic in Showcase
No, I liked the footer in the last version of my site so it was allowed to stay -
Today I want to present my personal website with a new design and my tumblr posts (in "Blog" section) directly imported into ProcessWire: Nico.is What do you think?
- 13 replies
-
- 11
-
I'm using chocolat.app
-
Thanks, Soma! Exactly what I needed.
-
Hi, how do I get the timestamp of a datetime field for using in the frontend? I thought about $page->datetime->timestamp(); Greets, Nico
-
Want, want, want! (And you didn't PMed me )
-
How can I display an image in the backend?
Nico Knoll replied to titanium's topic in API & Templates
Try: $output = $this->modules->get("InputfieldMarkup"); $output->label = 'Image Bla Bla'; $output->value = '<img src="abc.jpg" />'; $form->append($output); -
Used it today for the first time. It's working great!
-
Normally this error happens if you have a bug in your PHP code. So try to comment parts out until it works and then have a look for the error in the out commented part
-
Removing javascript from admin theme
Nico Knoll replied to Sevenupcan's topic in Themes and Profiles
But the pagetree is really flexible to design with CSS. If you send me a PM with some more informations why you don't want to use JS for pagetree I would try to help as good as I can- 7 replies
-
- 1
-
- javascript
- js
-
(and 1 more)
Tagged with:
-
Markup Shortcodes with same shortcode more the once in content
Nico Knoll replied to jsantari's topic in Modules/Plugins
Well, I guess my module saves the shortcode into an array with e.g. youtube as key, so I guess this will overwritten. I'll add a solution in the next update - thanks for finding! -
Markup Shortcodes with same shortcode more the once in content
Nico Knoll replied to jsantari's topic in Modules/Plugins
Could you post the code here maybe? -
Okay, I added a note in the module section and in the gitub repo.
-
Maybe: $pages->find('!title^="the "|"an "|"a ", sort=title'); ?
-
Okay, glad to see it's working for you!
-
This playlist is awesome: https://www.youtube.com/ watch?v=BhwF_yJMlG4&list=SPGznEl712WelO6ZhS8lc2ssweLuQaCKld
-
Maybe a bit more details about what "crashed my site completly" means would be helpful
-
Getting fake URLs (with UrlSegments) returned in search results
Nico Knoll replied to adrian's topic in General Support
Well, normally you do a search kind of like this: <?php $results = $pages->find('headline|title|body%='.$config->input->get->q); ?> This will result in a PageArray, so you can run the foreach loop after it like I said before -
Okay, I added this: <?php public function ___install() { if(ProcessWire::versionMajor == 2 && ProcessWire::versionMinor < 2) { throw new WireException("This module requires ProcessWire 2.2 or newer."); } if(version_compare(PHP_VERSION, '5.3.0', '<')) { throw new WireException("This module requires PHP 5.3 or newer."); } } ?> Should work I guess.
-
Getting fake URLs (with UrlSegments) returned in search results
Nico Knoll replied to adrian's topic in General Support
In the search file you have a foreach loop so you could just generate these fake urls on the fly. Like: <?php foreach($results as $result) { $url = $config->urls->root.$result->category.'/'.$result->name.'/'; echo '<a href="'.$url.'">'.$result->title.'</a>'; } ?> (doesn't tried it) -
Wow, this is actually really nice!
-
I'm not an expert for google maps but build this with mapmarker fieldtype and google maps api: http://interrail.nico.is/orte/ If you want I can send you the source code