11
Feichtl
Re: place div on homepage only
  • 2012/9/1 16:53

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


@trabis: Works perfect! Should be part of the core!

@deka87: You have to include this part of the code in the exisiting file "core.php"

if (defined("XOOPS_STARTPAGE_REDIRECTED") || (isset($GLOBALS['xoopsOption']['template_main']) && $GLOBALS['xoopsOption']['template_main'] == "db:system_homepage.html")) {
            if (
is_object($GLOBALS['xoopsTpl'])) {
                
$GLOBALS['xoopsTpl']->assign('homepage' ,true);
            }
        }


into the function

function eventCoreHeaderAddmeta($args)


In my case i pasted it below line 60.



12
Feichtl
Re: Lawsuit 1.51 - Contact Us forms with SEO URL Rewrite
  • 2011/11/11 9:10

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I tried it on chronolabs today and following happened on admin-side:

- Entries of "Form reports" blasts the right margin (more or less; depending on how many fields are in the form)

- Klicking on "View Response" of one of the form reports shows only the admin-tabs of the module, but no content. debug mode reports:

NoticeUndefined indexclosesite in file /include/common.php line 269
Warning
Missing argument 1 for LawsuitResponse::__construct(), called in /kernel/object.php on line 1073 and defined in file /modules/lawsuit/class/response.php line 9



13
Feichtl
Re: CaricaFoto
  • 2010/3/31 14:45

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Old thread, but i found a bug in /class/textsanitizer/image/image.php near line 83 to 87.

I found it by html-validating a site, where i set "clickable = 0" in /class/textsanitizer/image/config.php. I always ended up with following error:

end tag for element "a" which is not open"

So i started searching and found the closing "/a" in above lines and removed them.



14
Feichtl
Re: Get todays date in extcal 2.2.2
  • 2010/3/10 13:22

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I read this late, but this is a very helpful hint! THX a lot!



15
Feichtl
Re: poll module
  • 2010/1/13 15:50

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Tried in XOOPS 2.4.3 and everything works for me so far.

Captcha integration would be a cool feature for votings, where anonymous users are allowed to prevent from missuse!



16
Feichtl
Re: theme framework
  • 2009/9/28 13:54

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8





17
Feichtl
Re: Get todays date in extcal 2.2.2
  • 2009/9/4 17:39

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I played around a bit and changed back to PHP 5.1.10 for the moment. But for further compatibility to upcoming PHP versions this should be fixed.



18
Feichtl
Get todays date in extcal 2.2.2
  • 2009/9/4 9:06

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


I'm on a fresh installation of XOOPS 2.3.3 and extcal 2.2.2 in a PHP 5.3.0 and MySQL 5 environment.

extcal brings an error in all different views (week-list, month-list, year-list, week-calender, ...). As example the week-list:

Warningdate() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /home/.../modules/extcal/week.php on line 18

Warning: date() [function.date]: It is not safe to rely on the system'
s timezone settingsYou are *requiredto use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warningyou most likely misspelled the timezone identifierWe selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /home/.../modules/extcal/week.php on line 19

Warning
date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /home/.../modules/extcal/week.php on line 20


If i change lines 18-19 in week php from
$year = isset($_GET['year']) ? intval($_GET['year']) : date('Y');
$month = isset($_GET['month']) ? intval($_GET['month']) : date('n');
$day = isset($_GET['day']) ? intval($_GET['day']) : date('j');


to
$year = isset($_GET['year']) ? intval($_GET['year']) : date_default_timezone_set('Y');
$month = isset($_GET['month']) ? intval($_GET['month']) : date_default_timezone_set('n');
$day = isset($_GET['day']) ? intval($_GET['day']) : date_default_timezone_set('j');


the error is gone, BUT i don't get todays date! Calender view starts in the year 1999!

What's going wrong here?



19
Feichtl
Re: Is there a default password for "admin"
  • 2009/7/3 16:31

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


No. You are invited to assign one yourself at installation of xoops.



20
Feichtl
Re: Changing Module Title in Main Menu
  • 2009/6/27 5:38

  • Feichtl

  • Not too shy to talk

  • Posts: 126

  • Since: 2004/11/8


Go to administration section (where you see installed and not installed modules), rename the module and klick on submit button. That's all. You can also change sort order. "0" = invisible in main menu (but still active)




TopTop
« 1 (2) 3 4 5 ... 7 »



Login

Who's Online

68 user(s) are online (45 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

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

Latest GitHub Commits