🇬🇧United Kingdom @effortDee

Account created on 9 June 2014, almost 11 years ago
#

Recent comments

🇬🇧United Kingdom effortDee

Scott i have thousands of views, so yes this would fix that issue, but autocomplete is the default form state and it now takes me quite a while to find the views i want to reference.

🇬🇧United Kingdom effortDee

I have no problem selecting the correct view using autocomplete, it populates the field but i then have to select a display in a drop down beneath that, usually stating Default, Block, like that.

But nothing appears in that drop down for the display so it won't actually reference the view and i can't save the node.

I have got around this by adding unlimited view reference fields on manage form and then i add a second, reference the view, select the display then remove the first empty views reference field and that gets around it.

🇬🇧United Kingdom effortDee

Any more updates on this? I'm looking at controlling an attachment map on a views page I have built and for facets to control both the page and the attachment map.

🇬🇧United Kingdom effortDee

Yes it did, there were no roles at all in People > Permissions.

I had to re-roll the website back a few hours to fix the issue to negate doing any database work.

🇬🇧United Kingdom effortDee

@Nattyweb look at Facets Summary, it will do just that and is a part of facets module but a sub module of it.

🇬🇧United Kingdom effortDee

That sounds amazing neurer, great idea!

🇬🇧United Kingdom effortDee

I have just been playing around and managed to get this to work in a normal view using relationships like you said.

But it isn't possible to do this in a Search API index view that I have created....

So it isn't working, how to get the rating fields in to a Search API index view?

🇬🇧United Kingdom effortDee

Any update on this being stable for D10?

🇬🇧United Kingdom effortDee

This is still impossible to add a base field of rating widget to the view in the fields using a Search API view index.

I have no relationships showing based on content ID/voted entity.

🇬🇧United Kingdom effortDee

I created the taxonomy term link in the header of the views block which shows related/similar foods based on the ingredients.

How would I go about swapping this taxonomy term link, of which I used tokens, to a facet link to the same ingredient?

🇬🇧United Kingdom effortDee

TR it specifically says this in the description for the module "Easy-to-use integration with Views module for lists sorted by rating, or filtered by min/max ratings"

I just can't seem to make sense of the sort that it outputs and its been like this since we installed the module.

🇬🇧United Kingdom effortDee

Came back to update that I was having problems with another site.

The Field Storage Vote Type must be the same for both the comment and the node.

I created one called Food Review Fivestar in the Vote Type admin area but only selected this for the comment/review but not for the node and could not get this target bind working until I realised this.

And yes, "entity_id" should be put in exactly like that for the comment to bind to the node.

Documentation needs updating!

🇬🇧United Kingdom effortDee

Hells to the yea dcam!! Thanks so much, worked like a treat.

🇬🇧United Kingdom effortDee

So I used Softaculous to install the new Drupal site and it seems that it is adding table prefixes.

These table prefixes have been added like this in previous website builds i've done with no issue for media library or module but here it is....

I have removed and re-installed a fresh D10.3 and installed media module with no issues now.

🇬🇧United Kingdom effortDee

If anyone is wondering why there facets are not applying chosen, that is the issue.

I worked this out, I have two views for two seperate web apps, one of them has exposed filters/sorting options and the other did not.

The one that only had one facet to filter and no exposed filters/sorting options, chosen did not work.

The one that had exposed filters/sorting options, chosen worked on the facets on that web app.

To get around this I added a sorting option and then I removed that with CSS so now chosen works on the facet so it can be searched using chosen.

🇬🇧United Kingdom effortDee

Hi @cilefen

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'feafccef_drup863.drcu_media' doesn't exist: SELECT "base_table"."vid" AS "vid", "base_table"."mid" AS "mid" FROM "drcu_media" "base_table" GROUP BY "base_table"."vid", "base_table"."mid" LIMIT 1 OFFSET 0; Array ( ) in Drupal\Core\Entity\Query\Sql\Query->result() (line 272 of /home/feafccef/public_html/dev/website.co/core/lib/Drupal/Core/Entity/Query/Sql/Query.php).

I get this if I go to the uninstall module page and its a white screen wit the following message.

The website encountered an unexpected error. Try again later.

I forgot to add this is a brand new Drupal 10.3 install and no other issues the past few days working on the site.

🇬🇧United Kingdom effortDee

Hi Greg, how would this be possible to compare a token field and a number that comes from a view?

Thanks

🇬🇧United Kingdom effortDee

@itamar I must know how you did that, that is exactly what i've built using geolocation and using paragraphs, one paragraph type for the route gpx file and other paragraph types for the Points of Interest and they all re-use the same geolocation field so they can be used in views.

What you linked above looks amazing and all using geofield?

Thanks for your patience with me, i think i have spent 30+ hours now to no avail, maybe its just one small thing i'm not getting right and looking forward to your response.

🇬🇧United Kingdom effortDee

I wanted to get it working in Geofield to see which process was better, what differences they offered, which was easier/harder to use and learn both modules.

I've managed to get it working on multiple sites now with geolocation but no luck with geofield at all.

🇬🇧United Kingdom effortDee

Another that is very interested in this.

🇬🇧United Kingdom effortDee

@jazzper I have managed to do it!! It seems Geolocation v4 works compeltely differently and saves GPX routes/files as their own entities and there are brand new views integration and even after many days I could not get my head around it and no documentation or answers online.

