-
Posts
353 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Mats
-
Hi! Checkout RSS Grafitti for FB. http://www.rssgraffiti.com/
-
You're welcome Ryan! Glad i could help. Very nice site as always!
-
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/
-
No, i meant this part: <script type="text/javascript" src="<?php echo $config->urls->templates?>js/RCDMap.js"></script>
-
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/
-
Try to move the RCDMap script just before the closing head tag.
-
Does the map have a width and height?
-
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 ?>,),
-
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.
-
They had overwritten the log file and couldn't specify the problem. Sorry.
-
I've emailed the hosting provider about it. I'll get back as soon as i get a response from them.
-
My web host had a mod_security setting that caused the same problem.
-
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!
-
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
-
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.
-
Sounds great! Thanks a lot Soma!
-
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?
-
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!
-
Good to hear and thanks for the feedback!
-
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
-
radioparadise.com. Plays a lot of great stuff.
-
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>
-
Try this: $page->next $page->prev http://processwire.com/api/variables/page/
-
Here's another one: https://docs.klarna.com/en/getting-started