Questions tagged [component-params]
The component-params tag has no usage guidance.
11
questions
2
votes
2
answers
272
views
Select articles to display in custom component
I have a custom component where I was to be able to select other articles to show in the frontend. I have thought the best way to do this would be through the SQL field.
This is good that it gives me ...
2
votes
4
answers
218
views
Immediately after install getParams returns an empty configuration. How to get the defaults?
When a component is installed, it seems that until the user updates the configuration (using the "Options" button) a request to get the component parameters from Joomla returns an ...
0
votes
0
answers
58
views
How can I get the values of the form on my admin page
I have a form on my admin page of my component, and I can edit the fields and save them.
When I load the page the saved fields show.
Say for example in a blog_category menu item. I create a new menu ...
1
vote
1
answer
29
views
I need to record some datas in user params when submit login
I have a login page and I need to perform some styles for users choice.
Then, when user select some preset style, the website changes the style.
I need to do it recording as some user params or in ...
1
vote
3
answers
2k
views
Params in Custom Component List View
I'm fairly new to Joomla and I'm developing my first component. I finished up the backend and I'm working on the frontend. I have most of the functionality figured out but I can't figure out how to ...
1
vote
1
answer
108
views
pop-up does not close, but is white
I tried several plugins and no one was able to load (inside the popup) the web page I wanted i.e. http://www.nicovon.joomlafree.it/sala_camino.html
this testing site
is, instead, the site where I'm ...
1
vote
1
answer
577
views
How to get the name of the active layout for the component used
I would like to get the name of the active layout for the category content component what is being used at this moment in my joomla through one override one_template/html/com_content/category/blog2....
2
votes
1
answer
2k
views
Calling category title params from a com_content
I have tried to search on every Joomla site to find a solution but haven't found a proper result yet.
I have created this custom module for my page and I need to display the "corrent" category title. ...
8
votes
3
answers
16k
views
How to get menu parameters and itemid in component controller
In my custom component controller I have function save(). At the end it displays message and redirects to url
$this->setMessage(JText::_('SOME_TEXT'));
$this->setRedirect(JRoute::_('index.php?...
6
votes
1
answer
85
views
Components: What is the purpose of the option_on and option_off fields in models > forms > viewname.xml?
In a Joomla 3.x component, a parameter that's frequently listed in the MODELS > FORMS > VIEWNAME.XML file is option_on or option_off.
For example;
<field
name="something_amazing"
type="...
10
votes
1
answer
5k
views
How to set a component's param dynamically?
To retreive a param I use:
$myparam = JComponentHelper::getParams('com_mycomponent')->get('myparam');
But what is the right method to store a component's param?