1
stefan88
Re: Accessing xoopsModuleConfig from a block
  • 2009/10/12 21:06

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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 :)



2
stefan88
Re: Problems with Paypal - Checkout ? Anyone?
  • 2009/6/7 3:35

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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 ...
..



3
stefan88
Re: Blocks do not display when assaigned to display at the bottom
  • 2009/2/1 23:28

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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.
..



4
stefan88
Re: CPU over loaded problem
  • 2009/2/1 23:20

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


Hi,

what modules are you using?
..



5
stefan88
Re: Having uploaded (but not yet installed) modules show up in Modules Administration page
  • 2009/2/1 23:19

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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.

..



6
stefan88
Re: newbie question - make xoops home page
  • 2009/1/30 12:30

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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.

..



7
stefan88
Re: Blocks do not display when assaigned to display at the bottom
  • 2009/1/30 12:09

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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

..



8
stefan88
Re: Blocks do not display when assaigned to display at the bottom
  • 2009/1/30 6:36

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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.

..



9
stefan88
Re: CPU over loaded problem
  • 2009/1/26 22:51

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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...

..



10
stefan88
Re: Multimenu problem
  • 2009/1/22 18:42

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


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 »



Login

Who's Online

69 user(s) are online (40 user(s) are browsing Support Forums)


Members: 0


Guests: 69


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Sep 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits