PDA

View Full Version : Free Sub-Type (Category) Hack for HotProperties!


gray
09-26-2006, 01:16 PM
Do you need subTypes (subCategories) for your properties? You’ve got it!

Here you are:
1.For each type/category you can register any sub-type/category;
2.Hew Browse module will display type tree with number of properties;
275
3.Properties could be registered for both main (parent) type and its sub-types; 279
4.Parent type name will be displayed in property listings at the front-end, in the page title and navigation bar.

The code is free and is provided on the “as is” basis. It was tested on Joomla 1.0.11/12 Stable with HP 0.97/0.98 run on PHP4/5 and MySQL 4/5.

Please note, that in order to apply the “sub-type hack” successfully, you should be able to alter and manage your MySQL database, as the free version of the hack doesn’t include back-end type management feature.

If you need my assistance with installation, any further customization of this “sub-type” hack, and/or hack for the back-end type management, feel free to contact me at justPHP |at| gmail |dot| com.

HowTo get it:
1.Using phpMyAdmin, or any other tool for managing MySQL database, open table ‘_hp_prop_types’. After ‘id’ column add a field with name ‘parent’ of the same type – int(11). This column will contain id of the parent type. Main/parent types should have ‘parent’=0, all children types should have ‘parent’ being equal to ids of its parent type.
Look at the picture:
282

2.Carefully read the attached instructions and apply hack as described in it.

3.If you are using Browse module for HP, uninstall it. Download and install new Browse module attached to the message.

4.Enjoy!

Again, the code is free and is given on ‘as is’ basis. You may contact me at justPHP |at| gmail |dot| com in case you need my assistance with hack installation, any further code customization, and/or hack for the back-end type management.

Also in addition to the back-end hack, the following front-side code enhancements are available for a small fee:
- displaying records registered under all subtypes which belong to a parent type when the parent type's link is clicked;
- disabling main (parent) types when a record is being added/edited;
- improving advanced search behavior when a main type is chosen as a search criteria (parent and its all subtypes will be searched).
- improving simple search code and making the search module working with SEF components

DEMO of the complete hack (front-end, back-end & optional hacks) is available on http://demo.justphp.net

Good luck!

CHANGE LOG
11-Dec-2007 Updated hacking instructions to version 1.1.1:
[+] added instruction to list property types hierarchy in simple search result page (added section 1.4)

17-Mar-2007 Updated hacking instructions to version 1.1.0:
[+] added code the advanced search page to display property types in tree-like manner (section 2.2 was added to the instructions)

03-Dec-2006 'Browse HP' module version 1.1.1 is released:
[!] minor update correcting the Itemid issue

30-Nov-2006 'Browse HP' module version 1.1.0 is released
What's new:
- option to show only subtypes of the current main type is available;
- you may choose whether to show or not the number of published properties and the total;
- improved CSS style management;
- different indent styles for subtypes could be applied;
- also, the new module supports multi-level subtypes (currently this feature is not supported by the free sub-types hack).

Enjoy!

iSellJerseyShore
09-29-2006, 07:07 AM
Gray,

Great HACK!

I found it very easy to install following your instructions.

I do however have a few questions for you.

1. On the main HP page under the browse menu it says "_HP_TOTAL_PROP3"
But on the actual category/sub-category pages it says "Total: 3"

Do you know why it is not displaying correctly on the main page?

2. I have noticed that listings that are created under the sub-category do not show up under the parent category.

Do you know why this is? Is this how it is supposed to be?

Thanks again for this wonderful Hack!

Regards,

-iSellJerseyShore

gray
09-29-2006, 10:25 PM
I found it very easy to install following your instructions.

I'm glad to here this :)

1. On the main HP page under the browse menu it says "_HP_TOTAL_PROP3"
But on the actual category/sub-category pages it says "Total: 3"

I mentioned in the instructions (6. \components\com_hotproperty\language\english.php), that if HP is not set as home page or new browse module is launched not only when HP component is run, you should update Joomla's language file.

2. I have noticed that listings that are created under the sub-category do not show up under the parent category.
Please contact me at gray_mc2000[at]yahoo[dot]com if you need some adjustments to the hack.

Good luck!

iSellJerseyShore
09-30-2006, 01:33 AM
Gray,

I mentioned in the instructions (6. \components\com_hotproperty\language\english.php), that if HP is not set as home page or new browse module is launched not only when HP component is run, you should update Joomla's language file.


