Page 1 of 1

A few questions....

Posted: 22. February 2008 18:33
by Jak01
Hi,
I have installed the portal no prob so far but just want to know a few questions if i can please?

1.Can you rearange blocks? (e.g put donation block to the top..)

2.How would you add an link like " arcade.php " to the top left menu block.

3.How can i add custom blocks?

4. How do i get the portal link in the top left of the forum?

Thanks and i hope you can help me with this exellent portal :)

Jak01 Admin of http://www.jak01.com

Re: A few questions....

Posted: 22. February 2008 19:23
by wolferey
Jak01 wrote:1.Can you rearange blocks? (e.g put donation block to the top..)
Go to yourforum/styles/yourstyle/template/portal/ folder and find the portal_body.html file. Open it in a text-editor (notepad, context, crimson editor etc.), and re-arrange it to whatever you'd like it to be. In the case of donation, you'd simply have to search for "donation", then copy the entire thing with <!-- IF S_DISPLAY_PAY_S --> and <!-- ENDIF --> too, and move it above <!-- IF S_DISPLAY_USERMENU --> to be on top in the right collumn.. Or you can put it in another collumn entirely.
Jak01 wrote:2.How would you add an link like " arcade.php " to the top left menu block.
Open yourforum/styles/yourstyle/template/portal/block/main_menu.html and find a place to add your link.
Jak01 wrote:3.How can i add custom blocks?
Adding custom blocks is a little harder. My best suggestion is to take a look at the html files in yourforum/styles/yourstyle/template/portal/block/ and the php files in yourforum/portal/block and see how the developers have done it, or make a request (in addons forum? not sure) and hope someone else is kind enough to help you develope a block.

Not sure about how to do your 4th question, but I hope these helps atleast =)

Re: A few questions....

Posted: 22. February 2008 19:56
by Kevin
Jak01 wrote:4. How do i get the portal link in the top left of the forum?
What do you mean? The link to the portal in the menu - beside the index link?

Re: A few questions....

Posted: 22. February 2008 23:43
by Jak01
thank you for the quick responses !. and i sorted the 4th question myself .
Just one more question what code would you put in the main_menu.html to add the text "Arcade" that links to jak01.com/phpBB3/arcade.php please?
thanks
Jak01

Re: A few questions....

Posted: 23. February 2008 00:19
by Kevin
Quick & dirty:

Code: Select all

    <li><a href="arcade.php">Arcade</a></li>

Re: A few questions....

Posted: 23. February 2008 09:17
by Jak01
wicked, thank you again!
Jak01