the calendar block on my forum portal doesnt generate the link to point to current date, it is just plain text number of dates so if you look on the calendar you wouldnt know what is the current date, i have try the patch blocks.imp.calendar MG posted in another topic but it still doesnt show the link of current date
How do i fix it ?
Here is the link you can take a look:
http://tinhthienthu.ath.cx
Thanks
Calendar Block On Portal
Subject: Re: Calendar Block On Portal
Have you tried this?
http://www.icyphoenix.com/viewtopic.php?p=4867#p4867
Nobody has reported whether MGs approach works or not until now... I know mine worked in the past.
http://www.icyphoenix.com/viewtopic.php?p=4867#p4867
Nobody has reported whether MGs approach works or not until now... I know mine worked in the past.
Subject: Re: Calendar Block On Portal
I got a
Line 2078 is:
2078 is the "?>" :D
Also, in mods/ netclectic/mini_cal/mini_cal_SNAILLITE.php
I couldn't find string
$url = append_sid("cal_lite.$phpEx?$day_ref=$s_dd&?$mon_ref=$s_mm&$year_ref=$s_yy&mode=display");
moreteavicar wrote: [View Post]
I got a
Quote:
Line 2078 is:
Quote:
2078 is the "?>" :D
Also, in mods/ netclectic/mini_cal/mini_cal_SNAILLITE.php
I couldn't find string
$url = append_sid("cal_lite.$phpEx?$day_ref=$s_dd&?$mon_ref=$s_mm&$year_ref=$s_yy&mode=display");
Subject: Re: Calendar Block On Portal
No, you need to read that post properly ;)
Ignore the last line about mini_cal_SNAILLITE - I transferred that post to this site because neclectic has closed his forum down. There were integration problems between minical and snaillite, as well as with IMPortal.
With regards to your error, the problem is actually } not ?>. This suggests a missing { somewhere.
Check the if statement where you inserted include($phpbb_root_path . 'mods/netclectic/mini_cal/mini_cal.'.$phpEx); , make sure the if statement before it is followed by { (in case you pasted over it by mistake)... assuming that was the only change you made to the file...
failing that, upload it here and I'll have a look at it for you...
Ignore the last line about mini_cal_SNAILLITE - I transferred that post to this site because neclectic has closed his forum down. There were integration problems between minical and snaillite, as well as with IMPortal.
With regards to your error, the problem is actually } not ?>. This suggests a missing { somewhere.
Check the if statement where you inserted include($phpbb_root_path . 'mods/netclectic/mini_cal/mini_cal.'.$phpEx); , make sure the if statement before it is followed by { (in case you pasted over it by mistake)... assuming that was the only change you made to the file...
failing that, upload it here and I'll have a look at it for you...
Subject: Re: Calendar Block On Portal
i dont have this mini_cal2.php in mods/netclectic/mini_cal/ dirextory
Subject: Re: Calendar Block On Portal
Thanks, I'll try as soon as I will be able to make my board work again... -.-'
moreteavicar wrote: [View Post]
Thanks, I'll try as soon as I will be able to make my board work again... -.-'
Subject: Re: Calendar Block On Portal
Here I am :D
This is my section of pageheader.php
Modified as you suggest
I got:
Parse error: syntax error, unexpected $end in /mounted-storage/home28a/sub001/sc20402-TGHZ/www/includes/page_header.php on line 1488
line 1488 is the }, but I have no idea what that means :D
Where am I mistaking?
Vortex wrote: [View Post]
Here I am :D
This is my section of pageheader.php
- if(empty($gen_simple_header))
- {
- if(!$layout_forum_wide_flag&&$portal_config['portal_header']&&(!defined('HAS_DIED'))&&(!defined('IN_LOGIN')))
- {
- $template->set_filenames(array(
- 'portal_header' => 'portal_page_header.tpl')
- );
- portal_parse_blocks($portal_config['default_portal'], TRUE, 'header');
- $template->assign_var('HEADER_WIDTH', $portal_config['header_width']);
- $template->assign_var('PORTAL_HEADER', portal_assign_var_from_handle($template, 'portal_header'));
- }
- }
Modified as you suggest
- if(empty($gen_simple_header))
- {
- if(!$layout_forum_wide_flag&&$portal_config['portal_header']&&(!defined('HAS_DIED'))&&(!defined('IN_LOGIN')))
- {
- $template->set_filenames(array(
- 'portal_header' => 'portal_page_header.tpl')
- );
- /* ************************************************************ */
- include($phpbb_root_path . 'mods/netclectic/mini_cal/mini_cal.'.$phpEx);
- /* *************************************************************
- portal_parse_blocks($portal_config['default_portal'], TRUE, 'header');
- $template->assign_var('HEADER_WIDTH', $portal_config['header_width']);
- $template->assign_var('PORTAL_HEADER', portal_assign_var_from_handle($template, 'portal_header'));
- }
- }
I got:
Parse error: syntax error, unexpected $end in /mounted-storage/home28a/sub001/sc20402-TGHZ/www/includes/page_header.php on line 1488
line 1488 is the }, but I have no idea what that means :D
Where am I mistaking?
Subject: Re: Calendar Block On Portal
Argggh! Its missing a " */ " at the end of the second row of:
/* *************************************************************
:oops: Ooops... my fault... the only reason for having all that was to make it easier to spot the instertion at a later date!
/* *************************************************************
:oops: Ooops... my fault... the only reason for having all that was to make it easier to spot the instertion at a later date!
Subject: Re: Calendar Block On Portal
LOL I understood that it was just to highlight that part of code, but I would never thought that could create problems... :D
Well, I got no errors now, but nothing changed... my calendar is still a table with numbers, with no links in them (even if there are events for those days)
moreteavicar wrote: [View Post]
LOL I understood that it was just to highlight that part of code, but I would never thought that could create problems... :D
Well, I got no errors now, but nothing changed... my calendar is still a table with numbers, with no links in them (even if there are events for those days)
Subject: Re: Calendar Block On Portal
Hmmm... and you don't get any SQL errors...
Did you also insert $table_prefix in one of the global lines in blocks_imp_calendar.php? This used to cause problems in IMPortal when minical accessed SQL... although the error usually gives a message, which you do not have...
Maybe when I get time I will set up minical on my XS test site and see whats happening... it could be related to mini_cal_TOPIC.php although that never had problems in the past (at least with non-XS installations). :roll:
Did you also insert $table_prefix in one of the global lines in blocks_imp_calendar.php? This used to cause problems in IMPortal when minical accessed SQL... although the error usually gives a message, which you do not have...
Maybe when I get time I will set up minical on my XS test site and see whats happening... it could be related to mini_cal_TOPIC.php although that never had problems in the past (at least with non-XS installations). :roll:
Subject: Re: Calendar Block On Portal
Page 1 of 1
You cannot post new topicsYou cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events
This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by Icy Phoenix based on phpBB
Generation Time: 1.7707s (PHP: 1% SQL: 99%)
SQL queries: 15 - Debug Off - GZIP Enabled