Whoops!!! I had to re-read your instructions again, I overlooked that line... Thanks! Its now working!

2. I have noticed that listings that are created under the sub-category do not show up under the parent category.

Is this how it is supposed to be?



Thanks Again!

-iSellJerseyShore

gray
09-30-2006, 03:43 PM
Gray,
2. I have noticed that listings that are created under the sub-category do not show up under the parent category.

Do you know why this is? Is this how it is supposed to be?

Yes, and no :)
Basically, what I was asked to do is to make parent types with at least one sub-type not active. If a type has no sub-categories, it is active for adding new properties. But, for this public free hack I've decided to let all parent categories active.

Besides the above-mentioned 2 possible ways of treating sub-types, there at least 2 more:
- to give just links with subtypes names (as it's done in catalogs)
- to list properties of all sub-types

Whitelion
10-06-2006, 05:26 PM
Great Hack!!!... really you give us a great help. Thanks man!!.

Anyone test this hack with Sef Advance?

Thanks again!.

gray
10-19-2006, 01:19 PM
Great Hack!!!... really you give us a great help. Thanks man!!.

Anyone test this hack with Sef Advance?

Thanks again!.

You are most welcome!

As concerns the Sef Advance, if it supports HP, it will support the hack also, as my hack is fully based on HP's original code and sub-types scheme is realized with minimal changes to original tables.

Also, I noted that next release of OpenSEF (http://projects.j-prosolution.com/projects/os-projects/project-opensef.html), a free analog of Sef Advance, seems to support fully HP. Look at this message: http://forum.mosets.com/showthread.php?p=14383#post14383.

Good luck!

dyvel
10-30-2006, 10:44 PM
Thanks for this great hack.
Just one question though.

Is it right that I have to set subtypes in phpmyadmin directly?
I can't seem to find anywhere where I can make a type into a subtype after applying the hack.

gray
10-30-2006, 11:54 PM
Thanks for this great hack.
Just one question though.

Is it right that I have to set subtypes in phpmyadmin directly?
I can't seem to find anywhere where I can make a type into a subtype after applying the hack.
Yes, the free version of the hack does not include a back-end support. You should add a field 'parent' to table ‘_hp_prop_types’. All subtypes will have field 'parent' equal to 'id' of the main type. In their turn, main (parent) types will have field 'parent' = 0. Look at the 3rd picture in the first post for better understanding.


The back-end hack will allow you to manage types without phpMyAdmin:
314

Also, the code keeps database's integrity by a series of rules:
- parent types could not be deleted before subtype(s);
- parent type with subtype(s) could not be made a subtype of another parent type
- ordering is updated for both old and new 'parent id' groups if a type was moved from one 'parent id' to another;
313

And, properties could be quickly moved from a type to other:
315

dyvel
10-31-2006, 10:03 AM
Hi again

Thanks for your reply. I have implemented the hack and it works fine. However it is a bit tidy to arrange types and subtypes through phpmyadmin.

You said the free version does not include backend support. Does this mean that there is a commercial version?

and if so, how much does it cost and where can I buy it?

Thanks,

fallnet
11-03-2006, 08:31 PM
Great work!! :)

I have lots of parent_category and 5 sub_category under each of them... is it possible to integrate to mod_hp_browse.php same function like in main menu of Joomla, when sub_category are shown only when parent_category is active and other sub_category under unactive parent_category are hiden???

many thanks! bye

fallnet
11-10-2006, 05:39 AM
Has anybody some idea how to show in BrowseModule under "mainlevel" all items from MAINLEVEL and from all SUBLEVELS also???
thnx

gray
11-30-2006, 11:26 PM
Great work!! :)

I have lots of parent_category and 5 sub_category under each of them... is it possible to integrate to mod_hp_browse.php same function like in main menu of Joomla, when sub_category are shown only when parent_category is active and other sub_category under unactive parent_category are hiden???

many thanks! bye

The new 'Browse HP' module version 1.1.0 supports this feature; in addition to:
- you may choose whether to show or not number of published properties and the total;
- improved CSS style management;
- also, the new module supports multi-level subtypes (currently this feature is not supported by the free sub-types hack).

The new module is attached to the first post of this thread.

Good Luck!

tmgkatrina
01-19-2007, 01:01 AM
Gray,

I installed both the hack provided in this thread as well as the backend hack to properly display and manage categories and sub-categories in the administrator panels.

