Page 1 of 1

CGCalendar frontend user adding events to limited category

Posted: Wed Jan 19, 2011 2:53 pm
by David_Geoffrey
Hi

I want to limit a front end user to only be able to add an event to their own category.

At the moment when they bring up the add event page all the categories are listed.

I optimistically tried

action='addedit_event' category='test'

but unfortunately it didn't work

Anyone got this to work for them?

Cheers
DG
I am nearly up to date I think 1.9.1 plus:-
CMSMailer
2.0
FCKeditorX
1.1.0
MenuManager
1.7.2
ModuleManager
1.4
News
2.11
nuSOAP
1.0.2
Search
1.6.7
ThemeManager
1.1.3
CGCalendar
1.5.6
FormBuilder
0.4.4
CGBlog
1.4
Uploads
1.3.0-beta3
HitCounter
1.0.4
FrontEndUsers
1.12.8
CustomContent
1.7.3
FileManager
1.0.3
Printing
1.1.1
TinyMCE
2.8.1
DewPlayer
0.2.1
Guestbook
1.1.12
Banners
2.3.3
Smileys
0.2.0
CGExtensions
1.22.2
CGSimpleSmarty
1.4
Captcha
0.4
Comments
1.9.2
Forum
0.9.2
AjaxMadeSimple
0.1.6
NFS
1.0
Polls
0.2.0
SelfRegistration
1.2.2
NMS
2.3.2
Thumbnails
0.1.1
SimpleSlider
0.2.1
JQueryTools
1.0.3
Album
0.9.3
Play
0.6.0
Gallery
1.4.1
Blogs
0.3.3.1
CGFeedback
1.1
avplayer
1.01
FeuCalendar
0.3

Re: CGCalendar frontend user adding events to limited catego

Posted: Fri Jan 21, 2011 3:51 pm
by David_Geoffrey
Hi

In the code on action.addedit_event, I have found this

Code: Select all

$force_category = $this->GetPreference('force_category',0);
Is this related? Can I use this to limit the category somehow?

Cheers
DG