TinyPortal

Development => Support => Topic started by: Herr Inoddorell on January 09, 2009, 03:38:12 AM

Title: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: Herr Inoddorell on January 09, 2009, 03:38:12 AM
I made this request here by mistake:

http://www.tinyportal.net/index.php/topic,700.msg220581.html#msg220581 (http://www.tinyportal.net/index.php/topic,700.msg220581.html#msg220581).

Well, what I wanted to do is to make something like this:

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg141.imageshack.us%2Fimg141%2F5803%2Fcalendarvx6.jpg&hash=f55703d6c6b00f7a323b72934695eb4bfef1c413)

I want to add a 'POST EVENT' button like you can see in the image example, at the end of the Block. But I don't how to do it :(, can someone tell me how to do it? Thanks in advance!

Cheers!  8).
Title: Re: How can I add a 'POST EVENT' button in the calendar block?
Post by: ZarPrime on January 09, 2009, 06:12:13 AM
If the code you posted in the other topic is what you are using find this ...

// Adds 'Post Event' button to bottom of block
$show_post_event_button = false; 


and change it to this ...

// Adds 'Post Event' button to bottom of block
$show_post_event_button = true; 


Let us know if this fixes it.

ZarPrime
Title: Re: How can I add a 'POST EVENT' button in the calendar block?
Post by: Herr Inoddorell on January 09, 2009, 08:34:53 AM
 :o OMG! That was so easy. I'm sorry in anyway. I'm kinda newbie. I'm still learning a lot of the PHP language issues. I am delighted that there are here so many people willing to lend a hand, even the most novice in the field. It is truly commendable.

It worked perfectly, and solved my problem. :up:

Thanks again! Cheers!  :)
Title: Re: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: ZarPrime on January 09, 2009, 02:10:10 PM
No problem.  Glad to help.

ZP
Title: Re: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: IchBin on January 09, 2009, 03:07:40 PM
when I read your question, I thought you were asking someone to write some code in the snippet so you could use it to post an event... lol Much more different than a button. :)
Title: Re: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: ZarPrime on January 09, 2009, 04:28:53 PM
Yeah, this should probably be moved somewhere else, maybe to Support or something.  Whatdaya think Ichbin?

ZP
Title: Re: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: IchBin on January 09, 2009, 04:36:16 PM
Yeah, thats fine. I'll move it there.
Title: Re: [SOLVED] How can I add a 'POST EVENT' button in the calendar block?
Post by: Herr Inoddorell on January 09, 2009, 06:24:47 PM
Quote from: IchBin™ on January 09, 2009, 03:07:40 PM
when I read your question, I thought you were asking someone to write some code in the snippet so you could use it to post an event... lol Much more different than a button. :)

Yeah that's right, because I thought that was the way to do that :p. Anyway, thank you very much.  This is truly an excellent support team. :up:

Cheers!