Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Hidden information in the description
Old 01-08-2008, 02:12 PM   #1
JonF
Calendar User
 
JonF is offline
Join Date: Aug 2007
Posts: 7
Default Hidden information in the description

I'm setting up a calendar so people can easily see where my traveling users are. I've created a form they can fill in (pre-filled by looking up their IP in MaxMind) when they get to their destination, and created the PHP script to parse my fields into the appropriate database fields and update the database. So far so good.

Things change.

So I want my users to be able to edit any event in a form similar to or identical to the one in which they create events. Unfortunately, it's a pain to reverse-parse my form field values from the database. So what I'd like to do is store my form field values somewhere, and my first thought was to store them into the event description but make them invisible. So, for example for event ID 99 I added:

Code:
<a href='EditLocationEvent.php?ID=99'>Edit</a><span style="display:none;">~Value1~Value2~Value3~</span>
to the event's description, and I could then explode out the individual fields ... but the box that pops up when hovering over the event on the calendar doesn't honor the display:none style and displays the field values. (The bigger box resulting from clicking the "more..." link does honor the display:none).

So I'm a bit stuck. I suppose I could set up another table for my field values and store them there, with the same ID as the event, but that doesn't seem particularly elegant.

Any thoughts on how to accomplish this? Have I missed some grat idea?
 

Old 01-08-2008, 05:19 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

My guess is that because the description exceeds the character limit for the mouse-over popup. When HTML crosses over the limit, it gets stripped and displays only the text itself. The on-click popup doesn't restrict the description so your HTML would be left alone.

Try increasing the limit in the Setup Manager.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
URL in Event Description mrxmrx General Support 1 08-15-2007 06:40 PM
Categories in event description paulblac General Support 1 07-24-2007 07:11 PM
Append links to the description text? chada General Support 5 04-30-2007 04:31 PM



All times are GMT -4. The time now is 01:27 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |