ok I'm back with a little information on how to customize / add new fields in the property description / features:
1. go to your_joomla_root_directory>language>en-gb(or what ever language you are using on your website)>en-GB.com_properties.ini and find the first line where it says HIDDE.
2. Note the "Extra" code number ... for example where it says EXTRA40=HIDDE, you would note the EXTRA40 part of it.
3. Then change the word HIDDE that is after that EXTRA40 to what ever you want the field name to be.
4. Save the file.
5. go to your_joomla_root_directory>administrator>language>en-gb(or what ever language you are using on your website)>en-GB.com_properties.ini and find the first line where it says HIDDE.
6. Follow steps 2-4 above.
7. If you are editing these files on your local machine & have to upload them to see the changes, do so now. If you are editing them directly on the server / webhost, skip this step and move on to step 8.
8. If after saving and uploading these files, check your website, both in the front and in the backend. Try adding a new property & look for the new changes / fields. If you see them you are finished customizing, but if you do not see them, move on to step 9.
9. If you do not see the above changes in your form, go to your com-properties component in your joomla backend and note Layout Properties Detail and whether or not you use tabs. Then move on to step 10.
10. your Layout Template Properties Detail template is called by one of the following files:
a) locate in your_joomla_root_directory>components>com_properties>views>templates:
i) for details templates using tabs:
- Default Template = details_tab.php
- Default 1 Template = details_tab1.php
- Default 2 Template = details_tab2.php
- Default 3 Template = details_tab3.php
ii) for details templates not using tabs:
- Default Template = details.php
- Default 1 Template = details1.php
- Default 2 Template = details2.php
- Default 3 Template = details3.php
11. After locating and opening (for editing purposes) the relevant file, locate, in the file, the code that calls the fields that you just added. For example, in the language files above you would have noted the "EXTRA" code ... so in the above details file, find where it says "EXTRA" and the number(s) that goes with that piece of code.
12. If, lets say, you entered your fields at EXTRA40 but in the code in the details file, you can only find EXTRA39, below that piece of code for EXTRA39, make a space (press your enter button on your keyboard) and then copy & paste the code from EXTRA39 into that space. Then change in that copied code, where it says EXTRA39 to EXTRA40.
Katan Website Designs provides the complete website package for businesses whilst Katan Designs is a company that designs prints for custom merchandise on both zazzle.com and cafepress.com. This blog is here to advertise and promote both activites as well as provide advice and solutions to prospective clients and other website designers
Showing posts with label com-property. Show all posts
Showing posts with label com-property. Show all posts
Tuesday, May 10, 2011
Thursday, November 25, 2010
Joomla & com-property.com Bugs and their solutions - Part 1
So this is my first post on website's I have designed.
The last website I designed (LifeLong Real Estate Concepts) brought with it a couple of bugs, some of which I solved myself and others I solved by looking for help on com-property.com.
Amongst the more difficult bugs to solve, were:
To Start - the Platforms & Modules:
Joomla 1.5.20
Com-Property 3.1.0624
mod_prop_search_js
mod_prop_last
mod_prop_location
mod_prop_cat_type
mod_prop_sellers
mod_prop_carrousel
The bugs and their solutions:
Now on the back end it may look simple - you just login to your administrator panel, go to components & Properties & Configuration, locate "Users can add Localities" and "Use Locality", and set them both to yes. Then save the configuration. You might think that's all there is to it, but that's not all.
To enable front end users to add a locality:
You should be good to go from there.
You should now see in the agent's "My Panel" (required for agents to upload and edit their own properties on the front end) a link next to the "Location" box saying "Add Location", which, when you click on it, will open a window asking you to enter the name of the location and with buttons to save the location, close it, etc.
If you did like me, and used a template with a dark background, and put your link styling in template.css as set to white, you will then have to change the highslide.css file (components/com-properties/includes/highslide/highslide.css) so that the background of the add location pop up window is changed.
To do this, I could not figure out which specific line to change, so I changed all of the following:
line 375 color: white;
line 220 background-color: white;
line 79 background-color: white;
line 52 background: white;
Then save your highslide.css file and upload it to the correct directory on your server.
Part two will be coming soon
The last website I designed (LifeLong Real Estate Concepts) brought with it a couple of bugs, some of which I solved myself and others I solved by looking for help on com-property.com.
Amongst the more difficult bugs to solve, were:
- Enabling the agents on the front end, to enter new locations
- in the last properties and carrousel modules, showing the wrong property image
- getting the agents name and contact information on the list pages
- changing the default property image on the map - not solved yet.
To Start - the Platforms & Modules:
Joomla 1.5.20
Com-Property 3.1.0624
mod_prop_search_js
mod_prop_last
mod_prop_location
mod_prop_cat_type
mod_prop_sellers
mod_prop_carrousel
The bugs and their solutions:
- Enabling the agents to enter new locations on the front end
Now on the back end it may look simple - you just login to your administrator panel, go to components & Properties & Configuration, locate "Users can add Localities" and "Use Locality", and set them both to yes. Then save the configuration. You might think that's all there is to it, but that's not all.
To enable front end users to add a locality:
- you have to locate [Your Website's Root Folder]/components/com_properties/views/panel/tmpl/default_addproperty.php
- Open that file in a text editor or html code editor
- locate around line 506 to 538 the lines mentioned in http://www.com-property.com/en/forum-v3/11-last-properties/4068-localities.html#4909
- remove the <!-- and the -->
- Save your file (use the same file name, do not rename it as renaming it will not help you at all)
- Upload your file to the server where the website is being hosted (make sure it is uploaded to the correct directory on the server)
You should be good to go from there.
You should now see in the agent's "My Panel" (required for agents to upload and edit their own properties on the front end) a link next to the "Location" box saying "Add Location", which, when you click on it, will open a window asking you to enter the name of the location and with buttons to save the location, close it, etc.
If you did like me, and used a template with a dark background, and put your link styling in template.css as set to white, you will then have to change the highslide.css file (components/com-properties/includes/highslide/highslide.css) so that the background of the add location pop up window is changed.
To do this, I could not figure out which specific line to change, so I changed all of the following:
line 375 color: white;
line 220 background-color: white;
line 79 background-color: white;
line 52 background: white;
Then save your highslide.css file and upload it to the correct directory on your server.
Part two will be coming soon
Subscribe to:
Posts (Atom)