-
Posts
6,798 -
Joined
-
Last visited
-
Days Won
158
Everything posted by Soma
-
I just pushed a first version for testing to github. See first post for Infos. Edit: While at it. Ryan, I can't deinstall the module, the deinstall field is disabled to open on the module page. Why is that? How would it be possible to get it to work?
-
Then Nicos migrate thread from Typo3 or Wordpress could be added
-
What is "$child->link_intern_url"? if it's a page from a page reference it should reuturn the page object. so you should be able to do: $url = $child->link_intern_url->url;
-
I just tried and it's working as expected. Whether inside or outside a function. echo wire("pages")->get(1002)->url;
-
Ryan, I remember we had this issue already once. Well I don't have much installed ,stayontabs, thumbnails, datatable. And I have just recently installed latest PW 2 days ago. Can't get it to work. Edit: Repeaters doesn't get copied when using page clone. When I create page with repeaters and add 1-2 elements and clone that page with children, the repeater elements created doesn't get cloned, AND worse the original page loses it's repeater elements too.
-
I tested again, it show an default thumb when hovered, but when I click the link I get an error: Fatal error: Call to a member function get() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/pw-dev/site/modules/Thumbnails/ProcessCropImage/ProcessCropImage.module on line 50 This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.
-
when Doesn't this deserve a new thread? Shame it's hidden somewhere here in the repeater thread, some might miss this easily. BTW. found an issue with repeater field label specified doesn't get saved on first step after saving.
-
When a new field created, if hit save without selecting a fieldtype it throws an white page error. Fatal error: Call to a member function attr() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/pw-dev/wire/modules/Process/ProcessField/ProcessField.module on line 636 This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.
-
Repository of php Scripts for Templates
Soma replied to thetuningspoon's topic in Wishlist & Roadmap
I think it would be great and make sense to have repositories of scripts and modules that are approved by the PW members to ensure they're quality modules. With launching the new PW website we're working on it will come. -
I'm already loving it without trying! Awesome work Ryan, thanks for implementing this, diogo is right , this is playing in a whole new league.
-
The thumbnails module doesn't work with repeaters, the edit link goes to a page that doesn't resolve.
-
I often use "open in new tab" command function of the browser to keep the tree open where it is. Also doing this in many other cases.
-
function listChildrenTree($children, $current, $w) { echo "<ul>"; foreach($children as $page) { $class = ''; if($page === $current || $current->parents->slice(1)->has($page) ) { $class = "class='on' style='font-weight:bold'"; } $rootid = $w->pages->get("/")->id; echo "<li><a href='{$page->url}' $class>"; if($page->id == $rootid) echo "<img src='" . $w->config->urls->templates . "styles/images/home.png' width='24' height='28' alt='' />"; echo "{$page->title}</a> "; if($page->numChildren && $page->id != $rootid) listChildrenTree($page->children, $current, $w); echo "</li>"; } echo "</ul>"; } $children = $pages->get("/")->children(); $children->prepend($pages->get("/")); listChildrenTree($children, $page, $wire);
-
I think landitus means the other way round. Edit: By "goes" to, do you mean it redirects to it? Like if you enter the long address it instead loads http://domain.com/categories/ also in the address bar? And simply show the /categories page? I think I'm not getting it still.
-
I'm just thinking wouldn't it better to be able to really create the page in a modal dialog of a template specified? I'm thinking because if I often need to create multi-language page and in case of categories I use multiple title fields one for each language. This way with new lines is suited well for things like names that would be neutral.
-
It would be a clacks with the new repeater field.
-
Progress on ProcessWire 2.2 and overview of multi-language support
Soma replied to ryan's topic in Multi-Language Support
Hmm i just installed it on my fresh local install and can't reporduce this error. -
solved new user role can't publish...must be missing something.
Soma replied to evan's topic in Getting Started
You can just go to github download the zip file (button top left) https://github.com/r...ramerdesign/P21, nothing special. And then rename the wire folder in your install to "wire_old" and copy the new wire from the zip over. Repeaters aren't installed by default so it should be no problem. If you experience any problems you can roll back to the old wire folder. Also may report the issue you got in case.- 19 replies
-
- 1
-
Thanks so much Ryan for the active help! But finally we sorted it out, and she agreed to add the /var/.../phptmp folder, that was already there in the web root, to the php ini "upload_tmp_dir". Now it works again flawless. Anyway, the new available option you implemented may come in useful for someone.
- 8 replies
-
- 1
-
- sys_get_temp_dir()
- php
-
(and 1 more)
Tagged with:
-
Is the url the correct image url? /site/assets/files/... If you really can call url on the object but not do a size() on it have you tried debug mode on? Also can you do a var_dump on the image object and see what you got if($tdobject) var_dump($tdobject); Strange but I think I got once a similar issue, but can't recall what it was at the end. I'm starring at your post and code trying to figure out what you're actually doing here with your setup and code. I can't really decipher it in my head right now how this really makes sense all. Would you be able to make a profil export https://github.com/ryancramerdesign/ProcessExportProfile of your PW site and post that so one could try out locally? Or explain a little more about the exact setup so one could possibly reproduce? Also are you using very latest commit? I don't know if it may a issue with repeater fields which are still pretty fresh.
- 11 replies
-
Rofl WillyC! Welcome to the future!
-
solved new user role can't publish...must be missing something.
Soma replied to evan's topic in Getting Started
Yeah, I wasn't able to get the editor publish unpublished pages. Although I managed to get some strange behaviors, when I remove the page-publish permission from the editor role I suddenly can't even edit pages anymore except for the unpublished ones, for example... I think only Ryan would know what's going on. Certainly a bug or alike.- 19 replies
-
solved new user role can't publish...must be missing something.
Soma replied to evan's topic in Getting Started
I just reinstalled a fresh and latest PW. And I have just added a editor role with view edit delete permissions. Gave access right (all) on template basic-page for editor role. After that when creating a new page I can't publish it, only save and keep unpublished. There seems to be something wrong with current access system. Ryan?- 19 replies
-
solved new user role can't publish...must be missing something.
Soma replied to evan's topic in Getting Started
WOw I should first think then write I didn't test correctly I didn't logout and login with editor... mmm I will try again an see. Edit: Ok this is getting messy, it's so odd I can't even describe it. I added page-publish permission, and tried different settings. First time I try the editor could only edit the one unpublished page an all others only view... and when trying to edit the page I got. Duplicate entry 'for-page-1010-1070' for key 'name_parent_id' So trying to find a reason, I looked at the settings on page with superuser, and published and unpublished - and it showed me different permission for the editor role, in each state. After that I removed the page-publish permisson, and now the editor can edit all pages again, although the error stays and won't go away... So I don't know if my install is messed up after all those tests and updates. I would have to reinstall a fresh one and test again to see.- 19 replies