I now have pretty much what you set up with contextual filter and block view to only show that route and its poi related to that node.

Some more questions if I may.

It looks like you used one Paragraphy Type for the Route GPX and one Paragraph Type for the Points of Interest?

Is this true?

If so, how do you differentiate between the different points of interest, landmark, shops, toilets, water, etc?

I have one for the route and many paragraph types for the POI, one for each of toilets, shops, water, etc.

How do you get the icons/images etc on the markers for the POI? Can I do that just by adding in a title, image field with the POI paragraph type and use that field in views for the marker to inherit?

Thanks so much for your feedback and your original writeup of this approach above ^

🇬🇧United Kingdom effortDee

Hi Marcus, yes sorry for not getting back.

Indeed, i have since asked on reddit, appreciate your thoughts and i've been watching some of your recent Youtube videos too, thanks again.

🇬🇧United Kingdom effortDee

Hi Thomas,

Thanks so much for looking in to this!

I will have a play too to see if i can work something out that may already exist but not be obvious.

🇬🇧United Kingdom effortDee

@jazzper thanks for getting back, what you show me is exactly what i'm after but i just can't get it to work and spent almost a week trying every combination I can think of to get it to work.

I am using geolocation v4 though so maybe that is why? It seems to work completely differently to the previous module version and saves the gpx routes differently.

🇬🇧United Kingdom effortDee

Thanks for getting back.

I didn't have any issues with the above issue of showing a gpx route using geofield, I had already successfully used FILE / GEOFIELD / GEOCODER and uploaded gpx files, geocoded them in to geofields.

I understand that geolocation is a separate module and mentioned that because it seems to be the only way to get layering in maps to show multiple content types or paragraphs to show different maps on top of each other.

I have successfully used geolocation to show gpx routes and points of interest but it does not seem possible with geofield in views.

At the time of writing i can still find no way to show a gpx route AND points of interest (from a different content type or paragraph type) using gpx file > geocoded > geofield with a view using commonmap and geofield points of interest.

I can get them to all work separately and embed on nodes but utilising leaflet to show the gpx route (from the geofield) and then geofield points of interest seems impossible and not actually doable.

And that was my query, do you have any insight to that?

🇬🇧United Kingdom effortDee

Hi Itamar I had the tab open to reply and I do have a question in regards to the GPX route on a map and layering.

First, thanks so much for the detailed reply, i re-read it a few times to get an understanding of the approach and it is a good one.

I have seen two other approaches in my quest for the best answer but am yet to find a complete solution.

I cannot have a gpx route (a line on a map) with geofield using the commonmap setup.

It will only work with leaflet, but then a leaflet map does not work with a geolocation (i know this is geofield) layer in drupal views.

So I am yet to find anything that works using geofield to show a route and then on top of that the points of interest all on the same map.

The route content type and the poi content types definitely work and its a good idea for managing so much content.

But its impossible to output it at the moment, i spent a good few days trying to get it to work but to no avail because of the mapping issue and laying of maps.

IP Geolocation and Views for D7 was perfect pre-d8/9/10 but hasn't been updated in years so not available and the geolocation module v4 doesn't actually store a gpx file.

I have tried so many iterations of geocoding and geofield and as far as I have got is showing the centre of the gpx route with a single pin on a map and then the points of interest all on one map, but no route/line and map.

Again, i really appreciate your time and thoughts on this.

🇬🇧United Kingdom effortDee

@jazzper i've been trying to do this for a couple of days now, a route with poi along the way using paragraphs on a Route content type.

I just can't get to show the gpx route line on the geolocation layer, any ideas?

🇬🇧United Kingdom effortDee

Did you ever get this to work? I'm currently trying to do exactly this and show multiple paragraph types within a route content type to show points of interest on that route and struggling to get the geolocation layer to show anything on top.

🇬🇧United Kingdom effortDee

Surprised this hasnt been developed for Drupal 8+ as it was used on most of my D7 websites and seemed to be a very popular module.

🇬🇧United Kingdom effortDee

Appreciate that, no rush on anything was just making sure it wasn't going to die.

🇬🇧United Kingdom effortDee

Thankyou, i appreciate the reply!

I was just seeing some vague ideas as how to implement this across the web with mentions of Rules so thought I would ask here as I have not used ECA yet.

Again, thanks!

🇬🇧United Kingdom effortDee

I too would be after this feature, this seems like an amazing idea to implement!

🇬🇧United Kingdom effortDee

I had to update Geocoder which then redownloaded the libraries required via ludwig.

Weird.

But all sorted now, please close

🇬🇧United Kingdom effortDee

Got it working by using the node IDs instead of the URLS.

🇬🇧United Kingdom effortDee

I downgraded to 2.0 and it didn't work.

🇬🇧United Kingdom effortDee

This is still an issue and I get this error, i will downgrade to 2.0 to see if that works as I cant change PHP version due to other sites on the same server.

🇬🇧United Kingdom effortDee

I too would love that, I do a lot of web work in Wales and have missed this on a few sites.

🇬🇧United Kingdom effortDee

Surprised this hasn't been picked up, it just doesn't make sense when I look at it as a UK resident and how we write our addresses.

Production build 0.71.5 2024