Directions were easy to follow and I had both hacks installed and running perfect in less than 10 minutes.

I am further customizing some of the code and found yoru code well organized and clean - made my job easy!

Thanks for all you do!

- Katrina

mat-c
01-21-2007, 10:40 PM
This hack sounds very interesting and should be integrated in the normal version.
There are only 2 questions left:
First question: Is it possible, to modify the code in order to have an unlimited number of levels? like a subsubsubsubsubcategory? :)
Second Question: Can I add some fields to teh category so I can provide information about this category if it is opened...?


thx,
mat-c

gray
01-22-2007, 04:12 PM
This hack sounds very interesting and should be integrated in the normal version.
Yes, it works with HP 0.97 and 0.98

First question: Is it possible, to modify the code in order to have an unlimited number of levels? like a subsubsubsubsubcategory? :)

Good news: Yes, it's possible :)
Very good news: The module I posted here already supports multi-level categories :cool:
Not bad news: It's easier to develop the "front part" of the code for multi-level categories, than it's "back-end" component (of cause, all is relative ;) )

Second Question: Can I add some fields to teh category so I can provide information about this category if it is opened...?

Each category has a description field (HP has it originally), so you could use this field to add your comments. As regards showing this text not only on the front page (as it's done by HP), some additional hacking might be required.

Good luck!

Amury
02-01-2007, 04:48 PM
Hello Gray!

I hack it that write up, and not works. Please help, and send php filse!

Again admin.hotpropert.html.php files needn't edit?

Very Thanks!

gray
02-03-2007, 12:47 AM
I hack it that write up, and not works. Please help, and send php filse!
Making the "final hacked" files available for download is not a good practice, because of at least 2 reasons:
- their version could differ from the version of the HP run on a particular site
- if some other hacks were applied before in these files you will simply loose them
Applying the hack "manually" helps to avoid these potential problems.

Again admin.hotpropert.html.php files needn't edit?
No. Only admin.hotproperty.php from the "admin" should be hacked as described in the instructions.

mat-c
02-05-2007, 06:38 PM
i have another question: is it possible to "clone" the type-function? I would need another kind of categories to sort in my items, similar to the types. is this possible?

gray
02-06-2007, 06:48 PM
i have another question: is it possible to "clone" the type-function? I would need another kind of categories to sort in my items, similar to the types. is this possible?
I think it's rather difficult to simply "clone" the types function.
It'll be necessary to add new core field, to add new table for data about this new "type" and to hack HP files.

gray
03-19-2007, 05:27 AM
The hacking instructions were updated with code making the advanced search page to display property types in tree-like manner.

The instructions are attached to the first post of the thread.

teddy
04-03-2007, 06:19 PM
I'd need to display subtypes properties belonging to a same parent type as a whole list.
Since Gray said
3.Properties could be registered for both main (parent) type and its sub-types;
is there anyone able to tell me how to do it?
If there's a url query derived to this one
http://www.testsite.com/index.php?option=com_hotproperty&task=viewtype&id=3&Itemid=
like
http://www.testsite.com/index.php?option=com_hotproperty&task=viewtype&parent=2&Itemid=
which could fit, please write it down!!

teddy
05-03-2007, 12:14 AM
the solution to my problem was connected to a custom job made by Gray, which completely fit my needs and I must say kudos to him: he's a very good professional, always on schedule, serious and also worth the expense!
BTW I'm not getting anything for this post...

jmchauvel
06-05-2007, 08:43 PM
Just to let you know that I have been using on various occasion the services of Gray and that I found him to be very responsive to problems or issues and that he really helped me on the development of my web site.

Thanks Gray...

I encourage everybody to consider his expertise in HP...

g_h
06-21-2007, 03:22 PM
I'd just like to say that I bought Gray's modifications for the front and back end. And they work great, plus I asked him if there could be a change to the property manager page in HPs backend, so that it would show the type > subtype, so you can see at a glance if the type the property is in is a subtype or not.

Gray did the modifications and sent them through within a few hours. Very helpful... and saves me having to try and do it myself! :)

julianojc
07-05-2007, 11:11 PM
I would like the subtypes to be shown in the page when clicking in parent type. How do I do?

gray
07-06-2007, 07:01 PM
I would like the subtypes to be shown in the page when clicking in parent type. How do I do?
By request of several customers of mine, I developed an additional hack for this purpose. It's available for a small fee.

