I need to remove or disable the save and cancel button in the purchase order module i used create="false" and edit="false" but it didn't work. Is there any solution to do it in another way?
If I get it right what you want is to hide a button that is default from odoo, right?
If so, you can do 2 thing via code inherit or use the menus of debug.
Via code
Check if you have the model in the views
If not add it to the .xml
To see how to inherit please check this link from addons/l10n_be_invoice_bba/views/res_partner_view.xml via github/odoo
This is another example of how to add invisible via code
addons/base_gengo/wizard/base_gengo_translations_view.xml
via menus with debug mode
Or enable debug on the settings or the add it on the URL and:
Settings --> User Interface --> Views --> Select your view --> add invisible to the item you want
Related
In Older versions this option was at Global Configuration section.
At joomla 3.x seems that this option has been moved.
I want only my existing users to be able to login.
Has anyone any idea where this option is available? Thanks in advance!
Log into your Joomla 3.0 admin dashboard
In the top menu, click Users and then click User Manager
In the tabs toward the top of the page, click the Options tab
Under the Component tab, find the following setting:
Allow User Registration
If set to Yes, new Users allowed to self-register.
To disable user registration, set Allow User Registration to No, and then click the Save button in the top left of the page.
After disabling the registration option, you will notice that the Create an account link within your Login Form will no longer show, as users can no longer create an account on their own.
Reference
It's very simple ,Follow the steps below:
a)select System --> Global Configuration -->Users manager.
b)Under the component tab you will see the 1st option as Allow user registration.
Please refer the screenshot below.
i'm working on a joomla 1.5 for a university project (when it started 2.5 wasn't out :D). What i'm trying to do is to assign a module to my custom component , but not every page of it.
The 2 different pages of my component is a page that shows every product , but the other one needs an id to work. In order to assign the module just to a page i think i need to assign every page my component has to a menu item.
But my problem is that i don't know how to assign my page that shows a specific product the variable id to make it work.
The Joorthodox way, i guess, would be to control the module availability from the module manager in administator page, where you can assign it to certain pages/menu items only.
Thus summarizing, create a menu item type for that page assign it to a menu item which in turn will be your module control switch for that page.
Another approach could be a control directly to the joomla module renderer. An example can be found here: joomla-is-there-a-module-render-plugin-event
One method would be to set the module to be hidden on that page using CSS.
Go to views/view_name/tmpl/default.php and within the tags at the top, add the following code in:
$doc = JFactory::getDocument();
$doc->addStyleDeclaration(" #element_id { display: none; } ");
You will need to inspect the module using a tool such as Firebug, Chrome Dev Tools or another tool depending on which browser you're using, and change element_id to whatever suits your needs.
Hope this helps
Just use Advanced Module Manager and assign your module by URL's not just by the menu link, it works for me to hide and show a module inside the different pages of the same component
My clients are restricted in the admin panel of the joomla and theri user group is menager. I need to show them what they need not more than that. But I couldn set the widgetwit permissons for that group there is no option to make that like other components configuration popup screen. How can I show it to the menager user group.
First you'll need to allow your component to save permission-related information, then to access the preferences and finally to set the appropriate values.
Into the components' folder: /administrator/components/com_widgetkit/ create config.xml with the code below or edit it to include the "permissions" fieldset.
Then add a JToolbar button for preferences anywhere in the component or the view:
JToolBarHelper::preferences('com_widgetkit');
Now in the administrator view you should see the options button.
I want to add extra field to the HikaShop user registration form for the first step of the checkout process. I could not find out the page inside the HikaShop Component actually where to add my code. Please suggest me soon.
The simplest way to do it is to create custom fields via the menu Display->Views (you have more possibilities in the commercial editions).
Otherwise,if you want to directly add your code to the form, you will have to edit the file "registration" of the view "user" via the menu Display->Views.
I am intrested in changing the joomla default Login module to show a menu as a greeting in the login module,
so that menu will contain links for profile management and stuff from that sort.
I have tried to add a module position inside the module (dawg!)
But that went down the drain.
And i'm not intrested in adding manual links to pages because they might change.
Any ideas guys?
Thanks in advance,
Eric
put this code in login module template where you want to show the menu
$module = JModuleHelper::getModules('xxxx');
// xxxx is any virtual position, no need to create it anywhere.
echo JModuleHelper::renderModule($module[0]);
and enable a menu module at position 'xxxx'.
I hope this will work.
You are going to have to create a custom module to do that. There is no way to do it with the parameters you have given. You could use the module alternative layout to add in some links to the login module, but you can't add a menu to it without rewriting the entire module.