Jump to content

Manol

Members
  • Posts

    292
  • Joined

  • Last visited

Everything posted by Manol

  1. Hi Martijn It says congratullations and also: This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations. line 31, column 0: Missing atom:link with rel="self" <link>http://casergi.com/noticias/comida-de-empresa-para-navidad/</link> <guid>http://casergi.com/noticias/comida-de-empresa-para-navidad/</guid> </item> 31 </channel> </rss> I'm trying to understand the help file provided.
  2. Hi Adrian. I used the enhanced rss module, created a template with this code: $rss = $modules->get("MarkupRSSEnhanced"); $items = $pages->find("limit=10, sort=-modified"); // $items, PageArray of Pages $rss = $modules->get("MarkupRSSEnhanced"); // load the module $rss->render($items); and when I call the a page creates with that template htt://mypage/rss I can see the xml, but IFTTT doesn't detect the changes. I think I'm missing some very basic stuff.
  3. Hello. I've created a rss template and is working, now I'm trying to push those to facebook with IFTTT https://ifttt.com/re...cebook&ac=false https://ifttt.com/re...witter&ac=false but results aren't triggering, I pasted the url directly into the browser but no changes at all. Thank you.
  4. I don't know if it has something to do but I'm using $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_out.php'; in my config.php I added the script line above but the error Uncaught ReferenceError: Map is not defined is still showing.
  5. Hello apeisa. It says Uncaught ReferenceError: Map is not defined
  6. Is not about the new hosting just realise is happening the same in localhost and different servers, probably is pw 2.4 incompatibility.
  7. Hello. I have updated to pw latest version and moved to a different host and now I'm getting the coordinates instead of the map as shown in the image bellow. Any ideas why is that happening? Thanks
  8. Thank you. Solved I had to add to config.php: $config->prependTemplateFile = '_init.php'; $config->appendTemplateFile = '_out.php';
  9. Hello Guys. I've moved a pw webpage to a different host, after that I can access the admin area but the frontpage is blank, when I click in chrome view source is also blank. Any hints? Thank you.
  10. Hello guys. I would like some help on where to start to create a button that publishes from a processwire page ( title, text and image ) to the facebook wall. The idea is that the user writes some news in a processwire page and then I will use the facebook api graph to publish on that user's wall. My idea was to develop a module to make it as reusable as possible ( and include google+ and tweeter ). I've got some ideas on how to do it, but maybe some of you have done something similar or face problems I haven't think about yet that could help. Thank you.
  11. Hello. I've got a json file which I send with $http post to a processwire page, then this page saves the data under a page in the processwire tree. As an example: file.json { 'user': 'manol' , 'email': 'my@mail.com' , .... } $http({url: '/web-service/save-json-to-page/', method: "POST", data: file.json } ) function getPost(){ $request = file_get_contents('php://input'); return json_decode($request,true); } $getPost = getPost(); $user = $getPost['user']; $email = $getPost['email']; save under some page Now I check if the user has the right role to do it but I feel that is really insecure using js and php together. How can I secure that so only granted users are able to save the data, CSRF, other options?.
  12. I'm developing patrimonio24.com, the main purpose is to use the contents by a mobile app. This page is hosted in an amazon EC2 ami, probably there will be peeks where many people will use it at the same time with their mobiles so I decided to copy every night all contents to an S3 bucket which is then pushed to a CDN and read the data from there. I'm using s3cmd with a crontab to move and sync all contents at night, so every day users have fresh data, it is working perfectly but a cleaner way would be to directly write all processwire /assets/files directly to the S3 bucket. Sometimes I think I'm doing things ok same others I feel like a very beginner, if somebody has done something similar any ideas will help. If somebody is interested in doing something similar and don't know how to start just ask me. Nice weekend to everybody.
  13. Hi Guys. Is it possible to change the titles of the repeater field. Because when you get lots of repeaters and they are folded you don't get a clue of what is inside of it. Thank you.
  14. Hi there. It might be a simple question but I don't know where to start, how can I get pages modified|created after certain date and time? Thanks.
  15. Soma thanks your right inheritance was the problem, thank you very much
  16. Is kind of curious I'm using $suscriptores = $pages->find('template=newsletters-client'); I've got 4 pages of this type but is not returning any?
  17. is a tip to start with you jooker! , drupal, what the hell is that? , something from the fifties?
  18. Easier question, does anybody know about this error: Error: Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '------------' for key 'name_parent_id' (in /var/www/html/patrimonio24/wire/core/Pages.php line 692)
  19. Hello. I've got a form with an email on it after submiting: I create a page with a title and the submited email. I add the id of the page created in first step to a PageField in another page that already exists The first step is done but after the second I got the following error ( only if I'm no logged in the page ) Error: Exception: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '------------' for key 'name_parent_id' (in /var/www/html/patrimonio24/wire/core/Pages.php line 692) Any ideas will be welcome. Thanks.
  20. Any ideas? Recoverable Fatal Error: Argument 1 passed to FormBuilderMain::__construct() must be an instance of mysqli, instance of DatabaseMysqli given, called in /Applications/XAMPP/xamppfiles/htdocs/eximmachinery/site/modules/FormBuilder/FormBuilder.module on line 67 and defined (line 126 of /Applications/XAMPP/xamppfiles/htdocs/eximmachinery/site/modules/FormBuilder/FormBuilderMain.php)
  21. Hello Guys. I have a page with an inputField of type Page and I would like to populate it with other pages id's via API. What is the best way ( SelectMultiple, AsmSelect, PageListSelect , PageListSelectMultiple ) , and how can I populate from the API? I've been searching but couldn't find the right response, any ideas will be welcome. Thank you.
  22. The idea is to use a S3 bucket to save all assets, is it possible?.
  23. You lifesaver, that's right after exporting the profile I lost role permissions. Thank you very much.
  24. Hi. Is there a way to know which modules are loaded and in which order? Thanks.
  25. I have updated to pw 2.4 and not sure if that's the reason but when I login with a user (not superadmin) I get that screen. Does it happen to anybody else?
×
×
  • Create New...