I am experimenting with Fabrik to use it rather like a CCK but to extend a component rather than a Joomla article. I am making some good progress after watching the videos and completing most of them, but would appreciate some advice.
Currently with the component I have to enter repetitive information e.g. dates, titles, names etc as static HTML styled with CSS. This information (or parts of it) are displayed in different parts of the component. It is prone to error and if I want to change the layout I have to do it for each record stored in the component.
What I wish to do with Fabrik is store this information in a table linked to the respective component record. I should then be able to use Fabrik elements in the HTML that retrieve the data from the corresponding record and display the fields using the Fabrik content plugin. It would speed things up, reduce errors, allow me to make changes to the template that is then reflected across all the records displayed by the component etc.
I have created a list and linked it to the component's main table. I can display this list or its elements in the component using the Fabrik content plug-in. This is great! However what I am not sure is how to get Fabrik to retrieve the relevant rowid from the component's active record. In principle I need to say to Fabrik "this is the record the component is displaying, now find the corresponding record in the linked Fabrik table and display the respective elements added to the content." At the moment I have to specify the rowid for each element, which defeats my objective.
I hope I have made this clear (!) and would appreciate any advice. If I can do this Fabrik will do the job brilliantly!
TIA
Currently with the component I have to enter repetitive information e.g. dates, titles, names etc as static HTML styled with CSS. This information (or parts of it) are displayed in different parts of the component. It is prone to error and if I want to change the layout I have to do it for each record stored in the component.
What I wish to do with Fabrik is store this information in a table linked to the respective component record. I should then be able to use Fabrik elements in the HTML that retrieve the data from the corresponding record and display the fields using the Fabrik content plugin. It would speed things up, reduce errors, allow me to make changes to the template that is then reflected across all the records displayed by the component etc.
I have created a list and linked it to the component's main table. I can display this list or its elements in the component using the Fabrik content plug-in. This is great! However what I am not sure is how to get Fabrik to retrieve the relevant rowid from the component's active record. In principle I need to say to Fabrik "this is the record the component is displaying, now find the corresponding record in the linked Fabrik table and display the respective elements added to the content." At the moment I have to specify the rowid for each element, which defeats my objective.
I hope I have made this clear (!) and would appreciate any advice. If I can do this Fabrik will do the job brilliantly!
TIA