Can CMSMS do what I want?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cybercomp
Forum Members
Forum Members
Posts: 17
Joined: Wed Jun 11, 2008 2:40 pm

Can CMSMS do what I want?

Post by cybercomp »

Hi

I have installed CMSMS and setup a prototype web site for a client.

Let me say up front that this is a GREAT system, I have played with a couple of others and just got so confused trying to get a basic site happening..  Congratulations to the development team!  For each client I charge to create a web site based on this I will be making a donation to CMSMS to keep the good work going....

Now, the tricky bit...  trying to get up to speed with all the capabilities as quickly as possible I am hoping some people can shed some light for me..

the prototype site I setup was well received and it should be going ahead, the 2nd part of the project is to create a members only area, functionality required in there is as follows:

1. Notice board / calendar for upcoming events - to be updated by nominated administrators.  possibly with the ability to automatically send out emails to all registered users based on the reminder time set for the event.

2. Member directory, information recorded is to be persons name, company they work for, type of law they practice (site is for lawyers), email address, web site.  Companies would be a separate list as there will be several people from the same company.

3. The main function of the members only area is to share documents.  There are about 20 different categories and certain users are to have rights to upload new / update documents on the system.  Before becoming available to other members they are to be approved by the administrator.


That's it in a nut shell.  If it is beyond the scope of currently available modules and add-ons then happy to look at having someone write code for it.

Thanks
Nathan
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Can CMSMS do what I want?

Post by calguy1000 »

I'd say CMS and the addon modules are 'mostly there' for what you want to do.

1.  FrontEndUsers / SelfRegistration / CustomContent
    These three modules work together to provide a registration system, login panel, and to
    be able to display different content to different people.... even on the same page.

    Users can have numerous properties, including pictures, descriptions, etc.

2.  FEUListing
    This module works with the modules above to display a catalog of users... I'm not sure how well this module works
    though, so you'll have to try it out.... it may need some tweaking

3.  CompanyDirectory
    Provides a directory of 'companies'

4.  Uploads
    This module allows frontend users to upload files into preset categories, notifies administrators via email
    and allows descriptions, and thumbnails, etc. to be associated with the file.
    FrontEndUsers can then view a list of files in certainc ategories, and download the file.

    This module is a little rough around the edges (but not much)... and could be made much more flexible given
    time.

If you try out these modules, and there's functionality missing that you need, consider talking to the author of the module and sponsoring some c hanges.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
cybercomp
Forum Members
Forum Members
Posts: 17
Joined: Wed Jun 11, 2008 2:40 pm

Re: Can CMSMS do what I want?

Post by cybercomp »

thanks for that.  I will look into this after I get some sleep (1.10am here)

Regards
Nathan
cybercomp
Forum Members
Forum Members
Posts: 17
Joined: Wed Jun 11, 2008 2:40 pm

Re: Can CMSMS do what I want?

Post by cybercomp »

been testing some of these and it looks good.  custom content was working and then stopped.  I am not sure if it was the FEUListing that broke it but basically if you view the "private" page now you can see both sets of text regardless of if you are logged in or not.

this is the code on the page

{cms_module module=CustomContent}


This content is only available to logged in Lawyers

You need to login to view this content


Have I missed something simple????  ???

Thanks
Nathan
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Can CMSMS do what I want?

Post by jmcgin51 »

you're using the "old" CC syntax.  Try this instead:

--
{cms_module module=CustomContent}

{if $customcontent_memberof_lawyer}
This content is only available to logged in Lawyers
{else}
You need to login to view this content
{/if}
--

See the Custom Content "Help" page in your CMSMS install for more information and available variables.
cybercomp
Forum Members
Forum Members
Posts: 17
Joined: Wed Jun 11, 2008 2:40 pm

Re: Can CMSMS do what I want?

Post by cybercomp »

thanks, still getting the hang of this.....
cybercomp
Forum Members
Forum Members
Posts: 17
Joined: Wed Jun 11, 2008 2:40 pm

Re: Can CMSMS do what I want?

Post by cybercomp »

this is now pretty weird.  I made the change to the new code and then it worked..  the first time...  then refresh the page and it thinks I am not logged in.

if I bring up the admin console, edit the page, make no changes and press apply then I refresh the "front end" screen and I get the logged in message, refresh again and get the logged out message.  go and re-apply the page and it works again and around it goes.... ??? ??? ??? ???
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Can CMSMS do what I want?

Post by calguy1000 »

as it says in the help, the page with customcontent on it cannot be cachable.

turn the 'cachable' flag off in the options tab when editing the page.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Pierre M.

Re: Can CMSMS do what I want?

Post by Pierre M. »

BTW, what is the current, "not old" syntax ?
Is it

Code: Select all

{cms_module module=CustomContent}
{if $customcontent_memberof_lawyer}
or

Code: Select all

{if $ccuser->loggedin() && $ccuser->memberof('lawyer')}
?

Pierre
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Can CMSMS do what I want?

Post by jmcgin51 »

Pierre - I think either of the syntaxes you quoted are considered "current".  The syntax that uses brackets is the old syntax.  Calguy can probably tell us what the difference is, and why we should use the current/new syntax.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Can CMSMS do what I want?

Post by calguy1000 »

yes, the smarty syntax stuff is 'current' and 'supported'... the html comment style stuff is not.

and you 'still' have to make sure that pages using customcontent are not cachable... because I don't know how you can cache content that might be different for each request.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”