By Guest on Friday, 16 September 2016
Replies 8
Likes 2
Views 1.6K
Votes 0
I want to remove the map location display on the option of "List by Year"

It works fine for the "List Event by Week"
http://www.foff.org/index.php/list-events
but I get a map display error
when I try to do the "List Event by Year". How can I remove the map displaying
for this.
http://www.foff.org/index.php/list-events-by-year

Also, is there a way to view list by MONTH Menu Option?

Yes, I know it shows an error on the Map Display, but it works on all the other
links I use, so I just want to remove the map from the list by year.

Using the Google Maps API Checker shows the API is loading but I get
intermittent errors due to:
" The Maps API Checker was unable to analyze this page due to some cached requests, but it does suspect the API is loading. Please reload this page or open a new tab to run the full analysis."

The maps load most of the time, but I get errors now and then ( But that is a different issue)
I have all these listed for referral URLs
*foff.org* http://foff.org/index.php/locations/locations
http://foff.org/index.php/list-events/eventdetail/*
http://floridafolk.com/index.php/list-all-locations/locations
*http://foff.org/index.php/foff-calendar-mainmenu-34/new-calendar-view*
*http://foff.org*
That .htaccess script fixed a major problem I was having regarding displaying of maps and using Google Maps API.
That was the main problem when I getting errors early with the API settings.
·
Tuesday, 20 September 2016 02:32
·
2 Likes
·
0 Votes
·
0 Comments
·
Hello,

To hide it you would need to add a class to the page and then use CSS. Although you are better to fix than hide.

In the google API make sure to remove all these additional links you specified and just have:

*.foff.org/*

Many thanks
Tony
·
Friday, 16 September 2016 05:51
·
2 Likes
·
0 Votes
·
0 Comments
·
p.s. Month view as a list - use one of the club themes (https://www.jevents.net/products-new/addons/club-layouts) and select the config option on the theme tab to display the month view as a list instead of a calendar.
·
Friday, 16 September 2016 10:20
·
2 Likes
·
0 Votes
·
0 Comments
·
Thanks, Geraint,that solved one of my problems. It seems whenever I use the foff.org rather than
the http://www.foff.org site I get errors on the map displaying.

Is there something I can do to fix this?

ALSO, the creator/author is showing up in the Monthly Listing. How do I remove that?
http://www.foff.org/index.php/month-view-as-list
·
Friday, 16 September 2016 21:11
·
2 Likes
·
0 Votes
·
0 Comments
·
Use the layout editor (https://www.jevents.net/frequently-asked-questions/event-detail-layout-editing) to remove the creator link from the list views.

you should ideally set up your site to redirect foff.org to http://www.foff.org or vice versa. If you use Apache you could add this to your site's .htaccess file in your mod_rewrite section

RewriteCond %{HTTP_HOST} ^foff.org
RewriteRule ^(.*)$ https://www.foff.org/$1 [R=permanent,L]

That would redirect foff.org to http://www.foff.org automatically
·
Saturday, 17 September 2016 11:24
·
2 Likes
·
0 Votes
·
0 Comments
·
Note,

Geraint's redirect only takes into account HTTP and then redirects to HTTPS.

To make sure you site is always using https and ww use:


RewriteCond %{HTTP_HOST} ^foff.org [OR]
RewriteCond %{HTTPS_HOST} ^foff.org
RewriteRule ^(.*)$ https://www.foff.org/$1 [R=permanent,L]
·
Saturday, 17 September 2016 13:57
·
2 Likes
·
0 Votes
·
0 Comments
·
View Full Post