• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Javascript works for Members, Not Public

SoilentRed

Caaan do!
I have these elements that show or hide based on a selection made on a radiobutton. Here is what i have cooking:

On Load: When this element "rating" == "", hide element "reviews.review_notes"
On Change: When this element "rating" < "4", show element "reviews.review_notes"
On Load: When this element "rating" == "", hide element "reviews.post_review"
On Change: When this element "rating" > "3", show element "reviews.post_review"

When I have a user logged in the javascript works fine. When I load the page as a public user, JS is no bueno. I thought it might be a permissions thing, but when I disable the JS, all the elements show.

Any ideas?
 
HUGH!

Sorry for the belated response. Had a brief stint in the hospital.

SO, check out this example page https://www.networkinaction.com/index.php/reviews?&reviews___member_id=1707

The URL uses the member ID to pull facebook and google info if the rating is 4 or 5. if the rating is 3 or below, there is a textarea element that should show. BUT neither of these javascript actions are taking place UNLESS you are logged in. What gives. It should work whether you are logged in or not.

THANKS!
 
Hi,
I notice an issue with JS too. I've made an github update today and it seems okay.

With github update from 18.04.2019 (modified 05.04.2019) everything works well.

@ SoilentRed:
  1. Do you use different tables for Members and Public
  2. Does the JS work readonly?
  3. Did you check in your elements?
Cheers,
Bianka
 
Last edited:
@cheesegrits
Login credentials sent! Thanks for taking a look. Let me know if there is anything else you need there.

@bea ,
1. we do not use different tables
2. I don't know how to test if the js works readonly. Where would the ticket for that be?
3. I checked me elements insofar as what I know to check. Again, they work when logged in, not on public view.

Thanks for your help and let me know if there is anything else that you need.
 
Thanks. You think it might work if the JS was manually written? 'nuther thought: Might this have something to do with my caching app, jotcache?
 
So, I switched this page to the Beez3 Template, and the JS SEEMS to work on a public view. I don't understand the difference, but perhaps this might better inform us how to examine the problem.
 
I removed protostar a while back. If I recall it had something to do with the way the styling was affecting fabrik on my Jomsocial template. Memory is hazy though. I'll see about reinstalling it and what result it yields.
 
Okay, I have it installed. and this is interesting. it works with Beez3 but NOT protostar
Another interesting thing is that the beez3 template does not reflect the option for "button group" I ticked to "yes"
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top