Questions tagged [mvc]

MVC stands for Model-View-Controller. It divides a given software application into three interconnected parts, so as to separate internal representations of information from the ways that information is presented to or accepted from the user.

Filter by
Sorted by
Tagged with
7
votes
1answer
5k views

Override MVC classes in Joomla 3

Is there anyway to override MVC classes in Joomla 3? I have found this thread but it is for Joomla 2.5. How to override core classes? I have done MVC overrides in Joomla 2.5 successfully but now I ...
13
votes
1answer
3k views

How can I use Joomla's Cache with my components view?

As is typically the case with a CMS, the most hits occur while it is still "new". I'd like to cache the page output the first time it is rendered for a given period as to reduce the heavy workload ...
6
votes
1answer
4k views

Click on custom button opens modal window

I've got some custom buttons in my Joomla component and I want them to open in a modal window like with the batch button in the com_content component. Anyone has got any idea on how to do it? Thank ...
3
votes
2answers
2k views

Pre-processing form data before display / save - what's the standard approach?

I'm developing a new Joomla component where I have a JAdminForm called course.xml. This form has several text fields / text areas that will contain meta titles / tags for an item. However, when ...
3
votes
1answer
656 views

MVC component JForm data array to string conversion before save()

I have an admin form with a multiselect form field. Hitting save is passing this as an array and I would like to convert these array values to a comma delimited string before saving to the database. ...
2
votes
2answers
367 views

How about storing single records and their categories in one table

I'm developing my own component for Joomla. I know that in many components single records and their categories are stored in different tables of the database. But how about storing them in ONE table ...
1
vote
1answer
324 views

Cannot redeclare class error with System Override plugin

I'm creating a Core override plugin(for overriding the 3r party extension) using Joomla system plugin. The issue is Cannot redeclare class VirtueMartCart error showing on t3 framework based template. ...