11
luwie
Pedigree Module /Adding a Dog
  • 2013/5/16 17:18

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


I just installed the new version of Xoops(2.5.6.) and installed the latest Pedigree Module.

First thing we have to look at are the basics.
The basic function of adding a animal and after that connecting the mother and Father are not working anymore.

I added a Dog Called "Amadeus"
I also Added a Dog called "Cooper"
and I added a third Dog called "Gytha"

If I try to connect "Cooper" to "Amadeus" ,I will get the text data saved,but nothing happens.
There is no change in the database

Resized Image


I saw in the administration part under Custom Field the names of the added Dogs show up.
Custom Fields are the fields made by the webmaster
They should be under the "pedigree" part.

This was ok last time I tested.
The part of connecting a dog to it parents did not work in the last version.

If I try to add a Picture ,I will see the following error:
Notice: Undefined variable: xoopsModule in file /modules/pedigree/include/functions.php line 62

So there are many basic things that are not working anymore,this makes it very hard to Test......

testing with:
Minimum PHP required: 5.2 (your version is 5.3.2-1ubuntu4.19)
MYSQL minimum version required: 5.0.7 (your version is 5.1.69-0ubuntu0.10.04.1-log)
Minimum XOOPS required: 2.5.6 (your version is 2.5.6)
Minimum ModuleAdmin required: 1.1 (your version is 1.1)



12
luwie
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/8 5:19

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


I just focused on the text in the menu.

The way I changed it is not the best way to do it, I thing.
It would be better to use the variabel "Animaltype" then we don`t have to edit
the xoops_version.php file.

Mabey Mamba can help on this one.

I will try to find the part where the text of the "dog" is used in the notification part.

Greetings Theo



13
luwie
Re: Animal/Pedigree module
  • 2013/5/5 9:07

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


I found where you can chance the "sub"menu buttons for the pedigree menu.
So you can change the "dog" or any ohter text in the buttons.

Goto the directorie Modules/Pedigree

And open the file:

xoops_version.php

You can edit the file with notepad++ or some other editor.

Now goto row 221,where it says // Menu contents

$i=0;
$modversion['hasMain'] = 1;
$modversion['sub'][$i]['name'] = 'View/Search';
$modversion['sub'][$i]['url'] = "index.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add a Schapendoes';
$modversion['sub'][$i]['url'] = "add_dog.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add a litter';
$modversion['sub'][$i]['url'] = "add_litter.php";
$i++;
$modversion['sub'][$i]['name'] = 'View owners/breeders';
$modversion['sub'][$i]['url'] = "breeder.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add owner/breeder';
$modversion['sub'][$i]['url'] = "add_breeder.php";
$i++;
$modversion['sub'][$i]['name'] = 'Advanced info';
$modversion['sub'][$i]['url'] = "advanced.php";
$i++;
$modversion['sub'][$i]['name'] = 'Virtual Mating';
$modversion['sub'][$i]['url'] = "virtual.php";
$i++;
$modversion['sub'][$i]['name'] = 'Latest additions';
$modversion['sub'][$i]['url'] = "latest.php";
$i++;
$modversion['sub'][$i]['name'] = 'Webmaster tools';
$modversion['sub'][$i]['url'] = "tools.php?op=index";

All the text in Blue can be changed.

Hope this helps

Greetings Theo



14
luwie
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/2 20:59

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


I found where you can chance the "sub"menu buttons for the pedigree menu.
So you can change the "dog" or any ohter text in the buttons.

Goto the directorie Modules/Pedigree

And open the file:

xoops_version.php

You can edit the file with notepad++ or some other editor.

Now goto row 221,where it says // Menu contents

$i=0;
$modversion['hasMain'] = 1;
$modversion['sub'][$i]['name'] = 'View/Search';
$modversion['sub'][$i]['url'] = "index.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add a Schapendoes';
$modversion['sub'][$i]['url'] = "add_dog.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add a litter';
$modversion['sub'][$i]['url'] = "add_litter.php";
$i++;
$modversion['sub'][$i]['name'] = 'View owners/breeders';
$modversion['sub'][$i]['url'] = "breeder.php";
$i++;
$modversion['sub'][$i]['name'] = 'Add owner/breeder';
$modversion['sub'][$i]['url'] = "add_breeder.php";
$i++;
$modversion['sub'][$i]['name'] = 'Advanced info';
$modversion['sub'][$i]['url'] = "advanced.php";
$i++;
$modversion['sub'][$i]['name'] = 'Virtual Mating';
$modversion['sub'][$i]['url'] = "virtual.php";
$i++;
$modversion['sub'][$i]['name'] = 'Latest additions';
$modversion['sub'][$i]['url'] = "latest.php";
$i++;
$modversion['sub'][$i]['name'] = 'Webmaster tools';
$modversion['sub'][$i]['url'] = "tools.php?op=index";

All the text in Blue can be changed.

Hope this helps

Greetings Theo



15
luwie
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/4/21 7:40

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


Quote:

Mamba wrote:
[quote]These are probably still hard-coded. I'll fix it in the future versions.



I also looked into this,and yes it must be hardcoded.
If you use the "block" and you turn this on,you will get the original pedigree menu and you will see that it works then.
Then it changes the "add" with the right name.

Greetings Theo



16
luwie
Re: Animal/Pedigree module - New development, features requests
  • 2013/4/6 14:28

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


Quote:

afghanhound wrote:
I too would prefer tabs, but we do have many extra fields so not sure how it would work, tabs for the main menu would be great too eg add a dog etc with an easy option to add new tabs
pam


I would like that the Tabs can be made from the admin part of Xoops,and that you can than define the groups for every Tab.
After you have created the new Tab you can than add new fields,would also be nice if we could manage this from the admin part of Xoops.
Mabey we can make an option for the fields "Search"

If the tabs are "full" at the page it would look very nice if they scroll to the right.
And offcourse back to the left.

I don`t know if I`m wishing to much,I don`t know whats possible and what is not.

