•  » Extensions
  •  » Show map on album page but NOT on main page?

#1 2023-05-12 23:48:38

hog
Member
2022-06-21
9

Show map on album page but NOT on main page?

Hello/Hi/Greetings,

Using the OSM Map plugin.  The map works great for geotagged pictures.  However, I would like the map only to show on the album page and not the main page.

Also, the map is not showing on picture page.  Is there a way to get it to show up there?



Piwigo URL: http://www.usmototour.us/ken

Last edited by hog (2023-05-13 14:28:54)

Offline

 

#2 2023-05-13 00:03:21

OHappyDay
Member
2023-02-08
202

Re: Show map on album page but NOT on main page?

Your URL is wrong: Error 404 not found and the main page gives Error 403 Forbidden

Offline

 

#3 2023-05-13 15:21:42

hog
Member
2022-06-21
9

Re: Show map on album page but NOT on main page?

Yeah, my apologies, the entire site is a work in progress at this point in time.

I was battling several strange issues with Piwigo.  I made the mistake of using Softaculous to install it on my host, and I think it somehow corrupted the installation.  I wound up having to move/delete it and start all over again.  I've update the url above to the current installation.  https://www.usmototour.us/ken

Again, sorry, pretty stupid to ask for help then change everything

It looks like the map is now appearing on the photo page after the re-installation. However, it is still appearing on the home page, which I don't think I want.

What I am trying to build is a site where participants in trips can post their pictures to share with other participants as well as general public.  Each participant will upload to their album, and I will use a smart album to aggregate all the pictures into a single album.  The smart album will be public and appear on the home page.  So, the home page may have lots of trips and the map could get pretty jumbled up pretty fast.  I would like to not have the map on the home page, but when the smart album (or any user album) is opened have it appear.

Does that make sense?

Offline

 

#4 2025-03-04 13:53:43

stefano
Member
2023-12-15
12

Re: Show map on album page but NOT on main page?

Is there any shortcode for Local Files Editor with which I can

- hide the OSM Map on the Start/Homepage/Mainpage
- but show it in every category

At the moment I can only hide/show it on all pages, main page and categories

I tried to hide #map with CSS (I added it in PWG Stuffs on the main page), but it still loads all geolocations from all albums.

Last edited by stefano (2025-03-04 13:54:54)

Offline

 
  •  » Extensions
  •  » Show map on album page but NOT on main page?

Board footer

Powered by FluxBB