jakobus Posted September 15, 2003 Share Posted September 15, 2003 hi alverman, that was is. exactly. I did the changes you told me. you're my hero of the day !!!!!!!!! thanks so much. by the way, the changes for the admin in catalog/application_top.php were allready done !? jako Quote Link to comment Share on other sites More sharing options...
alverman Posted September 15, 2003 Share Posted September 15, 2003 by the way, the changes for the admin in catalog/application_top.php were allready done !? Yes, you are right, it's in my last read-me, I do things and then I forget, I guess I'm getting too old for these things! Quote Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2003 Share Posted October 16, 2003 Hi all i am having trouble changing the colours... in particular the colour where the month is and the colour of the first row of dates: Youll see what i mean if you have a look here: http://www.inquisitivemind.com.au/musclegenesis Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Aalst Posted December 1, 2003 Share Posted December 1, 2003 Ivan, I know you haven't posted in here for a while, but I had a request. That is have you thought of having recurring event option in the ADMIN tool? The ability to say that this event recurres on every MONDAY for a specific period of time would be extremely useful. Right now all my events are recurring and I have to add the exact same information over and over and over again. I am surprised this hasn't be brought up before. Right now I am in the middle of some updates on another Contrib, so I thought I would ask the one who is most familiar with the Events Calendar code. Also anyone else who may have good PHP skills and willing to work on this. When I get a break I will have time to get familiar with this code, and look into making the changes myself, but I do not know when that will be. Thanks for your time... -Aalst Quote Link to comment Share on other sites More sharing options...
radders Posted January 3, 2004 Share Posted January 3, 2004 Got the calanedar installed on MS2 without any problem. It looks useful. I'd love to make it multiuser though as I hate doing all the input myself ;) One thing that is not working though: Does anyone know where to put the stripslashes funtion in all this? I keep ending up with things like Ch\\\\\\\\\\\\\\\\\\\\\\\\\'uan in the middle of my titles Quote Link to comment Share on other sites More sharing options...
radders Posted January 4, 2004 Share Posted January 4, 2004 amending the lines to include stripslashes() around line 61 of admin/events_manager.php seemed to do the trick if you need to do this. ie if you have Magic Quotes GPC turrned on: 'title' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['title'][$language_id])), 'description' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['description'][$language_id])), Quote Link to comment Share on other sites More sharing options...
Guest Posted February 13, 2004 Share Posted February 13, 2004 (edited) It's because the calendar is loaded inside the i-frame and therefore also the calendar page is added to "navigation history" (did not think about it before).Try this: in catalog/includes/application_top find: $navigation->add_current_page(); and change to : if (basename($PHP_SELF) != FILENAME_EVENTS_CALENDAR_CONTENT){ ?$navigation->add_current_page(); } by the way also "who's on line" in admin, is affected by the same problem so in catalog/includes/application_top find: // include the who's online functions ?require(DIR_WS_FUNCTIONS . 'whos_online.php'); ?tep_update_whos_online(); and do the same thing: // include the who's online functions if (basename($PHP_SELF) != FILENAME_EVENTS_CALENDAR_CONTENT){ ?require(DIR_WS_FUNCTIONS . 'whos_online.php'); ?tep_update_whos_online(); } HTH I have applied/modified the two areas above in my application_top.php file alas when someone attempts to login at my site they are redirected to the calendar_content.php?_month=&_year= page instead. :o Help! BTW - admin, everything else works just fine and dandy. Just a problem with the login getting redirected. Edited February 13, 2004 by MsGIF Quote Link to comment Share on other sites More sharing options...
Guest Posted February 13, 2004 Share Posted February 13, 2004 Forgot to mention - Running flavor 08/07/2003 - Events calendar 2.0 MS2 on Linda McGrath's SEC/GC OSC MS2 2.2 Quote Link to comment Share on other sites More sharing options...
ranger_lp Posted February 22, 2004 Share Posted February 22, 2004 I have been trying to get events calendar working with the SEC contribution. I am having trouble getting the header to look green to match the rest of the site. In addition, the Header reads Events Calendar . Anyone come across this? Quote Link to comment Share on other sites More sharing options...
Guest Posted February 22, 2004 Share Posted February 22, 2004 I too am having a problem....and since there seems to be a lot of helpful people here....could someone have a look at this... I am running OSC 2.2 I have installed the events calendar contri( http://www.oscommerce.com/community/contri...ns,1061/page,10) ....and it all works well, but when I click on the infobox header Events Calendar--- I get this error on the page... Warning: Missing argument 4 for splitpageresults() in C:\Program Files\Apache Group\Apache2\htdocs\catalog\includes\classes\split_page_results.php on line 24 1065 - Query was empty now I know that it has something to do with the DB but the table is working fine, and I cannot figure out the problem...here is the code from the split_page file.. This is line 13... function splitPageResults(&$current_page_number, $max_rows_per_page, &$sql_query, &$query_num_rows) { I know it is probably not a big issue...and probably a simple fix...but I cant figure it out. Quote Link to comment Share on other sites More sharing options...
mackmils Posted March 27, 2004 Share Posted March 27, 2004 Im haveing a login problem it send me directly to events_calendar.php Also the images dont show when adding an event Problem can be viewed at www.dimefashions.dimecity.net un: [email protected] ps: testing Also ivan i love the player in your footer http://www.chilipepper.it/ how can i ad that to my osc site Quote Link to comment Share on other sites More sharing options...
loftus Posted April 8, 2004 Share Posted April 8, 2004 Hi, I have the events calendar running on my site www.katech.com.au Its working fine and i think its great - I can edit the stylesheet however the iframe is not inside an info box ? Can someone please give me advice as to how I can make the calendar appear in the left column inside an infobox? thanks adam Quote __ Regards, Adam Link to comment Share on other sites More sharing options...
Salvo Posted April 23, 2004 Share Posted April 23, 2004 amending the lines to include stripslashes() around line 61 of admin/events_manager.php seemed to do the trick if you need to do this. ie if you have Magic Quotes GPC turrned on: 'title' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['title'][$language_id])), ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'description' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['description'][$language_id])), Hi all can anyone them me why it doesn't work for me? 'title' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['title'][$language_id])), 'description' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['description'][$language_id])), 'event_image' => tep_db_prepare_input($HTTP_POST_VARS['event_image']), 'OSC_link' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['OSC_link'])), Quote Link to comment Share on other sites More sharing options...
Salvo Posted April 23, 2004 Share Posted April 23, 2004 Strange this ? does't add \\\\\ this ' does add \\\\\ why? it is imperative that I solve this problem because most titles are ie: St. George's Day becomes St. George////'s Day Quote Link to comment Share on other sites More sharing options...
Salvo Posted April 23, 2004 Share Posted April 23, 2004 amending the lines to include stripslashes() around line 61 of admin/events_manager.php seemed to do the trick if you need to do this. ie if you have Magic Quotes GPC turrned on: 'title' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['title'][$language_id])), ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?'description' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['description'][$language_id])), Hi all can anyone them me why it doesn't work for me? 'title' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['title'][$language_id])), 'description' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['description'][$language_id])), 'event_image' => tep_db_prepare_input($HTTP_POST_VARS['event_image']), 'OSC_link' => tep_db_prepare_input(stripslashes($HTTP_POST_VARS['OSC_link'])), OK, THIS IS NOT THE CORRECT ANSWER This is why it didn't work... the stripslashes should be place the the echo code .. ie: echo stripslashes($event_array['description']) Quote Link to comment Share on other sites More sharing options...
tammy507 Posted May 15, 2004 Share Posted May 15, 2004 Anyone know why the top of the calendar looks like this: Events Calendar ??? Three little boxes? http://www.discountcelebrityphoto.com thanks Tammy Quote Link to comment Share on other sites More sharing options...
Guest Posted June 16, 2004 Share Posted June 16, 2004 Anyone know why the top of the calendar looks like this: Events Calendar ??? Three little boxes? http://www.discountcelebrityphoto.com thanks Tammy I was wondering the same thing. I'm anything but a decent PHP coder but I did some investigating because not only did the three little boxes annoy me, but the grey in the iframe was an annoyance also since my page has a white background. Anyway, after some exploring I found if you edit calendar_content.php in /catalog the problems in there. You'll see the link and the three little annoying boxes you dislike so much, just clean it out. I personally didnt want the link at all. So i just killed the whole thing. Anymore help let me know. Also if you wanna change the color of the iframe just edit the #EDECE9 to a #FFFFFF for white, or whatever color you want. Sorry I'm not very good at explaining tech support but thats what you need to do to fix your problem. :ph34r: Quote Link to comment Share on other sites More sharing options...
indigo11 Posted July 10, 2004 Share Posted July 10, 2004 HI I'm trying to install "events calendar", but i get an error: Fatal error: Cannot instantiate non-existent class: calendar Why is that? THanks P.S. I'm using this version --> 7 Aug 2003 - Events calendar 2.0 MS2 Quote Link to comment Share on other sites More sharing options...
strictlypc Posted July 12, 2004 Share Posted July 12, 2004 Hi All, Anyone know why the top of the calendar looks like this: Events Calendar ??? Three little boxes? http://www.discountcelebrityphoto.com thanks Tammy Open catalog\calendar_content.php (Line 41) and change the following: FIND: echo '<tr><td height="22" class="main" align="left"> <a href="' . tep_href_link(FILENAME_EVENTS_CALENDAR, 'view=all_events') . '" title="'. BOX_CALENDAR_TITLE .'"target="_parent">'. HEADING_TITLE .' ??? </td></tr>'; REPLACE WITH: echo '<tr><td height="22" class="main" align="left"> <a href="' . tep_href_link(FILENAME_EVENTS_CALENDAR, 'view=all_events') . '" title="'. BOX_CALENDAR_TITLE .'"target="_parent">'. HEADING_TITLE .'</td></tr>'; Those little bars above are actually boxes, but this forum does not display them correctly. StrictlyPC Quote Link to comment Share on other sites More sharing options...
cerillion Posted December 13, 2004 Share Posted December 13, 2004 Hello all, Newbie here, successfully installed Event Calendar,and have added events and product tie-ins through admin page. However, back on catalog page, when I click on any dates with events in the calendar, and the event is displayed, the contents of my cart are emptied. Does anyone know what may be causing this? Quote Link to comment Share on other sites More sharing options...
Northwind Posted January 11, 2005 Share Posted January 11, 2005 I have seen a lot of posts on this contrib - and a lot of the ones about split page results was obvious to me - as I noticed it when uploading. Most likely you already have a page called split page results and it does the function this page is trying to also do - so there is no need to upload that page for the calendar at all. However, my problem is with the Manager in the Admin. My calendar works fine and looks okay on the site. However, when I click on Events Manager in the Admin area, i get a 500 Error. "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log." Anyone know about this? Quote Link to comment Share on other sites More sharing options...
Crags Posted January 20, 2005 Share Posted January 20, 2005 Hi guys, not sure if people are still looking at this or helping out, but I was wondering if anyone could halp me solve this problem. We have a client that runs holidays and tours, and I like the calendar idea and what not to help people to find dates easier for the breaks - BUT - is it possible to get the link straight from the calendar to the OSC link instead of going to an events page, then linking to the product. Basically, we already have all the tour information elsewhere on the site, and don't want to keep doubling up on info. By the time they get to the store element they already knoe everything, and simply need to book, so I'd like them to find dates via the calendar, click the link and be taken straight to the product page when they can read last minute info, then book the tour. Any ideas how to change the link in the calendar view, so it won't link to events_calendar.php but will instead simply link to the OSC product. Hope that makes sense. Thanks all. Quote Link to comment Share on other sites More sharing options...
mujina Posted January 20, 2005 Share Posted January 20, 2005 Hello! First of all congratulations to the author! :D I was wondering if someone found out how to dispaly months and date in an another language than english. If someone had any idea it would be great. Thanks a lot! Quote OSC2.2 Link to comment Share on other sites More sharing options...
mujina Posted January 21, 2005 Share Posted January 21, 2005 Sorry to post again but I realized that the URL link to products or categories in each event doesn't work as I've installed the [cName -pName] contribution! The link looks like: http://127.0.0.1/catalog/product_info.php?products_id=4 instead of : http://127.0.0.1/catalog/product_info.php?pName=unreal-tournament Does anyone uses both contribution out there? :'( Quote OSC2.2 Link to comment Share on other sites More sharing options...
Northwind Posted January 21, 2005 Share Posted January 21, 2005 Hello All, I got past the original error I was having - it was an idiotic oversight...I had not even uploaded a file..lol But now I guess I do have some legit problems I need help with. 1) I can not get Images to work at all. I have tried to "upload" one thru admin feature. The name of the image shows up in the db, but nothing shows up on the actual page when viewing. So then I went in and created a new event, and this time put in an absolute path to an image, including http:...and still get the same... 2) I don't have "manufacturers" for my site. All products are books, videos, etc. In the Admin tool, for new event, I select one of my categories of products to link to the event. The page re-loads. Sometimes products are loaded into the drop-down of products (but always listing each product like 5 times...) or I get the next bit of code to show up <!--- categ... and then thats it. Either way, when I do select a product that has loaded, it doesnt show up in the page view... 3) In Admin, clicking on Edit an event...only some of the page loads, and never shows insert, update, etc.... 4) I have also been toying with the code, etc. to produce on the page + admin tool + db, Start Time / End Time type of thing...It shows up properly in the admin tool, but not on the page...It may be the db field settings..I will toy with that a bit and let you know if I still come up empty. Please, if anyone has any advice, tips, solutions, answers or questions about the above....Let me know! :) Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.