Pam I have E-mailed you ,about the tutorial,but no answer,how do I contact you?

Resized Image



17
luwie
Re: Animal/Pedigree module - New development, features requests
  • 2013/3/24 16:44

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


If we want to add a animal we have to point out who the father and the mother is.
In the old version you must first pick the first letter and after that you have to click on the page number where you think your animal is.
If you have a big pedigree there could be more than 10 pages.
Then you have to scroll down to find the right one.
Resized Image




I think it would be a great improvement if we could use a search function.

Resized Image








18
luwie
Re: Animal/Pedigree module - New development, features requests
  • 2013/3/19 12:29

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


Hello Pedigree Group members,

It think it would be a great improvement if we could use Tabs in de general view of
the Pedigree module.
In the old pedigree module all information is on one page.
If you have a lot off fields this page becomes very long and you have to scroll down.
And you don`t have a good overview.

If we can use Tabs, You will have a better overview and you don`t have to scroll down.
It would be great if you could create this Tabs in the admin area of Xoops.
I included a print screen to give an idea how it could look like.

Resized Image
Greetings Theo




19
luwie
Re: Module (Animal)Pedigree, is it worth upgrading?
  • 2013/3/17 18:58

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


I also think,this is a good place to get the Pedigree module to a better level.
In the Yahoo group there are not many postings.
I will contact all members off this group and try to get them involded in this topic.

I`m making a list now with all the site`s using the pedigree module.

I will send them an E-mail explaining whats going on.
I think we will have more people joining us.

I will make a doc on googledocs,so that we can work on it together.

Thanks for the great progress

Theo



20
luwie
Re: Module (Animal)Pedigree, is it worth upgrading?
  • 2013/3/17 9:44

  • luwie

  • Just popping in

  • Posts: 26

  • Since: 2009/9/6 7


Hello,

I agree with Mamba to first work on to make the beta stable ,and after that look into the details.

There is one thing that is a bug in the animal module,I will try to explain:

If you add a animal with the following name:

Luwie`s

It can not be added because the module does not accept the ` sign.
So you cannot use all the caracters on the keyboard.


Resized Image

If you try to add it with the sign in the picture it will work,if you try to use other sig`n it will not work.
I think it`s a setting in one off the tables.



Luwie










TopTop
« 1 (2) 3 »



Login

Who's Online

220 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits