It has stopped working, but I am pretty sure this was working previously, before a recent update. map is here
Code: Select all
http://www.orchardlink.org.uk/dev/growing-orchard-communities-project/about-the-sites/
Code: Select all
<!-- Create Map -->
{$children=cgsimple::get_children('about-the-sites')}
{foreach from=$children item='child'}
{if $child.show_in_menu}
{$maptitle=cgsimple::get_page_title($child.alias)}
{$popuptxt=cgsimple::get_page_content($child.alias)|truncate:40}
{page_attr page=$child.alias key="show_on_home" assign='showonhome'}
{cms_selflink page=$child.alias text="<strong>`$maptitle`</strong><br /><span>Read more ▶</span>" title="`$maptitle` - Read more" assign='maplink'}
{if $page_alias == $child.alias }
{assign var="icon" value='dd-end'}
{else}
{assign var="icon" value='OL_Marker'}
{/if}
{if !empty( {page_attr page=$child.alias key='latitude'} )}
{cggm2_add_dynpoint map=1 name=$maptitle lat={page_attr page=$child.alias key='latitude'} long={page_attr page=$child.alias key='longitude'} desc="<h4>`$maplink`</h4>" icon=$icon }
{/if}
{/if}
{/foreach}
{CGGoogleMaps2}
Code: Select all
----------------------------------------------
Cms Version: 2.2.6
Installed Modules:
AdminSearch: 1.0.4
CGBlog: 1.15.7
CGContentUtils: 2.2.2
CGExtensions: 1.60
CGGoogleMaps2: 1.1.1
CGSimpleSmarty: 2.1.8
CGSnapshot: 1.3
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
CmsJobManager: 0.1.2
DesignManager: 1.1.4
FileManager: 1.6.5
FilePicker: 1.0.2
FormBuilder: 0.8.1.6
Gallery: 2.3.2
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.3
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.3
Uploads: 1.25.8
Config Information:
php_memory_limit:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension: /
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false
Php Information:
phpversion: 5.6.34
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 30
register_globals: Off (False)
output_buffering: 4096
disable_functions: symlink, dl, system, passthru, exec, shell_exec, escapeshellarg, escapeshellcmd, popen, posix_uname
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On