xoops forums

Forum Index


Board index » All Posts (supergran)




supergran

Friend of XOOPS
Posted on: 2016/8/4 22:23
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#1

Re: xBootstrap 3 Theme

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


supergran

Friend of XOOPS
Posted on: 2016/7/31 0:29
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#2

Re: xBootstrap 3 Theme

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


supergran

Friend of XOOPS
Posted on: 2016/7/9 23:33
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#3

Re: animal pedigree database, problems moving to new server

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


supergran

Friend of XOOPS
Posted on: 2016/7/9 1:46
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#4

Re: animal pedigree database, problems moving to new server

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.


supergran

Friend of XOOPS
Posted on: 2016/7/7 3:08
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#5

Re: animal pedigree database, problems moving to new server

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


supergran

Friend of XOOPS
Posted on: 2016/6/19 0:43
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#6

Re: Changing module permissions - Pedigree

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!


supergran

Friend of XOOPS
Posted on: 2016/6/19 0:14
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#7

Changing module permissions - Pedigree

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


supergran

Friend of XOOPS
Posted on: 2016/5/12 3:54
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#8

Re: animal pedigree database, problems moving to new server

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


supergran

Friend of XOOPS
Posted on: 2016/5/9 2:56
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#9

Re: animal pedigree database, problems moving to new server

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


supergran

Friend of XOOPS
Posted on: 2016/5/7 1:11
supergran
supergran (Show more)
Friend of XOOPS
Posts: 25
Since: 2011/6/6 1
#10

Re: animal pedigree database, problems moving to new server

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 »