PS. If you are going to develop it by yourself, change the SQL statement selecting properties to include all types of the selected parent type - AND (type1 OR type2 OR type3).

julianojc
07-06-2007, 10:23 PM
Which the total price for the hacks?
1) Subtypes in the Back-end.
2) Subtypes to be shown in the page when clicking in parent type.

Tanks!

gray
07-07-2007, 01:37 AM
Which the total price for the hacks?
1) Subtypes in the Back-end.
2) Subtypes to be shown in the page when clicking in parent type.

Tanks!

Please contact me at justPHP-at-gmail-dot-com.
Thanks

gray
07-23-2007, 02:16 PM
Already 5,000 views of the thread and over 500 downloads of my hack :D
Thanks! :)

fallnet
08-10-2007, 02:04 AM
Gray is a realy professional!
I bought his modifications for the front and back end. His hack working perfect...

Thanks Gray

Jiri

julianojc
08-10-2007, 03:06 AM
I also acquired the hacks of Gray. I recommend!

hi-nam
08-16-2007, 06:17 PM
how to create subcategories?

gray
08-17-2007, 12:42 AM
how to create subcategories?

The back-end support is not included in the free version of the hack.
To add/manage categories and subcategories you shoul use phpMyAdmin or any other appropriet tool for accessing and managing the database.

There are explanations how to do it at the first post of this thread and at the begining of the hacking instructions. Read them carefully.

hi-nam
08-17-2007, 04:07 PM
I see!

Thank you very much!

I love Mosets Hot Property :-*

hi-nam
08-29-2007, 09:14 PM
I see!

Thank you very much!

I love Mosets Hot Property :-*
I tried again some times.

But in the backend does not show as you said!

Any wrong?

(HP098 and J-1.0.13)

gray
08-29-2007, 10:43 PM
I tried again some times.

But in the backend does not show as you said!

Any wrong?

(HP098 and J-1.0.13)

The back-end support is NOT included in the free version of the hack.
It's a commercial solution.

hi-nam
08-30-2007, 06:17 PM
The back-end support is NOT included in the free version of the hack.
It's a commercial solution.
OK, Gray.

But I need the feature named "Exspan menu",

That means: When click onto "parent" menu, then show child menu, and when click onto another parent menu and then last parent menu will auto hide and exspan in new parent menu.

This's including in commerce version? What's price and where I can buy it?

Thanks for reading!

gray
08-30-2007, 06:30 PM
OK, Gray.

But I need the feature named "Exspan menu",

That means: When click onto "parent" menu, then show child menu, and when click onto another parent menu and then last parent menu will auto hide and exspan in new parent menu.

This's including in commerce version? What's price and where I can buy it?

Thanks for reading!

The brow

hi-nam
08-30-2007, 06:33 PM
The brow
I don't understand what are you saying?

:-??

Y!M: bigu_c@yahoo.com

gray
08-30-2007, 06:38 PM
OK, Gray.

But I need the feature named "Exspan menu",

That means: When click onto "parent" menu, then show child menu, and when click onto another parent menu and then last parent menu will auto hide and exspan in new parent menu.

This's including in commerce version? What's price and where I can buy it?

Thanks for reading!

The browse module attached to the first post has an option to hide child (sub) types until their parent type is not clicked. So, when you click the parent - props registered to this parent are shown. Additionally all its subtypes are 'opened'. It's free module, you can download it.

Besides the commercial back-end support, there are 4 front-side commercial enhancements:
- displaying records registered under all subtypes which belong to a parent type when the parent type's link is clicked;
- disabling main (parent) types when a record is being added/edited;
- improving advanced search behavior when a main type is chosen as a search criteria (parent and its all subtypes will be searched).
- improving simple search code and making the search module working with SEF components

As you can see, the first enhancement allows to show all props (both of the main and subtypes) when the parent type is clicked.

If you'd like to discuss some other hacks/features, please contact me by email. Thanks.

hi-nam
08-30-2007, 06:41 PM
The browse module attached to the first post has an option to hide child (sub) types until their parent type is not clicked. So, when you click the parent - props registered to this parent are shown. Additionally all its subtypes are 'opened'. It's free module, you can download it.

Besides the commercial back-end support, there are 4 front-side commercial enhancements:
- displaying records registered under all subtypes which belong to a parent type when the parent type's link is clicked;
- disabling main (parent) types when a record is being added/edited;
- improving advanced search behavior when a main type is chosen as a search criteria (parent and its all subtypes will be searched).
- improving simple search code and making the search module working with SEF components

