creating blocks

Support for IntegraMOD 140

Moderator: Integra Moderator

creating blocks

PostAuthor: goodgad » Fri Dec 15, 2006 1:20 pm

was just trying to create a block by "tweaking" an already made one - recent topics as its just what i need with a couple of alterations. but i cant find lang_recent_topics_block.php in blocks lang>your lang etc. and can somebody please refresh my memory as to how i set which forum to pull the info from when finished as ive completely forgotten how i configured it to begin with <img>
Last edited by goodgad on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

goodgad
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sat Oct 28, 2006 8:25 am
Cash on hand: 0.00

Re: creating blocks

PostAuthor: Whisky » Fri Dec 15, 2006 2:10 pm

Hi,

There's no language file for the "recent topics" block.
The PHP code for this block is in <portal>/blocks/blocks_imp_recent_topics.php
And the HTML template in <portal>/templates/<your>/blocks/recent_topics_block.tpl

I don't understand your other question
Last edited by Whisky on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 2:28 am
Cash on hand: 0.00
Location: Brussels

PostAuthor: IntegraMOD » Fri Dec 15, 2006 4:04 pm

Last edited by IntegraMOD on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Please do not PM for support
User avatar
IntegraMOD
Administrator
Administrator
 
Posts: 459
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 0.00
Bank: 100.00
Location: Seattle Wa

Re: creating blocks

PostAuthor: MWE_001 » Fri Dec 15, 2006 4:37 pm

Very good topic. I been looking and searching for ever for forums and how to's to create blocks. I dont understand how to make one call up info from the database. I need a few blocks made badly but dont have the know how I can handle html but anything sql or php just makes my head ache bad. <img>
Last edited by MWE_001 on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
MWE_001
Sr Integra Member
Sr Integra Member
 
Posts: 1265
Likes: 0 post
Liked in: 0 post
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 0.00
Location: Illinois

PostAuthor: goodgad » Sat Dec 16, 2006 10:17 am

no but ive just found the thread for creating multiple recent topics blocks with its own generator - just what i needed and so easy to use.
thx x
Last edited by goodgad on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

goodgad
Newbie
Newbie
 
Posts: 19
Likes: 0 post
Liked in: 0 post
Joined: Sat Oct 28, 2006 8:25 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Google [Bot], Helter, Vendethiel