This maybe a question asked many times on Joomla forums, but after searching for some time, I did not find a good answer, instead of 'its impossible' and 'use a 3rd party form component'.I want to add another field (phone number) on the default Joomla 2.5 contact form, so the user can send that info, along with his message.From what I've read, its said that is a Joomla limitation from his mail implementation, which can send only name, subject and message. I'm not a experienced Joomla developer, but from my limited knowledge, I belive this can be obtained in a simple way, just by adding fields in the template contact form and concatenate that fields with the message field (or at least that could solve my problem easily).Like I said, I'm not a experienced developer, so I can't figure out exactly how to do it (and preferably not breaking Joomla installation by modifying too much the core files, if thats the case). Anyone can help? Or at least point me in the right direction?
Thanks.
5 Answers
Plugin Slideshow CK Params - Joomla 2.5 The plugin Slideshow CK Params adds some options ot the module to load the images directly from a folder and organize them with a drag and drop interface. You can also add some some parameters for each slide with a text file that has the same name. CKform Checkbox issue. Ask Question 1. I'm using Ck forms component to build my forms. Every things works fine, except checkbox, they are not like what is planned. Browse other questions tagged joomla-2.5 jform form or ask your own question. 4 years, 2 months ago. 4 years, 2 months ago.
You're right, most people people say 'use a 3rd party extension'. However there is a very good reason for this. When using Joomla, it's not recommended to edit core files. 'Why' you might ask. Purely because of the following reasons:
- They may get overridden in Joomla updates
- Joomla's coding style is very different to what people are used to and therefore old coding standards, some of which are considered insecure now, might get used as a lot of people don't read the Joomla documentation. A prime example would be people asking why retrieving data from the database using their code isn't working and they ahev using
mysql_connect
rather than the Joomla database class. - The final reason is that if you're a little unsure what you're doing, any code you add may cause problems and results in faulty functionality with existing features. You just never know.
So to answer you're question (even though you may not want to hear this), I'm going to say use a 3rd party extension from this category:
There are a very big variety so simply see which one suits your needs.
Hope this gave you a good insight of things.
LodderLodderYou should never edit core files in Joomla, otherwise an update to those files could potentially bring your site down. The following link will get you started creating a user plugin where you can add/remove all the fields you need.
Brian BolliBrian BolliMaybe a bit late and I hope you have solved your problem already.
But if not you can check out: Elin Warings tutorial for making a form plugin.
Or read about overrides for Joomla core functions:How to create a custom form field type.
You can make a plugin to add the field, it's not hard or you can use one of the many extensions available.
ElinElinCk Forms Joomla
If you want to add fields to contact us default form.You need to add fields in 4 files
1) /components/com_contact/controllers/contact.php`
2) /components/com_contact/views/contact/tmpl/default_form.php
3) /components/com_contact/models/forms/contact.xml
4) templates/your template/html/com_contact/contact/default_form.php
Thanks & Regards,Mithali
Not the answer you're looking for? Browse other questions tagged phpformsjoomlajoomla2.5 or ask your own question.
Introduction
Slideshow CK can display images or videos with links with nice effects. It is mobile compatible and responsive design, and you can add unlimited slides with a Drag & Drop admin interface.
List of features :
- Unlimited slides
- Ergonomic admin interface with Drag & Drop
- Effect Kenburns available
- Can display images or videos
- Multiple options to congifure the slideshow
- Mobiles compatible, you can slide with your fingers
- Responsive design (adapts the image to the width of the container)
- Multiple skins
- You can add a link on any slide
- Captions with HTML allowed (to put some links for example)
- Compatible RTL direction
- Normal or random order for images display
- You can add params to video url (&rel=0 for example)
- Options to set the thumbnails height and width
- You can load any article in the caption
- Many fields to set the caption styles
- Possibility to set a specific time for each slide
- Responsive caption options (font-size, hide, ...)
- Use local or hosted videos
Mutiple sources for your slides
You can select an image and setup a caption, or directly load an article to load in your slide. There are also plugins to extend the sources for your slides : hikashop, joomgallery, folder, google photos, flickr ...
Styling interface
Styling your slideshow has never been so easy ! Just open the interface and set up your styles (margin, color, font ...) to apply to your slideshow. This loads directly from the module admin, fast and easy.
Fast image, video and link selection
Don't waste your time, just use the integrated media manager to list your images in one click, select a folder, select a video on your server, or select a link directly from your menus items. Everything fast and easy to select in 1 click.
Ck Forms Joomla 2.5
Responsive options
You can choose a resolution breakpoint to reduce the caption font size, or if you want the font size to be adaptative .This means that the font size will be proportional to the slideshow width.
You can also simply choose to have the same font size on all resolutions.
Watch the demo video here :
https://www.youtube.com/watch?v=5Aw703uAG_c
Get more details here :
https://www.joomlack.fr/en/joomla-extensions/slideshow-ck
Slideshow CK
Uses Joomla! Update System
Write a review