Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Simple Community Site Possible?
Hi guys,
my objective is to create a fairly simple community site.
Site requirements are as follows:
• Account creation (login/password)
• Simple profile page (couple of input fields and photo upload)
• Event calendar —> registered users should be able to add/edit/delete events
• Search calendar events by ZIP code
• And an internal messaging system that allows registered users to contact or rsvp the host of the events
Is this at all possible in Textpattern not being a php wiz?
Does anybody have built something like this with textpattern or know of sites that did?
So far I gathered following plug-ins but am not sure if they will help me in this endeavor:
- Michael Manfre’s mem_self_register and mem_moderation plugins
- ign_password_protect
- jmc_event_manager
- mdp calendar
I have started to look into Drupal but it has somewhat of a steep learning curve and it will take me more time to get into it.
Any suggested very welcome!
Thanks all!
Dada
Offline
Re: Simple Community Site Possible?
I am working on something very similar right now and it has been rough to plan but really can be done using txp.
The photo upload part is my toughest thing right now. I am hoping to be able to have users fill out a form on the front-end (mem_moderation) and also upload a photo, which will then create the article automatically on the back-end and append that image to the article. Once I get this part all worked out, I think I have it licked from that point.
Offline
Re: Simple Community Site Possible?
Hi DigitalRealm,
I just went to your site (nice!) and saw the blog categories on the right. Did you use a plug-in for this? This is exactly what I would like to figure out: How to have category link expend on click.
Any advise appreciated!
Thanks!
Dada
Offline
Re: Simple Community Site Possible?
Yeah, I am using cbs_category_list for the categories output section of my blog and rss_suparchive for the archive part. Pretty straight forward to setup and works perfectly!
The actual accordion part is being done using MooTools to get the drop down effect. I would be happy to give you the code for it if you have trouble setting it up.
Last edited by DigitalRealm (2007-01-16 23:56:24)
Offline
Re: Simple Community Site Possible?
Thanks a million DigitalRealm! I will give it a try and take your generous offer if I can’t get it to work.
Dada
Offline
Re: Simple Community Site Possible?
DigitalRealm wrote:
Yeah, I am using cbs_category_list for the categories output section of my blog and rss_suparchive for the archive part. Pretty straight forward to setup and works perfectly!
The actual accordion part is being done using MooTools to get the drop down effect. I would be happy to give you the code for it if you have trouble setting it up.
Hi DigitalRealm,
my head hurts from looking at all these scripts (MooTools and script.aculo.us)…
So I really would appreciate some guidance here for the non-programmer ;-)
What I would like to accomplish is to have an ajax effect like yours with the menu sliding down on click.
I have cbs_category_list installed. Could I also use script.aculo.us for the effect? Their install instructions seem more straight forward to me than MooTools. But whatever you think.
Then once I have these scripts installed, how do I go about implementing them? I have absolutely no clue.
Thanks a million!
Dada
Offline
Re: Simple Community Site Possible?
Yeah, you can also use scriptaculous to get the same effect if you want to. If you choose to use MooTools, go to their download page and download the latest revision of the package (83 I believe). Get it here
Download the package according to what you need. Get the accordion, fxpack, fxtransitions. It will automatically append everything that you need to the download.
Here is my Javascript code that is running that effect:
At the top, I am using “display” and “stretcher”. These 2 divs are what is being driven by the script. “Display” is what gets clicked on initiate the effect (in this case my h2) and “stretcher” is the container div that stretches/contracts when clicked. Does that make sense?
Let me know if this makes a little more sense to you! Post any other questions that you have and I will do my best to help ya!
Cory
/*//create and activate the accordian element
myToggler = document.getElementsByClassName('display');
myStretcher = document.getElementsByClassName('stretcher');
myAccordion = new fx.Accordion(myToggler, myStretcher,
{
opacity: false,
start: 'all-closed',
transition: Fx.Transitions.quadOut,
alwaysHide: true,
});*/
window.onload = function() {
// Pick your classes
var myToggler = document.getElementsByClassName('display');
var myStretcher = document.getElementsByClassName('stretcher');
// Create the accordian
var myEffect = new fx.Accordion(myToggler, myStretcher, {start: 'all-closed',opacity: false, alwaysHide: true, wait: false});
}
Offline
Re: Simple Community Site Possible?
Hi Cory!
Thanks so very much for this! One question: where do you put the code that you posed? Sorry if this is a dumb question…In the head section?
Thanks again!
Dada
Last edited by dada78 (2007-01-17 18:04:01)
Offline
Re: Simple Community Site Possible?
dada, normally, you want to put it at the bottom of the page that you are using it on, right above the </body> tag.
However, I use a javascript plugin for txp to handle it all called stm_javascript. I then just inserted the tag for this plugin into my template page where I wanted it.
Offline
Re: Simple Community Site Possible?
Thank you, excellent!
Offline
Re: Simple Community Site Possible?
One more question:
Which scripts do I need to download from the MooTools site? They have many different ones listed.
Thanks!
Dada
Last edited by dada78 (2007-01-17 18:30:17)
Offline
Re: Simple Community Site Possible?
Dada,
go to the downloads page and select all of the plugins on the right under the plugins section. It will automatically include all of the necessary dependencies for you. Obviously, make sure you choose accordion.js as that is one you need most.
It will package all of this into one single .js file for you. Download it, upload to server. Just include that .js file at the top of your page (mootools.js), and then include the code I presented earlier on each page that you would like the accordion effect on.
Last edited by DigitalRealm (2007-01-17 19:09:05)
Offline