Register - Login

New block with PHP

New block with PHP

Postby Honk on Wed Jun 02, 2010 1:36 pm

Having some trouble putting in a new block, I've followed the steps to install it properly so it now appears in the ACP, and can be turned on and off but it only ever includes it to the top left hand corner of the screen and I'm unsure as to how to control it. the stylings for the file are already in the PHP so I'm unsure as to what to put into the template to keep it in with the current style (Ie where I actually want it on the page rather then stuck to the top left corner).

the PHP is just an RSS feed from twitter which updates automatically can link to the site if needed..
Honk
 
Posts: 5
Joined: Tue Jun 01, 2010 7:02 pm

Re: New block with PHP

Postby

GameFreak
on Wed Jun 02, 2010 2:06 pm

Where did you find that tutorial? Can we have the link?
- Vincent
Need tips about being/becoming a Moderator? Feel free to check TheModForum.com out!
GameFreak

Administrator

User avatar
 
Posts: 106
Joined: Wed Nov 04, 2009 6:25 pm
Location: Belgium

Re: New block with PHP

Postby Honk on Wed Jun 02, 2010 2:22 pm

The tutorial to add the new block to the portal was on these forums but I can't seem to find the topic, the RSS-twitter feed php can be found here

http://workbench.cadenhead.org/twitter-rss-to-html/twitter-rss-to-html.php.txt
Honk
 
Posts: 5
Joined: Tue Jun 01, 2010 7:02 pm

Re: New block with PHP

Postby

GameFreak
on Wed Jun 02, 2010 7:55 pm

I do need the tutorial :/
- Vincent
Need tips about being/becoming a Moderator? Feel free to check TheModForum.com out!
GameFreak

Administrator

User avatar
 
Posts: 106
Joined: Wed Nov 04, 2009 6:25 pm
Location: Belgium

Re: New block with PHP

Postby Honk on Wed Jun 02, 2010 8:40 pm

twas in the Development section not support..

http://www.phpbb3portal.com/viewtopic.php?f=45&t=6278

just used it again to make a second version of news and that's worked perfectly..
Honk
 
Posts: 5
Joined: Tue Jun 01, 2010 7:02 pm

Re: New block with PHP

Postby Honk on Wed Jun 02, 2010 8:42 pm

I mean if theres an easier way to get that PHP code onto the front page of the portal, do tell..as that's all I want if I can avoid having to add modules and shit I will.
Honk
 
Posts: 5
Joined: Tue Jun 01, 2010 7:02 pm

Re: New block with PHP

Postby Honk on Tue Jun 08, 2010 1:08 am

No ideas on this? I mean I can just override another block's php with this code but then still can't style it as I have no idea what is needed for the template, my knowledge on php is somewhat limited..
Honk
 
Posts: 5
Joined: Tue Jun 01, 2010 7:02 pm


Return to [1.2.x] Support & Help



Who is online

Users browsing this forum:

Yahoo [Bot]

cron