TinyPortal

Development => Support => Topic started by: ricland on October 21, 2011, 01:16:48 PM

Title: Examples of what can be done with PHP
Post by: ricland on October 21, 2011, 01:16:48 PM
Let's see example code for the php block and html block

Has a twitter solution be invented yet?

I've tried all the portals and this is the most clever by far.

Title: Re: Examples of what can be done with PHP
Post by: lurkalot on October 21, 2011, 05:40:58 PM
Quote from: ricland on October 21, 2011, 01:16:48 PM

Let's see example code for the php block and html block


Maybe take a look in the showcase boards.  I'm also using various blocks on my site, ;)

Quote from: ricland on October 21, 2011, 01:16:48 PM

Has a twitter solution be invented yet?


You can add widget codes etc directly into blocks as required, or code your own.;)

Quote from: ricland on October 21, 2011, 01:16:48 PM

I've tried all the portals and this is the most clever by far.


Thanks for the feedback,  O0


Title: Re: Examples of what can be done with PHP
Post by: ricland on October 21, 2011, 07:26:18 PM
Thanks, but what I meant was actual examples of code I could put in the php box.

I don't know php.

Is there a collection of code others have used somewhere?

And if possible, I'd like some specific instruction on how to get a twitter block going on my site.

With code included, please.
Title: Re: Examples of what can be done with PHP
Post by: WillyP on October 21, 2011, 08:44:38 PM
Yes there is a repository of block codes, check here: Older Block Code Snippets Index (http://www.tinyportal.net/index.php?topic=4983.0)
Title: Re: Examples of what can be done with PHP
Post by: lurkalot on October 23, 2011, 11:10:35 PM
Quote from: ricland on October 21, 2011, 07:26:18 PM
Thanks, but what I meant was actual examples of code I could put in the php box.

I don't know php.

Is there a collection of code others have used somewhere?

And if possible, I'd like some specific instruction on how to get a twitter block going on my site.

With code included, please.

Sorry, that'll teach me to read your post properly, and not just the thread title.  :-[

Twitter block you say.  Well you can dump any of the widget codes from twitter straight into a HTML / Javascript block, and activate it.  I have one running on my home page, near the bottom.  Same goes for the follow me buttons etc, they will work the same way.