Changes in source of components of Joomla is not reflecting - joomla

I am modifying the source of Joomla components .Sometimes the changes are not reflecting but sometimes it works.
Is there any clean or repair and rebuild method in joomla ?
So i can get the effect of my modification immediately.

Hey Abdul what you want to achieve by modifying Joomla's source files. You can do it by writing plugin without hacking the core files. There are many users events available in Joomla. I think you want to do something on login so you can use onUserLogin event.
Check this link. http://docs.joomla.org/Plugin/Events/User

Related

Adding a popup to com_users in joomla

I want to add a popup and a trigger for that popup in com_users( i.e Users page) and load a external link into that popup. I have added a button next to the "Add a note" button but i am new to Joomla so i don't know how to add popup functionality to it. I have read that it is not recommended to change the core files in Joomla, is this also a core file ? What is the best way to do it.
Any file that comes with Joomla's default installation is a core file. We do sometimes modify core files (especially for optimization purposes), but that creates overhead in the website's maintenance.
As for your case, the best way to do this is to create a copy of the administrator template that you're using, use that copy instead, and, modify the administrator/templates/[new-template]/com_users/users/default.php file. This way your changes will not be overwritten by a Joomla update.

Are there any special event hooks for joomla modules

I have been searching special event hooks for use to track and update module forms. I found contenthooks on the documentation site but I couldn't get anything for modules. I want to add a plugin so that it adds an extra field viz. radio button to every module form. Finally I want to use the value of this radio field in templates/your-template/html/module.php. Can someone point me in the right direction towards this. Thanks :)
Jooma does not have event driven structure like for example .NET or Java. However if you want to trigger some additional functionality on certain event you may create a plugin. Plugin is something different than module or component but it 'collaborates' with them. It handles some per-defined events:
[http://docs.joomla.org/Plugin/Events][1]
[1]: http://docs.joomla.org/Plugin/Events and it lets you define your own.
You may also try the way I usually take which is customize module display. You simply copy
view file of the module you want to modify to your template. For example:
/modules/mod_feed/tmpl/default.php
to
/templates/{your template}/mod_feed/default.php
Now you can freely modify this file without any risk that it may be overwritten on the next Joomla update. Just don't forget to set your overwrite in module settings: go to administrator, modules, choose module to edit and in the tab 'Advanced' select 'Alternative Layout'.
I hope this helps and good luck!
Take a look at the new com_ajax that is in 3.2.

Joomla Template Selection

I am planning to build Auto responsive website in Joomla. I am looking for below features.
Must have :
Auto responsive (mobile friendly)
Static & Dynamic content management
Forms submission
Auto email on form submit
CRM entry on form submit using an API call to our CRM
Good to have :
Ticket Raising system
FAQ managment
Backup Of Site
Blog handing
Kindly advise, which template can be used to achieve above functions?
You could use Joomla 3's standard template as it's responsive, however there are so many sites using this so you go down another road.
If you're up for some design of your own, then you can get a pre-built master template such as Yootheme's Master Theme which is free or maybe ever Afterburner 2 by Rockettheme.
For forms, you can use an extension such as Chronoforms which allows you to build your own forms for multiple purposes and has a lot of features.
As for the "Good to have" points, simply have a search on the Joomla Extensions Directory and you will find everything you need.
Hope this helps
Only one of your requirements has anything to do with the template you choose, whether it is responsive or not.
Joomla templates do nothing more than provide styling for the output of Joomla core and any extensions you may add. Everything you list is functionality that would need to be added with 3rd-party extensions, with the exception of content management; Joomla is a Content Management System.

Joomla 2.5 shows add/edit form for article/category incompletely

When I click on add new article, Joomla shows the page incompletely.
It doesn't even show the form itself completely.
Even now that I have enabled the debug mode, it doesn't show anything. I think that something die()s the process of outputting the page to the browser.
Please note that I haven't had a bad joomla installation. It was working very well a bit little ago.
I haven't also changed a deep core setting. I think that I have only changed jcomment setting that doesn't look related to the problem.
Add this code in this file root/administrator/components/com_content/content.php
ini_set('display_errors', '1');
error_reporting(E_ALL ^ E_NOTICE);
If no error comes check for die or exit statement with any of the editor which has search functionality.If this also does not work rename the com_content of administrator and upload the fresh one.
let me know if it does not work.
Disable that plugin.
Did you just add it or update?
If the file is there check the ownership.

Use Media Manager as filepicker in component

I'm developing a component in Joomla 1.6, is a Document Manager and I have all the funcionality, but now I want to include the Media Manager as File Picker.
In Joomla 1.6 Media Manager is prepared to be use like a Image Picker (as we can see in the Article Manager where you can select a Image for the content), but I want to know if it's possible to reproduce the same action with all filetypes without modifying the Media Component.
I know how to use the media manager as Image Picker in my component. In fact I answered to this question.
use joomla com_media image selection in my custom component
Can someone help me? :)
Byes
Ok, after the study of the component i got the fact that is not an easy question.
How can we use another filetypes?
/administrator/components/com_media/models/list.php
on line 116 exists a switch which works as a filter
If we want to add a new functionality (with a button)...
Where can we add the button?
/administrator/components/com_media/views/images/tmpl/default.php
Where can we add the javascript functionality?
/media/media/js/popup-imagemanager.js
Doing that we have some problems
1) we need to hardcode in every joomla.
2) I'm not sure, but the changes might be delete after a Joomla Updated.
Another chance is make a fork of the media component with theses changes ready to install.
Byes
Thanks to the tumbleweed badget to encourage me to write the response.

Resources