SOLVED: Tool tip to show relevant values from another element?...

Status
Not open for further replies.
It was 6am my time when I posted that last question, so I had to get some sleep. Just started work for the day, I'll take a look now.

-- hugh
 
Oh, cool ... I spent a couple of months on Koh Samui, and travelling round Thailand. I'd forgotten how beautiful it was ... I really must make it back there one of these days.

Anyway ... on your site now. It's a very nice site. I'd like to use it as a Fabrik reference, if I may?

-- hugh
 
I've got a feeling it might be to do with where you are using > in your data and labels. I tried replacing them with >, but either i'm getting cached pages, or something in the process of saving and re-editing is converting that back in to >'s.

If it's not that, it's in the custom template.

But I have to eat dinner and then go play a gig, so it'll be late tonight before I can get back on this.

You might want to try removing all those >'s from the data/labels/options for now, see if that improves things.

-- hugh
 
Hi Hugh - thanks for the feedback - glad you like the site. It's my first Joomla and also my first Fabrik.... talk about a learning curve!! 'Labor of love' springs to mind ;)

I emptied and purged the cache and I can see you removed the > on the Nifty Deals fine but the issue is still there.

Just trying to think simply/logically on this...

In the Concat Label area this worked fine:
'<img src="http://mysitename.com/', {thistable}.myicon_element,'">'

but adding extra to it does not:
'<img src="http://mysitename.com/', {thistable}.myicon_element,'" class="fabrikTip" title="',{thistable}.myName_element,'">'

Result is it is chopping off the facilities list at around 1028 characters of code.

So can you find where to change the output 'length' of the Fabrik Concat field and/or the facilitiesjoin field?

In the database the facilitiesjoin field is set as TEXT.

Thanks for your help with this - much appreciated - Hope the 'Gig' went well!
 
Yup, J! and Fabrik both have their learning curves. Fabrik is pretty easy when you stay within the "out of box" features, for simpler stuff. It gets a a bit funky when you want to push the boundaries, but once you've gotten the hang of it, it is amazingly powerful - much more so than we ever imagined. We are constantly amazed at the uses people put it to.

Can you examine the actual data in the joined table, in the myName_element field, in something like phpMyAdmin? Make sure you don't have anything funky in there, like a failed attempt to test using a {fabrik ...} plugin or some such. What's confusing me, another quick look, is it looks like we're trying to render a detail view of an element in there, for reasons I don't yet understand.

I'm waking up at the moment, drinking first pot of coffee and doing my first sweep through the forums for anything super urgent.

-- hugh
 
Hi Hugh - I will PM you a screen shot of the fields - I can't see anything funky though.

Sorry but I don't know what you mean by "trying the render a detail view of an element" :confused:

Thanks
 
I got you PM. Re "trying to render a detail view" ... some of the markup in that section of the list looks like markup which should only appear when an element is being rendered on a form/detail view, not in list view. One of your earlier posts talked about using {fabrik view=element ...}, which would generate that kind of markup, so I was wondering if you'd forgotten to remove some of your earlier testing.

I'm going to need to take a look at your custom template. Can you either fill in your ftp details on you My Sites, or install exTplorer in Joomla (and make sure my account is a super admin).

-- hugh
 
Hi Hugh - thanks for your reply. I know you are swamped and your time is much appreciated. :)

The details on MySites are still working as I have just "reactivated" you.

I noticed that if you go the 'view details' from the list url that is in MySites that it is also just showing the first 8 facility icons instead of them all.

Thanks in advance
 
OK, I think I may have fixed this one.

We use a GROUP_CONCAT() to build the query for the multi-select join element types. MySQL defaults to 1024 bytes for a GROUP_CONCAT() result. In Fabrik 3.1, we fixed this a while ago, by setting the MySQL option GROUP_CONCAT_MAX_LEN to 10240 whenever we open a session on a database connection. But it looks like we never back ported that to Fabrik 3.0.

I applied that fix to Fabrik 3.0, so as of this commit:

https://github.com/Fabrik/fabrik/commit/df59c0df17e61414908ece7fea77ac614a73bb12

... we should now set the max length up to 10k (ish) instead of 1k.

I updated the affected files on your site, and (after a big of faffing around with caching), your page is now loading properly, complete with un-truncated facilities icons and tooltips.

So ... I think this one wins the prize for "nastiest long running issue (with the simplest fix) of the year so far".

-- hugh
 
Hi Hugh - THANKS EVER SO MUCH!! - One thing I can guarantee is it would be me that comes across the nasty issues! lol!

Thanks for sticking with it. :)
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top