As you can see, the first enhancement allows to show all props (both of the main and subtypes) when the parent type is clicked.

If you'd like to discuss some other hacks/features, please contact me by email. Thanks.
I'm really want to buy this module.

Please tell me the way and the price I can pay for you!

Thank alot!

RajabNatshah
09-25-2007, 10:04 PM
Thank you Gray for all your work
in this HAKE

I have made Integration with it into my component Country Manager HPv
as many people asked for that.

http://forum.mosets.com/showthread.php?p=20030#post20030

Best Regards

gray
09-25-2007, 10:30 PM
Thank you Gray for all your work
in this HAKE

I have made Integration with it into my component Country Manager HPv
as many people asked for that.

http://forum.mosets.com/showthread.php?p=20030#post20030

Best Regards

Thanks, Rajab!
Now we have cross-compatible hacks :) It's great!
If my helps is required - please do not hesitate to contact me!

Thanks again!

RajabNatshah
10-01-2007, 04:16 AM
Hi Gray
I will as I have seen that you have been Developing many components.

I have been working with the Hake and I find out that we need to
integrate the SEO , SEF for SEF Advanced ..
So if we have website www.ahamcoproperties.com
and it has apartments for sale and rent the SEF link for both will be same like this
http://www.ahamcoproperties.com/properties/property/apartment/

but we need to have two links for that
as

Apartment for Sale
http://www.ahamcoproperties.com/properties/property/sale/apartment/

Apartment for Rent
http://www.ahamcoproperties.com/properties/property/rent/apartment/


The solution for this problem is the sef_ext.php in components/com_hotproeprty I enclosed the file with the attached files.

I do not know if any one have been working on this

Best Regards

gray
10-01-2007, 04:51 PM
Hi Rajab,

You are right - there is a need in a SEF support. I've elaborated a new 'sef_ext.php' file for my subtype hack which includes support for hack as well as some bug fixes and improvements (for example, correct processing of properties with one and the same name).

I'll have a look at your file in order to intergrate your varant of 'sef_ext.php' with mine one.

ssnobben
10-07-2007, 02:46 PM
Nice work guys! seems to be good collaboration here˝:p

gray
10-08-2007, 02:42 PM
Nice work guys! seems to be good collaboration here˝:p
We are not developing our hacks for us. They are for you and your needs. :)
That's why we are interested in getting our products better.
And thanks for the support!

8tam
10-13-2007, 12:13 PM
I purchased for my alfa version bactamtam.vn the Hack from Gray and I am very pleased by his prompt PRO Service. I wish all Devs would be as serious as him ! ...... I also purchased country manager... from "Natash" .. well transform all the compliments above the negative way ...!

mackOne11
11-08-2007, 02:06 PM
thanks Gray for your support, you really are a professional.
@ all: I bought a custom optional hack from Gray for a really small fee and he helped me a lot, is very supportive.
Keep up the good work, Gray!

ssnobben
11-08-2007, 06:08 PM
I purchased for my alfa version bactamtam.vn the Hack from Gray and I am very pleased by his prompt PRO Service. I wish all Devs would be as serious as him ! ...... I also purchased country manager... from "Natash" .. well transform all the compliments above the negative way ...!

hmmm thats good to hear about Gray really - hope Rajab will continue to improve though I think its a good potential for this one, I bought CM too will see how it work when try to install it...:confused:

hi-nam
11-09-2007, 05:13 AM
I purchased for my alfa version bactamtam.vn the Hack from Gray and I am very pleased by his prompt PRO Service. I wish all Devs would be as serious as him ! ...... I also purchased country manager... from "Natash" .. well transform all the compliments above the negative way ...!
Bác ở nước ngoài hay đang ở VN vậy?

Zibi
12-06-2007, 07:23 AM
hello Gray!
Your hack is super.
But - what about Joomfish support?
I started with Joomfish translations for HP, and noticed a problem with "hacked" prop types. Could You help me with proper "HP-types" .XML file for Joomfish, please? Standard file doesn't work with your hack and modified "HP types" table.
I wrote PM to you...
Best Regards
Zibi

