Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Mats

  1. Hi! Checkout RSS Grafitti for FB. http://www.rssgraffiti.com/
  2. Mats

    Karena Savannah Cramer

  3. You're welcome Ryan! Glad i could help. Very nice site as always!
  4. This should be just before the head tag: <script type="text/javascript" src="<?php echo $config->urls->templates?>js/RCDMap.js"></script> The other script should be in the body, where you would like the map to appear. Here is a page with the scripts if you'd like to have a look where the code is supposed to be: http://kalmarlansmuseum.se.preview.binero.se/rapporter/
  5. No, i meant this part: <script type="text/javascript" src="<?php echo $config->urls->templates?>js/RCDMap.js"></script>
  6. I checked one of your pages and it looked to me the script was placed in the footer? This is the page i checked: http://www.strati-varius.com/decors/gouffre-de-villon/
  7. Try to move the RCDMap script just before the closing head tag.
  8. Does the map have a width and height?
  9. Hello jetag! The module is an admin side module. To display a map on the site you have to add some code. If you'd like to use Google maps this is a good place to start: https://developers.google.com/maps/documentation/javascript/tutorial#The_Hello_World_of_Google_Maps_v3 To use the values from the map module try something like this. center: new google.maps.LatLng(<?php echo $page->map->lat ?>, (<?php echo $page->map->lng ?>,),
  10. Just realized you already checked the js console so this probably won't help you. Anyway it might help some one else with a similar problem. Here's a screen image of the problem i encountered and it gave the hoster a clue what caused the problem: https://docs.google.com/file/d/0B6dJoCa5mpgbNm94SnN6S1d3amc/edit?usp=sharing According to the hosting provider it was because of the mod_security setting but they couldn't be more specific than that. Hope you get it working.
  11. They had overwritten the log file and couldn't specify the problem. Sorry.
  12. I've emailed the hosting provider about it. I'll get back as soon as i get a response from them.
  13. My web host had a mod_security setting that caused the same problem.
  14. You're right Soma, it's my css that's messed up and i'm stuck in the old way of styling the navigation. I just have to rethink it. Thanks for all your help!
  15. The thing is i'd like to have only active classes based on the page name. Otherwise it gets kind of messy trying to style the navigation. Here's an example of navigation i'm converting http://lidingosidan.se/stadsplanering/ The site uses this plug in http://textpattern.org/plugins/996/adi_menu
  16. Thanks for the update Soma. There seems to be a undefined variable named class in the code (line 238 if i remember correctly). I still would like to be able to set a class on the parent/s like the item_current_tpl, if possible. I think this would it a lot easier to style the navigation. I understand if you're not willing to add it since this kind of feature might have a bit limited use.
  17. Sounds great! Thanks a lot Soma!
  18. Hi Soma! I have a news page with sections and sub sections, each section has it's own color which is inherited to it's subsections. When on a sub section i'd like to indicate both the current subsection and the parent section with the section color. Does this make any sense?
  19. I'd like to add a dynamic parent class based on the page name. Is there a way of doing this at the moment or is it possible to add such a feature? Something like: 'parent_class' => 'parent {name}' or 'active_parent' => true This is such a great module and time saver! Thanks for creating it Soma!
  20. Good to hear and thanks for the feedback!
  21. I implemented the first of your requested features (MarkerClusterer) in your RCDMap class. You can find it here: http://processwire.com/talk/topic/690-map-marker-fieldtype/page-3#entry25865 Here it is in action (built for mobile): alltpaoland.com
  22. radioparadise.com. Plays a lot of great stuff.
  23. It returns the next page id. So you have to use $page->next->title to get the title ie. And a linked title: <a href='{$page->next->url}'>{$page->next->title}</a>
  24. Try this: $page->next $page->prev http://processwire.com/api/variables/page/
  25. Here's another one: https://docs.klarna.com/en/getting-started
  • Create New...