-
Posts
4,296 -
Joined
-
Last visited
-
Days Won
79
Everything posted by diogo
-
Very nice! I don't think you can call it modulette anymore
-
Select_task seems to be a multiple page field (PageArray). Either you change it to single page (Page) in the settings, or you loop through it and output all the results foreach($child->select_task as $task)
-
Just saw this, quite old already.... @twols, sorry for not having had an answer, do you still have this problem?
-
If you didn't yet, check the latest post from the blog, Ryan explains a lot there https://processwire.com/blog/posts/processwire-2.6.20-and-surprise-processwire-3.0-alpha-1/ Try setting compatibility with 2x to see if all works $config->compat2x = true If it does, work and you want to try the new features (what would be the point of installing this version if not?), put it back to false and check if you are calling wire() on your templates, if that's the case, either change those call to the equivalent variables ($page, $pages, etc...) or add the PW namespace to the top of those template files namespace ProcessWire; I think you'll have to do this also for each module.
-
You can use Hanna code for this http://modules.processwire.com/modules/process-hanna-code/ You would create a new Hanna code called, let's say "value", and put something like this in the code: echo $page->get($field); Then you would simply do this inside the body text: [[value, field=parent_company]] Read the Hanna code instructions to have a feeling of what you can do with it.
-
http://www.korn19.ch/coding/wordpress_logins.php
-
Welcome James! From your questions I'm assuming you're still not familiar with some of the basics of ProcessWire, I would suggest that you go though some of the tuts and get back to us if you have doubts while or after doing them http://processwire.com/docs/tutorials/
-
Fieldsets were not designed for that purpose, so it's a bit harder than you may think. Have a look at the solution here https://processwire.com/talk/topic/10226-getting-fields-in-a-fieldset/
-
You could actually have created a poll for this topic using the forum, although that's not obvious at all. Check the "more reply options" button.
-
I also don't... I find myself looking on google and the forum for solutions or even creating new ones. Not very efficient, I know, but it does exercise my brain
-
Creating Module for Redirect when Template has no File
diogo replied to Orkun's topic in Module/Plugin Development
Easiest way would probably be to have a template file with the redirection and set those templates to use it on the "files" tab of the template settings. -
You can also install my ProcessPageAdmin module to do this https://github.com/ocorreiododiogo/ProcessHomeAdmin
-
Maybe you can inspect the code to know where the style is coming from.
-
Honestly, I don't think it's necessary to reproduce the grid in the backend unless there is a very spacial need. Users can take a certain level of abstraction and can easily understand that, in a list of images, te first five will be the first row and so on. You can limit the amount of images in the field to 50, but you can also do it at template level when calling the field ("limit=50"). Because this field will have many images, you can have "grid" as default view in the field settings. If you think it's less confusing for the user, and since you'll have a fixed number of rows, you can also create 10 different multi image fields named "row1, row2..." and wrap them inside a field set.
-
See here for the reason why you can't https://processwire.com/talk/topic/3927-can-you-have-a-repeater-field-within-a-repeater/
-
Just curious, why aren't you using an anchor instead of a button with onclick?
-
Linode is amazing and has datacenters in Tokyo and Singapore
-
Not being available at the product store doesn't make it open.
-
Like Martijn said, repeater is a field, but it's items are pages. So, a repeater field is not more than a reference to a group of pages. You can find these pages hidden under your "admin" page, and can be called and treated as any other pages. You usually don't have to call them directly, like we just did with the ID, but instead, you call them through the repeater field, either by looping the field: foreach($page->repeater as $item) { echo $item->title; } or by using the pageArray methods to call one of it's items: echo $page->repeater->first()->title;
-
Welcome to the forum Paschalis. This is not the usual way of getting repeater Items, but since you know the ID and repeaters are pages just like any other page, it's as easy as: $pages->get($repeater_id)->title
-
Disable a language on a multilanguage site
diogo replied to Torsten Baldes's topic in Multi-Language Support
The language switcher would also have to be adapted to reflect this. --- You could add a new checkbox field to the languages template that would make a language inactive. Then you just would have to make your language switcher reflect that with a selector and use LostKobrakai's suggestion limited to those languages with the checkbox selected. -
Disable a language on a multilanguage site
diogo replied to Torsten Baldes's topic in Multi-Language Support
true, sorry about that... Have you tried removing the url segment for the languages on the home settings? Like this they will all have "/" as base, and the default should prevail in any subpage also. -
Disable a language on a multilanguage site
diogo replied to Torsten Baldes's topic in Multi-Language Support
You can make the language "hidden" in that language page settings -
Patreon was hacked. But their logo reminds me of something...
diogo replied to Mike Rockett's topic in Pub
Slightly unrelated, but for knowing more about Patreon, this talk from Jack Conte is great Before watching that, I didn't even know that he was behind Patreon, although I was following his music and videos on Youtube -
This is not even about defending the system, it's about defending the quality of the posts in the forum. It's quite amazing that someone that joined the forum 4 days ago, already has 52 posts, with a posts/likes rate of 52/1, and started 5 new topics, two of them named after modules that have their own topics. @cssabc123, this is a great community where people are always eager to help and discuss things, but you are expected to do your own work and some research before asking questions and raising these kind of topics, otherwise you're just wasting everyones time.