-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
So, some days later I'm the one who has submission powers in product hunt. They just sent me an invite And... here it is! https://www.producthunt.com/tech/processwire PS: You don't need an invite to register and upvote, and we need those upvotes to appear on the homepage
-
If someone has a submission power in product hunt, now is the time to talk
-
Make dashboard plugin page the default admin page
diogo replied to kriegar's topic in General Support
I made a module for this sometime ago https://github.com/ocorreiododiogo/ProcessHomeAdmin Should still work. -
php.ini in webroot breaks site - Internal server error
diogo replied to dave's topic in General Support
Welcome to the forum, by the way -
PW 3.0.4: Repeaters Revisited + ProFields Matrix
diogo replied to ryan's topic in News & Announcements
They are beautiful, both, the new repeaters and the matrix. Beautiful!! -
What about: foreach($page->rootParent->children as $writer) {
- 13 replies
-
- navigation
- child
-
(and 1 more)
Tagged with:
-
If I understand well, you want to have a dropdown for each user. If so, you could do this: foreach($pages->get("/articles/")->children as $writer) { echo "<ul>"; // your dropdowns are lists, right? foreach($child as $article) { echo "<li><a href='{$child->url}'>{$child->title}</a></li>"; } echo "</ul>"; }
- 13 replies
-
- navigation
- child
-
(and 1 more)
Tagged with:
-
@flydev are you sure you want to have an unfinished site as your signature? Although the domain is pretty cool
-
I don't have an answer to this question, but I suspect it has to do with the very nature of PW that attracts people that are more focused on work and GTD and less worried about social media. At least I like to think that's the reason
- 9 replies
-
- 8
-
-
- marketing
- social media
-
(and 1 more)
Tagged with:
-
After some puzzeling you found out how to do a navigation with PW https://github.com/ryancramerdesign/ProcessWire/blob/dev/site-beginner/templates/_head.php#L28
-
Did you consider animating the scroll with something like this http://plugins.compzets.com/animatescroll ? I think it actually makes it more obvious what's happening when navigating the single page.
-
I hope the products were nice Really? That's crazy! Last night was when we were finishing this, maybe there was some telepathic transmission On the other side, this is a much smaller download than a video. And it's responsive. Right!
-
There's no include() function in javascript. This is what you want: <script src="<?php echo $config->urls->templates?>assets/js/jquery.easing.1.3.js"></script> <script src="<?php echo $config->urls->templates?>assets/js/script.js"></script>
-
Hey Guys, just wanted to wish happy holidays to all of you from Erika and me! ...and also share a small animation we did to celebrate the occasion: http://ed-works.com/christmas2015/ (this is pure CSS, there's no JS involved)
- 13 replies
-
- 16
-
-
Try it out and let the error message tell you
-
Glad I helped. I meant the most common way of writing loops in PHP. Using this same example: <?php foreach($page->children as $child) { foreach($child->images as $image) { echo $image->url; } } The for you used is common for when you are mixing PHP and HTML. Like this: <?php foreach($page->children as $child): ?> <article> <h2>Images from page: <?=$child->title?></h2> <div class="images"> <?php foreach($child->images as $image): ?> <img src="<?=$image->url?>" /> <?php endforeach ?> </div> </article> <?php endforeach ?>
-
Try: <?php foreach($page->children as $child): foreach($child->images as $image): echo $image->url; endforeach; endforeach; ?> I kept the code similar to what you had so you understand the differences, but way of writing PHP is more suitable if you want to alternate PHP and direct HTML. For a simple echo it's better to just use brackets. I'm actually surprised that you don't get a PHP error with that code
-
Multilanguage Support doesn´t work. URL?
diogo replied to matsmats's topic in Multi-Language Support
Thanks ceberlin. I wrote on mobile and my answer came a bit short. -
Multilanguage Support doesn´t work. URL?
diogo replied to matsmats's topic in Multi-Language Support
Did you add the url name for each language on the homepage settings? -
Module Module: RuntimeMarkup Fieldtype & Inputfield
diogo replied to kongondo's topic in Modules/Plugins
Or check if Ace is installed, and if not add from a cdn http://cdnjs.com/libraries/ace/ -
Module Module: RuntimeMarkup Fieldtype & Inputfield
diogo replied to kongondo's topic in Modules/Plugins
Greatly useful module guys, thanks! Just used it to provide a list of collected emails for simple copy/paste into send field return $page->children->implode(', ', 'email'); Couldn't get any simpler than this! PS: of course it would be great to have ACE on the code field like i Hanna Code -
mr-fan, do this with every hardcoded string, and people can start translating it __('string') If there are lots of repetitions, maybe it's interesting to follow the suggestions from here https://processwire.com/talk/topic/10447-using-translatable-strings-across-template-files/
-
Powered by <a href="http://processwire.com">P<span class="no-mobile">rocess</span>W<span class="no-mobile">ire</span></a>
-
Oops sorry, I had a get where it should be a find.