|
|
#1 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
I need to incorporate a pedigree format (family tree type of table layout) for some extra field options for my ad input and display on the 68C I am running.
I have the appearance and formatting code, but need someone to make it interact and appear in the listing on an ad page. If anyone is interested in doing this, I would like it done ASAP. I am good to pay online (references) and am good to work with and for. PLEASE - I'm in a hurry!! (for an idea of what I'm after, see my static version of apedigree at the blottom of the page at this link http://www.whoazone.com/STALLION%20P...stadorwhiz.htm NOTE: In a perfect world, I would also like to incorporate an image viewer I found as my site is based upon a large quantity of images per listing. We can talk more on that once we get the pedigree set up. Thanks. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Mar 2006
Posts: 4,095
Rep Power: 99 ![]() ![]() |
Ive done something similar in the past but dont have time to do it anytime real soon.
What you want to do is create extra fields, one for each horse in the lineage that you want to have shown. Then in the template use smarty logic to not display those extra fields as they would normally be displayed when viewing the listing. Then farther down in the template where you want the pedigree to appear, build the html table and populate it accordingly with the extra fields.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
#3 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
thanks - I'll work on it. it sounds so simple :-) appreciate it.
|
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
In trying to formulate this pedigree thing, I have researched other field modifications and always see the term "write out". What does that mean precisely (as in exact code). Will I be writing out the extra field code or cutting/copying and pasting to my table cells? It seems I have gotten into wrecks by rearranging your default order of fields.... Can you give me an exact example like "do this here" then "put this here"? I don't mean to be a pest but this is my 5th test version of 68C and I am SO close to getting things perfect - I don't want to mess everything up - again :-) I'm sure I can do this if I have an example to follow.... Thanks.
|
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
can anyone PLEEEEEASE tell me where the extra fields I create are located? Like which exact file and how do I make them appear where I want them to appear (like in a table format on a user checkout page so a user can fill out info in a certain presentation and have it show up on the listing that way).
PLEASE.... I have had no answer for THREE days and I am losing confidence in this program. |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Mar 2006
Location: UK
Posts: 334
Rep Power: 19 ![]() |
In the admin area, there is a tab for categories, and under that extra fields. Just open for example 6 extra text fields called Sire, Grandsire, Granddam. Dam, Grandsire Granddam. That would cover the first 2 generations.
I can't help with the layout in a table though, thats beyond my knowledge! |
|
|
|
|
|
#7 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
thank thank THANK you. I will do this and see if I can figure it out. I know how to get it to layout beautifully, just can't get the data from the user entry to listing display. Are you available for more help on that point? Intereated in helping me develop this? I pay....
|
|
|
|
|
|
#8 |
|
Member
Join Date: Oct 2007
Posts: 36
Rep Power: 7 ![]() |
QUOTE: "In the admin area, there is a tab for categories, and under that extra fields. Just open for example 6 extra text fields called Sire, Grandsire, Granddam. Dam, Grandsire Granddam. That would cover the first 2 generations."
Well I go to admin, open categories, and find FIEIDS, but no EXTRA fields. The fields is just the language to make the fields work. I see a "fields" folder under templates, but still not the fields that I sset up on my admin site. I see listing setting, categories, and on and on, but not MY custom fields. I even went into my original zip file and found no "extra listings" file. (My version is 3.1.9) Ugh! |
|
|
|
|
|
#9 | |
|
Moderator
Join Date: Mar 2006
Posts: 4,095
Rep Power: 99 ![]() ![]() |
Quote:
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) Set your site apart from the competition with one of my modules...... Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Mar 2006
Location: UK
Posts: 334
Rep Power: 19 ![]() |
From what I remember - and someone will probably have to correct bits of this - you need to associate the extra pedigree fields to the category or categories that are going to show the pedigree (thats the easy part) then in the template that shows the listing you have to do an if statement so that if the category is one where the pedigree is wanted the table is built and the values are put in it. If its only one category (e.g. stallions at stud) that has the pedigree table it may be easier than if its a lot of them, but I don't know anything about that side of things.
All I know about the extra fields is that there is a loop thing that goes through them and shows them in the order they are numbered, so I would think you would need to have things like age, height, breed at the top of the fields and the sire grandsire etc lower down so they are all together and at some point the loop can be directed to the pedigree table instead of putting the data into single boxes. The loop bit in viewlistings seems to be PHP Code:
Last edited by calaf6; 10-17-2007 at 06:17 PM. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding extra field to search.php... | abkeller | v3.1 Modules & Modifications | 4 | 06-05-2007 12:15 AM |
| listing extra field value when it is an array? | Mike-N-Tosh | v3.1 Modules & Modifications | 13 | 04-21-2007 09:31 AM |
| Duplicating City Field | GSP | v3.1 Questions & Support | 0 | 11-21-2006 11:22 AM |
| Displaying extra field in Search and category listings | Bucketman | v3.0 Questions & Support | 3 | 04-26-2006 09:48 AM |