ssnobben
12-06-2007, 03:54 PM
I purchased for my alfa version bactamtam.vn the Hack from Gray and I am very pleased by his prompt PRO Service. I wish all Devs would be as serious as him ! ...... I also purchased country manager... from "Natash" .. well transform all the compliments above the negative way ...!

Ok tell us what happens instead. I still see that this component of Rajab is progressing.

So what happend? you have a site there and forum now that you can use http://www.natshah.com that I think is a step forward to do better support.

Should be good if others do the same that doing third part customer development for Hot Property and Mosets Tree. Its not so difficult to set up a forum today just use Fireboard.:)

gray
12-10-2007, 11:30 PM
As kindly reported by Zibi, the subtype hack works with JoomFish without any additional hacking.

hello Gray!
Your hack is super.
But - what about Joomfish support?
I started with Joomfish translations for HP, and noticed a problem with "hacked" prop types. Could You help me with proper "HP-types" .XML file for Joomfish, please? Standard file doesn't work with your hack and modified "HP types" table.
I wrote PM to you...
Best Regards
Zibi

ssnobben
12-11-2007, 12:40 AM
hmm so there is a separet joomfish file or are you using the same as Country Manager from Rajab?

get confused from this answer..?:D

teddy
12-11-2007, 05:25 PM
I'm using Gray's subtype hack and it works (very very well) without additional XML files

ssnobben
12-11-2007, 06:03 PM
I'm using Gray's subtype hack and it works (very very well) without additional XML files

Thanks Teddy then I know. Teddy, how about setting up the Multicats or this Subtype. Whats the difference to one or both of them?

hi-nam
12-11-2007, 07:58 PM
gray.

Long time no see. But you're great man still :D

gray
12-12-2007, 02:57 PM
gray.

Long time no see. But you're great man still :D

Not for so long :)
Just updated the front-end hacking instructions. The update relates to displaying property types/subtypes in an ordered manner at the simple search results page.

teddy
12-12-2007, 08:37 PM
Thanks Teddy then I know. Teddy, how about setting up the Multicats or this Subtype. Whats the difference to one or both of them?

ssnobben, are you asking me the difference between the 2 products?
well, it's difficult to say, I didn't try multicats, but the biggest difference is in mutlicats being a component (working only on original code, beware if you modified it), and subtype hack being, in fact, a hack.
Knowing, as I do, how reliable Gray's code is (don't worry, he doesn't pay me for advertising), even a hack could be very powerful.
More than this I couldn't say...

dsepshun
02-11-2008, 08:11 AM
Hi Gray / All

I tried to implement your hack, followed all instructions in order, however my 'Browse HP' menu does not show any of my Sub-types (which i added in mySQL), only displays Parent-types.

Also it displays this message... "_HP_TOTAL_PROP 0" as the bottom line of my 'Browse HP' menu... i'm assuming this means i have not added any properties, but i have added 2 houses (1 in each sub-type).

Now when i click on a Parent-type, i get the following error msg...

" Parse error: syntax error, unexpected T_ELSE in /home/hometown/public_html/components/com_hotproperty/hotproperty.php on line 2075 "

Please help, thanks in advance, if i get this working i will purchase the backend module (already sent u an email Gray), cheers.

gray
02-11-2008, 06:39 PM
I tried to implement your hack, followed all instructions in order, however my 'Browse HP' menu does not show any of my Sub-types (which i added in mySQL), only displays Parent-types.
All subtypes should have Ids of their parent types added in the field "parent". All these issues are managed by the subtype hack, basically.


Also it displays this message... "_HP_TOTAL_PROP 0" as the bottom line of my 'Browse HP' menu... i'm assuming this means i have not added any properties, but i have added 2 houses (1 in each sub-type).

Look at instructins referring to \components\com_hotproperty\language\english.php


Now when i click on a Parent-type, i get the following error msg...

" Parse error: syntax error, unexpected T_ELSE in /home/hometown/public_html/components/com_hotproperty/hotproperty.php on line 2075 "

Your file seems to be hacked as it has about 1250 of lines when sutype hack is added. In any case, check once again if code form section 2. \components\com_hotproperty\hotproperty.php of the hacking instructions was added correctly.


Please help, thanks in advance, if i get this working i will purchase the backend module (already sent u an email Gray), cheers.
I haven't received any mails :(

dsepshun
02-11-2008, 10:22 PM
Hi Gray

Thanks so much for the quick response... the hack does indeed work!!

I went back to my original backup and re-hacked "\components\com_hotproperty\hotproperty.php" and this did the trick.

