xoops forums

Forum Index


Board index » All Posts




aerograf

Not too shy to talk
Posted on: Today 16:27
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 142
Since: 1/7 14:01
#1

Error : Handler does not exist

One more question.
What can cause this error?
I've already looked through everything, all the functions, etc. Sort of checked.
Error Handler does not exist
Module
printliminator
Name
printliminator in the file /include/functions.php line 87


zyspec

Module Developer
Posted on: Yesterday 17:48
zyspec
zyspec (Show more)
Module Developer
Posts: 1011
Since: 2004/9/21
#2

Re: MastopGo2 & XOOPS 2.5.9

This is caused because MastopGo2 uses the PHP4 class construct method(s) instead of using the PHP5 __construct() method. The PHP4 access method was removed in the XoopsFormSelect class in XOOPS 2.5.9. This particular problem can be resolved by replacing line 38 in ./class/formimage.php.
Change from:
$this->XoopsFormSelect($caption$name$value);

with:
parent::__construct($caption$name$value);


blackrx

Quite a regular
Posted on: 6/21 19:17
blackrx
blackrx (Show more)
Quite a regular
Posts: 212
Since: 2008/2/5 1
#3

MastopGo2 & XOOPS 2.5.9

Im Testing this on wamp

Mastop Go2 1.02 Final
XOOPS Version XOOPS 2.5.9-RC1
PHP Version 5.6.25
mySQL Version 5.7.14

in admin i received fatal error for this page
modules/mastop_go2/admin/go2.php
Fatal error: Call to undefined method MastopFormSelectImage::XoopsFormSelect() in D:\wamp\www\xoops\modules\mastop_go2\class\formimage.php on line 38


aerograf

Not too shy to talk
Posted on: 6/20 4:52
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 142
Since: 1/7 14:01
#4

Re: The Printliminator

Printliminator 1.01 Release
- Printliminator
- QR Code
- File Manager
- Index Scan


aerograf

Not too shy to talk
Posted on: 6/18 14:37
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 142
Since: 1/7 14:01
#5

Re: Setting the block

Thanks for the detailed explanation.
I'll try to apply.


Zap_English

Quite a regular
Posted on: 6/18 11:50
Zap_English
Zap_English (Show more)
Quite a regular
Posts: 337
Since: 2016/5/24
#6

Shareaholic and Facebook

Has anyone been experiencing a problem sharing content with the shareaholic buttons in the xbootstrap theme?

Friday it stopped sharing properly on 3 different websites

Instead of a title, image and link to the page, it's just showing the site URL


Bleekk

Theme Designer
Posted on: 6/18 5:48
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 898
Since: 2002/12/14
#7

Re: Default title for the news comments ?

Thanks to geekwright it is fixed now


Bleekk

Theme Designer
Posted on: 6/18 5:41
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 898
Since: 2002/12/14
#8

Re: Setting the block

Here are screenshots of the result
First naming the block
Resized Image

and the result
Resized Image


Bleekk

Theme Designer
Posted on: 6/18 5:35
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 898
Since: 2002/12/14
#9

Re: Setting the block

here is the code that I have tested with xoops 2.5.9 RC1 and the xbootstrap theme.
I tested it now only with the leftblocks but it will work will all blocks.

open themes/xbootstrap/tpl/leftBlock.tpl and change your code of the block to this
<{if $xoBlocks.canvas_left}>
    <
div class="col-sm-3 col-md-3 xoops-side-blocks">
        <{foreach 
item=block from=$xoBlocks.canvas_left}>
            <
aside <{if $block.title && strpos($block.title'|') != false }> class="<{$block.title|substr:0:8}>" <{/if}>>
                <{if 
$block.title}><h4 class="block-title"><{if strpos($block.title'|') != false }><{$block.title|substr:9}><{else}><{$block.title}><{/if}></h4><{/if}>
                <{
$block.content}>
            </
aside>
        <{/foreach}>
    </
div>
<{/if}>

short explanation what I am doing here.
The new css class will always have 8 characters, like block-01.
In the aside-tag I am checking if the title has a | in it, and if so I will take the part before | as my class.
In the title of the block I again need to check if the title has a | in it, and if so I will only display the text behind | as my title, else it will display the complete title


then I define some css classes in my theme.html (you can also define them in the style.css)
.block-01{background#5CB85C;}
.block-02{background#C3C3C3;}
.block-03{background#333333;}


Now when you want to change the style of a block you need only to name the block like the class
For examle if you wan to change the main menu block you will name it "block-01|Main Menu"

I hope you understand everything here


aerograf

Not too shy to talk
Posted on: 6/17 4:07
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 142
Since: 1/7 14:01
#10

Re: Setting the block

Maybe.
I'll try again, in more detail.
Thank you,



TopTop
(1) 2 3 4 ... 29115 »