Jump to content

Frank Vèssia

Members
  • Posts

    585
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frank Vèssia

  1. I'm running the 2.2.6.2. Same thing if i wrote directly in the address bar...not found Domain root
  2. Yes, the page is that. When i click on submit i can only see a js error: Failed to load resource: the server responded with a status of 404 (Page Not Found) http://www.domain.com/service-pages/?template=picture&sort=-modified
  3. @ryan: of course i made all the necessary setup...the default page doesn't work, when i click submit nothing happends...page not found...
  4. @Ryan: i got this fatal error during installation: [b]Fatal error[/b]: Using $this when not in object context in [b]/home/public_html/site/modules/ServicePages.module[/b] on line [b]287[/b] got it, sorry i didn't copy the php file in module folder I'm trying to use this module but when i perform a query i get page not found... i can see the default page with instructions but adding something like /service-pages/?template=picture&sort=-modified i get page not found
  5. For me i't very useful to have hidden content (system templates and field) always visible, when I'm in development, maybe using the config file, adding a new voice like config->devMode
  6. Another thing. In my form i display a list of input text according to the available repeaters, the inputs are filled with the corresponding value, if no repeater i display only one input. (I can add more input with a button) Now i noticed a strange behaviour, first the form displayed 3 empty input field for each repeater, because there was the option "Ready to edit" set to 3 so for my code there was 3 repeaters... When i removed this option there still some messy, especially in the admin tree, i can see the repeater field duplicated and also the 3 "ready to edit" fields not deleted. See the picture @Ryan: okay read right now, I thought to have the latest version...I'll update immediately...
  7. Ok found... $page>repeatername->sort("id");
  8. Can I sort elements of a repeater ? Sort for ID or custom field?
  9. OK i think i got the bug... I created the other 2 repeaters using the duplicate/clone function. Now i can see on "detail" tab the same value for all repeaters: This repeater uses template 'repeater_camera' and parent '/gladmin/repeaters/for-field-152/' Something wrong in the clone process ?
  10. I'm setting up 3 repeaters for the user template (i guess i can use repeaters with the user template). Well, when i'm trying to save some date via API with this code: if ($input->post->submit_equipment && $input->urlSegment1=="equipment"){ $camera = array(); $camera = $input->post->camera; $user->setOutputFormatting(false); foreach($camera as $c){ $cameraRow = $user->camera->getNew(); $cameraRow->title = $c; } if($user->save()){ $session->redirect("/profile-edit/equipment/success/",false); } } i got all my 3 repeaters filled with this data. The other problem is when i try to create some data from the admin...look at the picture...Missing field...what ?
  11. a little improvement to the Pete code..i hope : public function checkUser($forumUser) { // forumUser should be an array of: array('uid' => [integer], 'name' => [string]) $u = wire('users')->get("user_member_id={$forumUser['uid']}, include=all"); if ($u instanceof nullPage) { $u = new User(); $u->name = $forumUser['name']; $u->user_name = $forumUser['name']; $u->user_member_id = $forumUser['uid']; $u->addRole("guest"); $u->save(); } return $u; } Also check this for a well done social implementation class... http://opauth.org/
  12. Maybe i got the problem. I'm displaying the statistic of a new website...so no rows have been created, that's why i can see the notices and warning...but meanwhile i made some visitors and now i can see statistics except the mobile block that is still displaying those notices... You have to manage this case.
  13. mmm after returning to the module page the notices and warnings disappeared...btw i customized the data format into d-m-Y
  14. Nice module, but i got lots of errors, please look at the attachment.
  15. After install i got this notice Notice:Undefined index: cronInterval in/home/public_html/site/modules/SchedulePages.module on line188
  16. Great module. Installed right now. A little suggestion: could be nice to have a tooltip or something like this on the hover action of the info button to read information about the module instead of open the module page.
  17. mmm I don't think this is the solution for my case. I already have some pages and now i want to change the url of this pages into subdomains (also with their subpages), in your module i have to create the page with the same name of the subdomain in the root...
  18. After install i got this: Warning: strpos() [function.strpos]: Empty delimiter in /home/disinibi/public_html/site/modules/Multisite.module on line 40 Notice: Undefined index: subdomains in /home/disinibi/public_html/site/modules/Multisite.module on line 87
  19. @onjergolders: this module is old and it needs an update, some things changed in social websites codes...I'll do it very soon.
  20. Hello guys, is there a way to manage some fakes subdomains like pages in PW? I mean: sub.domain.com => domain.com/folder Maybe via htaccess... Thanks
  21. Great module. What about adding "latest registered users" ?
×
×
  • Create New...