xoops forums

Forum Index


Board index » All Posts (stefan88)




stefan88

Community Support Member
Posted on: 2009/10/12 21:06
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#1

Re: Accessing xoopsModuleConfig from a block

Hi,

this works in 2.0.13.2:

$module_handler =& xoops_gethandler('module');
  
$module =& $module_handler->getByDirname($mydirname);
  
$config_handler =& xoops_gethandler('config');
  
$moduleConfig =& $config_handler->getConfigsByCat(0$module->getVar('mid'));



and then $moduleConfig['option_name'] where option_name is the property you want to access.

Hope this is some help :)


stefan88

Community Support Member
Posted on: 2009/6/7 3:35
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#2

Re: Problems with Paypal - Checkout ? Anyone?

Hi wishcraft,

I had the same problem with ebay.com checkout. I found a workaround - I used ebay.de (replaced ebay.com with ebay.de in address bar) to do the transaction and it all worked.

Atleast you got an responce from paypal, I didn't ...
..


stefan88

Community Support Member
Posted on: 2009/2/1 23:28
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#3

Re: Blocks do not display when assaigned to display at the bottom

Hi,

can you post the <body> ... </body> part of your theme. The code I gave is from default theme and it may be little different.

Quote:
I tried that, is there anything else I need to do to get this to work?


no unless you have something like fastest cache hack. If you have it, you will have to clear that too.
..


stefan88

Community Support Member
Posted on: 2009/2/1 23:20
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#4

Re: CPU over loaded problem

Hi,

what modules are you using?
..


stefan88

Community Support Member
Posted on: 2009/2/1 23:19
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#5

Re: Having uploaded (but not yet installed) modules show up in Modules Administration page

Hi,

this usualy happens when you have module not compatible with your XOOPS system. Try uploading (and installing) modules one by one as one uncompatible module can prevent others to show...

If one module does not show after upload, delete it and then go for the next.

..


stefan88

Community Support Member
Posted on: 2009/1/30 12:30
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#6

Re: newbie question - make xoops home page

Hi,

you will need to make some changes in mainfile.php to reflect the new location. Check this FAQ:

https://xoops.org/modules/smartfaq/faq.php?faqid=150

and this FAQ:

https://xoops.org/modules/smartfaq/faq.php?faqid=193

Do not forget to clean the cache and template cache depending on your XOOPS version too.

..


stefan88

Community Support Member
Posted on: 2009/1/30 12:09
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#7

Re: Blocks do not display when assaigned to display at the bottom

Hi,

after adding the code, you will have to clear the cache for change to take effect:

for XOOPS versions 2.0.XX: delete all files EXCEPT index.html in templates_c folder

for XOOPS versions 2.3.XX: delete all files EXCEPT index.html in xoops_data\caches\smarty_compile folder

..


stefan88

Community Support Member
Posted on: 2009/1/30 6:36
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#8

Re: Blocks do not display when assaigned to display at the bottom

Hi,

Check if code like this exists in your theme:

<!-- Start center bottom blocks loop -->

<{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>

<
table cellspacing="0">

<{if 
$xoBlocks.page_bottomcenter}>

<
tr>

<
td id="bottomCcolumn" colspan="2">

<{foreach 
from=$xoBlocks.page_bottomcenter item=block}>

<{include 
file="$theme_name/theme_blockcenter_c.html"}>

<{/foreach}>

</
td>

</
tr>

<{/if}>

<{if 
$xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>

<
tr>

<
td id="bottomLcolumn">

<{foreach 
from=$xoBlocks.page_bottomleft item=block}>

<{include 
file="$theme_name/theme_blockcenter_l.html"}>

<{/foreach}>

</
td>

<
td id="bottomRcolumn">

<{foreach 
from=$xoBlocks.page_bottomright item=block}>

<{include 
file="$theme_name/theme_blockcenter_r.html"}>

<{/foreach}>

</
td>

</
tr>

<{/if}>

</
table>

<{/if}>

<!-- 
End center bottom blocks loop -->


under "<!-- End content module -->"

If not you are usig an old theme that does not support bottom position. You will need to edit your theme file and add this code.

..


stefan88

Community Support Member
Posted on: 2009/1/26 22:51
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#9

Re: CPU over loaded problem

Hi,

you may also check this story (Optimizing Xoops, its modules and your server):

https://xoops.org/modules/news/article.php?storyid=4063

Try cache for modules and blocks where posible.

Clean some tables (content, unactive users and so on) if posible. Check sessions table.

Also you may try GiJoes Fastest Cache Hack...

..


stefan88

Community Support Member
Posted on: 2009/1/22 18:42
stefan88
stefan88 (Show more)
Community Support Member
Posts: 1085
Since: 2004/9/20
#10

Re: Multimenu problem

Hi,

Quote:
Is there any other multimenu-like module?


There is also iMenu module, but I'm not shure it will do the job...
..



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