I also added the language change to the Joomla english language file, NOT com_hotproperty language file, which solved the "_HP_TOTAL_PROP 0" problem, it now reads "Total" as it should... guess I shouldn't work so late!

Now my final question... exactly HOW do I get to these functions:
- option to show only subtypes of the current main type is available;
- you may choose whether to show or not the number of published properties and the total;
- improved CSS style management;
- different indent styles for subtypes could be applied

Again, your help is greatly appreciated... o, and the email has now been sent... was sitting in my drafts folder!

Thanks

gray
02-12-2008, 12:35 AM
Now my final question... exactly HOW do I get to these functions:
- option to show only subtypes of the current main type is available;
- you may choose whether to show or not the number of published properties and the total;
- improved CSS style management;
- different indent styles for subtypes could be applied


All these options/fetures are available from the module's back-end.

fuffa9
02-12-2008, 05:46 PM
Hi guys,
i tried to install hack and it works fine but if I click a main category system does not display any property.

Example:

Sell
-location a (3)
-location b (2)

rent
-location a (3)
-location b (2)

If I click subcaategory it's ok, if I i click main category = No Property exists

What's the matter?
thanks

dsepshun
02-12-2008, 08:46 PM
I have the same problem... i can understand why, as no properties have been enetered as type "Sell", however it should really display all sub-types available within the Parent category... any way to fix this???

dsepshun
02-12-2008, 08:50 PM
I have the same problem... i can understand why, as no properties have been enetered as type "Sell", however it should really display all sub-types available within the Parent category... any way to fix this???

To get this kind of functionality, you have to pay Gray for the back-end module which includes front-side code enhancements, just read an email i received from him the other day concerning this.

gray
02-12-2008, 09:51 PM
To get this kind of functionality, you have to pay Gray for the back-end module which includes front-side code enhancements, just read an email i received from him the other day concerning this.

This option could be bought separately (not necessary to purchase the back-end support). Or, it you have some understanding of PHP, you can hack it by yourself.

mhendel
03-06-2008, 03:04 AM
This option could be bought separately (not necessary to purchase the back-end support). Or, it you have some understanding of PHP, you can hack it by yourself.

I need this as soon as possible!! Can you please contact me. I've sent you email, but afraid it might be being SPAM filtered.

prakan
06-05-2008, 04:47 AM
You can remove the sum total properties?

Thank you very much

gray
06-05-2008, 02:21 PM
You can remove the sum total properties?
Thank you very much
There is an option at the module's back-end to show or not the total count.

atelier51
12-05-2008, 04:45 PM
Hello,

This hack looks great, but I'm using HP 1.0.0b3

Did someone tried the sub-type category hack on this HP version ?
Is it possible to adapt the code ?

Thanks for your help

lorddr
12-14-2008, 10:21 PM
can somebody send this hack to my email pls :( ... lord_dr_20@yahoo.com. Thank's !

ssnobben
12-18-2008, 10:29 PM
first post download

Attached Files
File Type: zip mod_HP_Browse_1_1_1.zip (3.5 KB, 891 views)
File Type: zip hack_subtype_front_v1_1_1.zip (65.7 KB, 285 views)

cnpintegrations
12-24-2008, 10:30 AM
Hello All Here is a simpler hack, without getting into phpmyadmin,
Please follow the following link to view the Joomla 1.0 Work around for adding Link URLs into sub categories, and have them available in the module manager to attach modules to.

Menu Work Around - CNP Integrations (http://www.cnpintegrations.com/option,com_fireboard/Itemid,488/func,view/catid,3/id,100/#100)

gray
12-25-2008, 02:26 PM
first post download

Attached Files
File Type: zip mod_HP_Browse_1_1_1.zip (3.5 KB, 891 views)
File Type: zip hack_subtype_front_v1_1_1.zip (65.7 KB, 285 views)

Files could be downloaded from the forum only by registered and paid users of Mosets products. Also, there are serveral more limitations for registered on the forum, but not owners of the Mosets scripts, users...

gray
12-25-2008, 02:33 PM
Hello All Here is a simpler hack, without getting into phpmyadmin,
Please follow the following link to view the Joomla 1.0 Work around for adding Link URLs into sub categories, and have them available in the module manager to attach modules to.

This solution is a partial way out. But still, could be used (only J1.0)

nima4u
01-02-2009, 02:36 PM
thank you :cool: