61
kerkyra
Re: Sliders module - Bug report
  • 2010/6/16 10:27

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i will add the fixes and update the package as soon as i can. As for the wishlist i'll see what i can do :) there are some stuff i'd like to add myself. This is a very basic version of the module. Already working on v.1 . Thanks for the feedback and for testing it.
www.guidemap.gr - Beta is out...



62
kerkyra
Re: Sliders module - Bug report
  • 2010/6/15 11:44

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


the link is updated with the fixes and the instal/uninstall issue fixed as well. The gd library is only used if it is there, otherwise its not.
www.guidemap.gr - Beta is out...



63
kerkyra
Re: Sliders module - Bug report
  • 2010/6/14 22:25

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i updated the module. Probably your server doesnt support the short php tags??

I cant figure out why you dont get image upload box! no errors at all? any debug info?



64
kerkyra
Re: How to get block name
  • 2010/6/12 18:09

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


bump indeed then! We cannot change the block title on the fly...:(
www.guidemap.gr - Beta is out...



65
kerkyra
Re: How to get block name
  • 2010/6/11 0:14

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i did return the block array since i tried this way.

The point is that if i do what you suggest and check through smarty the block id, this would have to change in each installation of the module.

There must be a simple way to get the block title and reassign it!!!
www.guidemap.gr - Beta is out...



66
kerkyra
Re: How to get block name
  • 2010/6/10 18:09

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


returning the block array is not necessary. I've already tried that and block['title'] is empty. Still i would have somehow to get the block title from the db if i want to change it. Returning true works for me.

even returning the block array,
since we create the array in the function we still have to set $block['title'].

i tried to just set $block['title'] = 'something'; and see what happens but still the block has the same title, the one i set in the system->blocks admin area.

I just need to get that name and set a new block name for this specific block!! Can't this be done??!!
www.guidemap.gr - Beta is out...



67
kerkyra
Re: Private messages bug
  • 2010/6/10 17:19

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


thanks, i reinstalled the module and the problem is fixed
www.guidemap.gr - Beta is out...



68
kerkyra
Re: How to get block name
  • 2010/6/10 16:45

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


its a module block, from a module i'm writing at the moment.
www.guidemap.gr - Beta is out...



69
kerkyra
Re: How to get block name
  • 2010/6/10 14:58

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


i've changed the block name from the system->blocks administration area.

For example i gave it the name Car of the month

but i want the block name to be

Car of the month: Pegaut 306

and the same each time the title of the car changes.
www.guidemap.gr - Beta is out...



70
kerkyra
Re: How to get block name
  • 2010/6/10 12:40

  • kerkyra

  • Just can't stay away

  • Posts: 553

  • Since: 2005/2/14


my code is like that
Quote:
global $xoTheme, $xoopsOption, $xoopsTpl,$xoopsConfig;
include_once(XOOPS_ROOT_PATH.'/modules/slider/class/sliders.php');

if ( file_exists(XOOPS_ROOT_PATH."/modules/slider/language/".$xoopsConfig['language']."/main.php") ) {
include_once (XOOPS_ROOT_PATH."/modules/slider/language/".$xoopsConfig['language']."/main.php");
} else {
include_once (XOOPS_ROOT_PATH."/modules/slider/language/english/main.php");
}


$xoTheme->addScript('browse.php?Frameworks/jquery/jquery.js');
$xoTheme->addScript('modules/slider/js/slider.js');
$xoTheme->addScript('modules/slider/js/jquery.easing.1.3.js');
$xoTheme->addScript('modules/slider/js/jquery.ennui.contentslider.js');
$xoTheme->addStylesheet('modules/slider/css/slider.css', array('media' => 'screen'));


$sliders = new Sliders();
$myslider = $sliders->getActiveSlider();
$xoopsTpl->assign('sliderlist',$myslider);
$xoopsTpl->assign('more',_AM_SLIDER_READMORE);
$xoopsTpl->assign('block',$block);
return true;


what i want to do is

set the title as

$block_title .= $somethingelse
www.guidemap.gr - Beta is out...




TopTop
« 1 ... 4 5 6 (7) 8 9 10 ... 40 »



Login

Who's Online

226 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 226


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