How to change the dashlet name in alfresco community v5.0.0? - custom-controls

I am unable to change the dashlet title names. In the customize dashboard page there is an option to only choose among the predefined dashlets. How do we add a custom dashlet or change the name of the dashlets available.

I found out a way to do it.
We need to change the header in the property files under the folder '\tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets\'
for ex: to change the title of the image preview dashlet, we need to change the header in imagesummary.get.properties file.

You can not change Name of dashlet directly without changing code.If you want to change name of existing dashlet you need to override that dashlet.
For creating new dashlet I have have some references which are as below.
http://docs.alfresco.com/3.4/concepts/kb-dashlet.html
http://customizealfresco.blogspot.in/2012/09/create-simple-dashlet-in-alfresco-share.html
https://wiki.alfresco.com/wiki/Share_Custom_Dashlets

Related

Add a new template option to category block in CS-Cart

I have created a new template file for the category block in CS-Cart. How do I add this as one of the options in the block config?
To be able to select the new template on backend/layouts/blocks please add file to:
design/themes/[THEME_NAME]/templates/addons/[ADDON_NAME]/blocks/categories/[FILENAME].tpl
If you don't have a custom add-on already you can use My Changes add-on
design/themes/[THEME_NAME]/templates/addons/my_changes/blocks/categories/[FILENAME].tpl
PS: if category structure is missing you will need to create also you need to have My Changes add-on activated

Remove component name from url in joomla2.5

i want remove component name from url
http://mydomain.in/tfn/index.php/en/component/users/profile
Make a menu link. The component name is only there because you cannot be sure that there is not an article etc that has the name profile so it adds segments to the url to ensure the url will be unique. The menu system will guarantee uniqueness. You do not have to display the menu, just make a menu that you never show the module for for anything like this.

Hide component name from urls in joomla

I need to hide component name in joomla urls.
I have also applied configuration for SEO urls in administrator.
But still it is displaying component name in urls
So please suggest me appropriate solution for hiding component name in urls
You need to create a menu item (or tree of items) to the component. The alias you give the menu will appear in the URL.

Understanding the Joomla Component File Structure / from URL

I'm new to joomla and have got a problem with a website.
I need to modify a view and I've been told it is in
http://www.example.com/index.php?option=com_user&view=register&Itemid=68
It has a registration form and i need to modify its field. I've access to FTP only. I need to know where are these files to modify the registration form. If one can describe the meaning of this url structure then it would be very helpful.
You will find the template files in /components/com_user/views/register/tmpl.
However, you should create an html/com_user folder in your template directory with a copy of those files and use a template override ("never" edit core files).
Here are a couple resources that will point you in the right direction:
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Introduction
http://docs.joomla.org/How_to_override_the_component_mvc_from_the_Joomla!_core
com_user means use the user component register view.
Itemid 68 refers to the id of the menu item it is linked from.
You don't want to directly modify any joomla files.
If you want to add a field to registration activate the user plugin or create your own user plugin along the same design but with the fields you want.
It is advisable not to modify the core files directly, they will get overridden whenever the Joomla is updated.
However what you are looking for is available at components\com_users\models\forms\registration.xml file. you can change the default fields of the registration form in this file.
If you would like to add additional fields to registration form, there is a better way:
http://docs.joomla.org/Creating_a_profile_plugin

How to add an extra field in magento admin panel to upload a pdf?

I'm new to magento. I need to give an option to upload the pdf in the add product page.
Just need to give the file upload option with extra field.
I'm using magento 1.7.
Thanks in advance.
There are two ways you can achieve this:
1. Easy one
Create a new product attribute, let's say product_pdf text field, and assign it to some group and attribute set. This field should now reflect in your admin's product page and allow you to save PDF name.
Then make a directory on your Magento (may be in media/pdf) and save all your PDFs if you have. If not, then each time you save the value in Product's custom attribute that we created (product_pdf), also upload the PDF manually at the location you created (media/pdf).
So whenever in frontend you want to show the PDF of product, you will always get the file name from product_pdf attribute and the location should be media/pdf.
2. Difficult/Lengthy one:
Create a file uploader in your Magento Admin's Manage Product screen. Here everything should be in your custom module, from creating a new field to uploading it.
I will not go far, but give you some place where you can exactly know how to go with it: http://www.magentocommerce.com/boards/viewthread/11667/P0/

Resources