Jump to content

lpa

Members
  • Posts

    209
  • Joined

  • Last visited

Everything posted by lpa

  1. But when the module is ready, it should protect the files without any template level protection turned on. That's how I would expect it to work.
  2. Is this module supposed to support securing the attached files with pagefileSecure-option in config.php?
  3. I get an error with this info in error-log: {"errors":[{"message":"Bad Authentication data","code":215}]} I have checked the authentication data many times, but don't know how to further debug this. Could someone help? EDIT: Is this module supposed to work when my site is not yet on public IP? Can Twitter authentication work when PW is on localhost in home network?
  4. I have a template called concert, which has a repeater called event, which has a field called concerthouse, which is a page reference to a page with a template that has fields: title, address and city. If I want to search for the concerts that are held in a concerthouse whose title I would like to search, how would I make the find on my search.php template? Simplified find with only the concerthouse.title -field: I have tried $pages->find("template=concert|repeater_event,event.concerthouse.title~=$q"), but this doesn't work. And I don't want to get the repeaters as the result pages, but the concerts. And not the concerthouse-pages but the concerts.
  5. Finally I found a solution which kind of works: .reveal-modal { display:block !important; }
  6. Yes, I am using the Zurb Foundation 5 profile which has 1.10.x version of jQuery. Maybe the module could be fixed to use .on?
  7. I get this error on my browser: [Error] TypeError: 'undefined' is not a function (evaluating '$("li.PageListActiondelete a").live("click", function(el){ if(!confirm("Are you sure?")) { return false; } })') (unknown function) (ProcessPageDelete.js, line 2)
  8. Shouldn't it be possible to search with rootParent=/somesection/ with batcher?
  9. I would also like to see that the requirements of the password complexity could be defined without hacking the core.
  10. I have still this problem. As I wrote, I use Foundation Reveal Modal with Ajax loading: <a href='{$k->concertplace->url}' data-reveal-id='kpModal' data-reveal-ajax='true'>PLACE</a> <div id='kpModal' class='reveal-modal large' data-reveal > <a class='close-reveal-modal'>×</a> </div> In concertplace.php I have: $map->render($page, 'map') And in main.js I have: $(document).on('opened', '[data-reveal]', function () { setTimeout(function() { google.maps.event.trigger(mgmap1, 'resize'); mgmap1.map.setCenter(mgmap1.options.center); }, 350); }); The map still doesn't load properly. The other content of the Reveal Modal is ok. What should I test next?
  11. Adrian, No that is not perfect for us. We need the urls to be easy to remember. Lets have an example: We have an event called "April Event 2014" and the registration would be at http://www.eventregistration.com/register.aspx?id=2344,enter=567. I would make a redirect http://www.ourdomain.com/aprilevent2014/ -> http://www.eventregistration.com/register.aspx?id=2344,enter=567. Now I can print this http://www.ourdomain.com/aprilevent2014/ in all the ads we make for the event on print etc. And if we have many redirects for different purposes, an info field would be helpful to put info about: how long do we need this redirect, who is responsible for this etc.
  12. We use redirects for exampel for temporary addresses that redirect to temporary questionaries or registration forms for events etc. Those addresses will be used in print and have to be easy to remember even when the actual registration happens in a complex address with many attributes in the url.
  13. I would store just the reason this redirection is done, when and how long do we need it etc. Instead of keeping that kind of information in an excel-file that no one finds...
  14. Hi Antti, I would love to see one more field for this module: info-field for storing the reason for this redirect. Just a small textarea where you can write something. Could it be possible to have this?
  15. Thanks Ryan for this help. I think it would help if the API documentation would describe when I can use filter('/path/to/parent/') and when not. :-D I feel sometimes that the documentation should be more detailed and contain more examples. But the new cheatsheet seems very promising.
  16. I don't want to use pages for the concert date and place, because the user interface is more friendly with repeaters. I am still struggling with my selectors. With Ryans example in message #6 I get a PageArray with all the future events. Then I try to filter the events based on the parent with this: $events = $events->filter("parent=/path/to/parent/"); This works if I use filter("parent=4352"), where 4352 is the id of the parent in /path/to/parent/, but not with the path to the parent. How can this be possible?
  17. Thanks Soma! That is another problem that I had noticed but not tried to fix yet. My problem is still the one I wrote about in #156. The map doesn't resize and Ryan's example JS code doesn't fix it properly. Maybe it's something to do with loading the content of the Foundation Reveal Modal with Ajax.
  18. I am using the Foundation profile and it seems foundation.css has max-width: 100% for img in a few places. Why does this affect the maps? What should be used instead?
  19. Thanks Ryan, but it didn't help. The map still sometimes shows up correct but after clicking some more concerts it shows up with the same error.
  20. Thanks Teppo! I think when having the platform, why not the os version too? If you for example want to help solve some problems your users might have with your site, it might help to know which browser on what os they are using without asking. The new version doesn't show up in Modules Manager.
  21. Hi Teppo, Are you planning on adding the IP number logging some day soon? And maybe os version?
  22. Thanks, I'll try this. I think it would be nice to have some selectors for searching the pages and parents the repeaters are on. Some way to treat the repeater fields in the find() as they were normal fields of a page that have a parent.
  23. Thanks Ryan! I tried this, but can't get the map to resize. I have the code just as yours above. My map div is called mgmap1 and if I put an alert("OK"); after the setCenter line, I get that alert triggered, but the map is not resized. I'll send you a private message of the page, if you can check why my code doesn't work?
  24. Thanks Soma! I will use your example for pagination. I am not very good finding things on this forum... A new question regarding repeaters and selectors: Trying to use the find above with some fields from the actual page containing the repeater or even the parent of the page containing the repeater. $items = $pages->find("template=repeater_eventdetails, date>0, sort=date, include=all, parent=somepagename"); Is this possible or what would be the correct syntax to find the pages containing these repeaters, that have parent "somepagename"? Or is there selector like: has_parent=somepagename or getForPage=somepagename?
  25. I would really like to know if there is an easy way to enable the pagination in my code above? Or what would you suggest?
×
×
  • Create New...