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

eventKey
Old 07-19-2012, 07:35 AM   #1
simmy
Calendar User
 
simmy is offline
Join Date: Jul 2011
Posts: 2
Default eventKey

In the epc_calendar table in my MySQL database is an eventKey field which is unpopulated could this field be used to tag for instance an asset_id for an event so that the event could be called from the Assets page as a planned maintenance event. If so how does one go about populating the eventKey field?
 

Old 07-19-2012, 08:26 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

The simple answer is no.

The longer answer is that custom fields is a feature that is being considered (worked on) for a future revision/version. Note that this does not mean that the field could be used in the way you're describing.

Alternatively, one way that you could tackle this without requiring anything custom would be to make use of the categories system.

Simply create a sub-category called "Asset", and populate the selections with all your assets. Then when creating an event, you'll be able to select the asset. Then from the asset page, you can use the $showCat variable to limit the display of events to only ones that have that asset selected. This will work well if you only assign a single asset per event.

In the case where multiple assets could be selected, then you would have to create a sub-category for each asset, and have a single selection for each. The selection could be "Yes" or "Reserved" or "Assigned", etc... Then from the asset page, you'd use the same technique as above.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-19-2012, 09:17 AM   #3
simmy
Calendar User
 
simmy is offline
Join Date: Jul 2011
Posts: 2
Default

thanks for the response - cant see how to create a sub-category - and with my existing assets numbering 1000's it would not be possible to enter them again as my database already has an assets register with each asset having a unique id and it would be a nightmare trying to sync two sets of asset id's. What i was looking for was to use epc as a scheduler for asset maintenance.

"Note that this does not mean that the field could be used in the way you're describing"

How would / could this field be populated?
 

Old 07-19-2012, 11:00 AM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I am not the developer, so I cannot speak to how a potential feature may be implemented. I have no knowledge of if, how, or when it will be released.

That was just my caveat.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-19-2012, 11:49 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

That field is for future use (when in the future, I'm not sure).

You can use it if you wish, just be sure to check the change logs to make sure we didn't start using it if you upgrade.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
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
eventKey field unused? valan General 1 07-18-2007 06:09 PM



All times are GMT -4. The time now is 07:41 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 |