1
supergran
Re: xBootstrap 3 Theme
  • 2016/8/4 22:23

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Thank you both - I had commented out the script line but not deleted it. Once I deleted it completely all was well.
Great to see the theme being used as standard and core modules adapted too.
Thank you for your help.
Janice



2
supergran
Re: xBootstrap 3 Theme
  • 2016/7/31 0:29

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi Angelo, this is a great theme and good to see Bootstrap in Xoops. I have tried to remove the shareaholic scripts and references but even though I have deleted all mentions of it I still get an error
Smarty error: unable to read resource: "xbootstrap/tpl/shareaholic-script.tpl" in file /class/smarty/Smarty.class.php line 1094

I cannot find any more refernces to the script, is there a variable I should look for to remove the last part?
Thanks again for your work on this theme.
Janice



3
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/7/9 23:33

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Sorry also that it's taking me so long. Once I have the site up I'll get into the generic code and start on the tutorial. At least I'l learning more about xoops and appreciating it's differences to other CMSs. I really like it. Much more important that you concentrate on the core. I'm looking forward to 2.6.
Jan



4
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/7/9 1:46

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


For anyone with the same issue - the problem was that _MA_PEDIGREE_ADD_DATA had been commented out in mainfile and that an h2 tag in add_litter php had been deleted. I'll add it to my list to change on GITHUB once I've got the site working.



5
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/7/7 3:08

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi, I'm not sure where to post issues with the Pedigree module so let me know if there's a better way...

The add a litter page is not working for any theme in 2.5.8 and PHP7. I've tried it on the latest alpha 6 from Mamba's fork and also on Zyspec's alpha 8 version without any changes. I've compared the add_dog.php and add_litter.php files as I'd have thought they were similar in construction but can't see anything obvious. I've also compared the pedigree_adddog.tpl and pedigree_addlitter.tpl files without success.

The table output and functionality works fine to add a dog - the page title is output at the top and at the bottom there is a button to add the dog..
.. trying to add a litter does not output the page title just blank rows. The button at the bottom also doesn't render, instead the raw text is output, "Check this [animalType] and add other information -->"

The only error I get is 11 notices of the same error:
Notice: Undefined property: Animal::$user1 in file /modules/pedigree/include/class_field.php line 653

Any ideas how I can fix this issue? There are a few minor issues I can live with but I need to fix this before I can launch the site. Once I get the core site working I'll have a go at the tutorial which I am hoping will give me the confidence on Git Hub to do a bit more.
Grateful as always for your help.
Jan



6
supergran
Re: Changing module permissions - Pedigree
  • 2016/6/19 0:43

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Sorry!.... I'd disabled the block access rights for the anonymous group but not the module access rights... obvious once I'd stopped for coffee!



7
supergran
Changing module permissions - Pedigree
  • 2016/6/19 0:14

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi
I'm trying to configure the pedigree module so that it is only viewed by registered users. I can configure the blocks that way but the Pedigree menu in the Main menu block is also visible to anonymous users. this also allows anonymous users to search and view pedigrees and also to use the trial mating tool. The Private messaging and User profile menus in the main menu behave correctly. How can I get the Pedigree module to act in the same way? I am using the bootstrap theme.

I did try disabling the module in the main menu and making a menu as a custom html module but the menus then work independently so the current page marker for the home page is current. I'd rather use a single menu if possible.

Thank you for any help.

Jan



8
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/5/12 3:54

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


I think you should get a medal for your patience! I'm sorry. I should have spotted that. Working great in 2.5.8 and PHP7 and I can change module positions, user permissions and create custom blocks! You have made an old lady very happy

Thank you very much and good luck with 2.5.8.
Janice



9
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/5/9 2:56

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Thanks but that line is already in place:
global $xoopsModule; if (!defined('PEDIGREE_DIRNAME')) { define("PEDIGREE_DIRNAME"$xoopsModule->dirname()); define('PEDIGREE_DIRNAME'basename(dirname(__DIR__))); define("PEDIGREE_PATH"XOOPS_ROOT_PATH "/modules/" PEDIGREE_DIRNAME); define("PEDIGREE_URL"XOOPS_URL "/modules/" PEDIGREE_DIRNAME); define("PEDIGREE_ADMIN"PEDIGREE_URL "/admin/index.php"); } define("PEDIGREE_AUTHOR_LOGOIMG"PEDIGREE_URL "/assets/images/xoopsproject_logo.png");

Any other ideas?
Janice



10
supergran
Re: animal pedigree database, problems moving to new server
  • 2016/5/7 1:11

  • supergran

  • Friend of XOOPS

  • Posts: 25

  • Since: 2011/6/6 1


Hi, thank you.
I've tried a number of settings so thought I'd try from scratch to try and be more methodical about it. Default theme and the main issue I have occurs on both PHP 5.6.1.3 and 7. I'm using Xoops RC 2.5.8 as that will probably be live when I launch.
I hit an error as soon as I change anything in blocks. Moving the pedigree menu block, changing access permissions for the block etc result in a white page with the
Error: Error: Call to a member function dirname() on null in file /modules/pedigree/include/config.php line 27
Reversing the changes in admin makes no difference once that original change has been made I cannot access the front page of the site. I can access admin and view the pedigree module via a direct path to it. I can also deactivate the pedigree module and this restores front page access to xoops. Setting the pedigree module as my start module has the same effect. I used to do this and the welcome page would show as default content on the pedigree home page.
The error relates to this blockin the php:
global $xoopsModule; if (!defined('PEDIGREE_DIRNAME')) { define("PEDIGREE_DIRNAME"$xoopsModule->dirname()); define("PEDIGREE_PATH"XOOPS_ROOT_PATH "/modules/" PEDIGREE_DIRNAME); define("PEDIGREE_URL"XOOPS_URL "/modules/" PEDIGREE_DIRNAME); define("PEDIGREE_ADMIN"PEDIGREE_URL "/admin/index.php"); }


Jan




TopTop
(1) 2 »



Login

Who's Online

243 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 243


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