czar
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Mmm… something is wrong. This function generates incorrect link with share-location and obviously does not load map (in homepage)
This reply has been marked as private.Hi Simone, this interested me also. Tried but it does not load map
Hi, with support of Kriesi for Enfold, I found a solution (maybe) to Location, but I have problems with formatting title generated by GD. Can anyone help me?
thanksCode to add to function.php:
add_filter('avf_title_args', 'avia_change_title', 10, 2); function avia_change_title($args, $id) { if(!is_page(22)){ $current_location = geodir_get_current_location(); $args['title'] = $current_location; } return $args; }
ok but I do not know how to do, then do nothing… thanks Paolo
Thanks Paolo, I try, but it will be difficult …
Thanks John so I figured it out, but how do I insert only in content (which seems more correct). I guess that is the same for all widgets ‘TOP Section’, right? Which files I have to edit for this?
Hi Paolo, it’s not like I want to. See 3 images
1 is enfold original
2 is GD with your code
3 is GD correctlink: http://www.sfogliacitta.it/movida/milano/live-music/amnesia-milano/
thanks
Solved sorry: Forgot to set Map Auto Zoom in widget.
But could also be without auto zoom?
thanks
thanks Simone I’ll try now
Thanks Brian but I not know how to write php string with
&id=
for milan ID is 8, but how to insert code?
thanks
uhmmm… no 🙁
Parse error: syntax error, unexpected T_IF in ../widget-logic/widget_logic.php(286) : eval()'d code on line 1
also tried
if ($current_location=='Milano'
same error
Perfect, I changed name in geodir_countries and merged old map with new ones. Is now correct. I created new map in Italian and it works.
/area/italia/lombardia/milano/
Thanks so much Paolo
uhmmm… I do not think you understand the procedure, can you explain better what should I do?
thanks
-
AuthorPosts