greenrae94
Error in documentation or code ( Select->allowHtml( ) )
I wanted to make use of the allowHtml() method in a Select box that I have made on one of my resource forms, but even when copying the documentation exactly I have been unable to get any HTML to display at all. I haven't made any custom css or edited any of the styling throughout the rest of the application.
When I go to the inspector I can see the HTML is being applied but the styling is being overwritten by something, and from my investigation so far looks like its being overwritten by:
I'm hoping this is something that either I have done wrong or have overlooked in some regard, but it all seems to be correct. Here is the Select box that I was trying to make:
I did also try adding the searchable() method to it as well like in the docs in case it was restricted to just searchable objects, but that hasn't helped either.
4 replies
Reusing a Page
I have created a custom page that I've been trying to make reusable. So based on one of the tables in my database, I want to have multiples of that page show up in the navigation for each entry for a particular user.
I've had a look through the documentation quite thoroughly and there doesn't seem to be anything about being able to reuse the same custom page multiple times.
Wondering if anyone had any ideas on how to get this to work?
4 replies
Generate Multiples of a Custom Page based off of Database entries
Been working on this tax calculator and I wanted to generate a number of pages based on a custom form page I have made. The amount of pages generated should be based off of which tax years have been selected in a previous form (I have each of the selected years saved to a table that has a many to one relationship to the user table). The pages are being served by a provider I have made. I currently haven't been able to get the provider to serve up multiples of the same page.
So my question is, is it possible to have a provider serve multiple versions of the same custom page based off of something like database entries? Or is it rigidly locked so that it can only serve one of each page once per provider?
2 replies