11
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

12
exotics
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/4/29 11:08

  • exotics

  • Just popping in

  • Posts: 25

  • Since: 2013/4/5 1


Quote:

luwie wrote:
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



Would you mind explaining the steps so I can do this please?

13
exotics
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/4/30 17:11

  • exotics

  • Just popping in

  • Posts: 25

  • Since: 2013/4/5 1


There is another issue with the cloned module
When adding a picture it takes you to /modules/pedigree/updatepage.php and freezes there. This happens in all of the cloned ones (I have 5) as well as the original.
The explanation also tells you to input a url but doesnt give you that option,
Any help would be great

14
Mamba
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/1 7:40

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


As soon as I finish working on the Basic Module Pack, I'll be looking into Pedigree module.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

15
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

16
exotics
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/7 10:22

  • exotics

  • Just popping in

  • Posts: 25

  • Since: 2013/4/5 1


Quote:

luwie wrote:
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



Hope this helps

Greetings Theo



That works fantastic thanks but what about this part
Notification Options
Category Events
Individual dog Keep me informed about changes to this dog's information

17
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

18
Mamba
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/11 8:55

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


I've updated the version in SVN.

Please test if the submenus are now working. You can change them in the file modules/pedigree/language/english/modinfo.php

or your local language file.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

19
exotics
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/22 16:16

  • exotics

  • Just popping in

  • Posts: 25

  • Since: 2013/4/5 1


I cant find where to download the updated version that link wont allow me to download

20
Anonymous
Re: Animal/Pedigree Module 1.31 Alpha 1
  • 2013/5/23 9:38

  • Anonymous

  • Posts: 0

  • Since:


Someone else asked me the same question Mamba. Having the svn updates as a zip would be a nice idea for this module (as there are many none technically skilled testers).

Login

Who's Online

232 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 232


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