Using some blocks on the index
Moderator: Dyo
Forum rules
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
Please note that this modification is not a official part of the Board3 Portal!
Bitte beachten das diese Modifikation kein offizieller Bestandteil des Board3 Portal ist!
Using some blocks on the index
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.megalk.com
What have you done before the problem was there?
Not a problem
What have you already tryed to solve the problem?
Description and Message
Hi there. Thanks for the great mod. I have a little question. Can I use the Recent block and
Latest global announcements blocks on the index page? Is it possible?
Thanks for your time
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://www.megalk.com
What have you done before the problem was there?
Not a problem
What have you already tryed to solve the problem?
Description and Message
Hi there. Thanks for the great mod. I have a little question. Can I use the Recent block and
Latest global announcements blocks on the index page? Is it possible?
Thanks for your time
-
- Site Admin
- Posts: 2989
- Joined: 7. January 2006 20:11
- phpBB.de User: Saint
- phpBB.com User: Saint_hh
- Location: Hamburg
- Contact:
Re: Using some blocks on the index
Better to ask here.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~
Kein Support per PN / No support via PM!
Kein Support per PN / No support via PM!
Re: Using some blocks on the index
What? I tried using in index_body.html but it didn't work. Look at my site now. I removed the right bar and it looks nice Still couldn't figure out how to add the shoutbox
Code: Select all
<!-- INCLUDE portal/block/recent.html -->
Re: Using some blocks on the index
Hi,
you also have to include the scripts to fill the *html-template with some live.
This is only for recent, for every other block only use the script-include from portal.php.
If you want it on index you can include it in index.php at board-root. I think the best place should be after the include for the portalview-includes.
Just try it, and post the result, I didn't test it.
It also shpould work to add it in portalview-includes, but it will include on every page, so it's not a goog idea to do so.
Regards
Dyo
you also have to include the scripts to fill the *html-template with some live.
Code: Select all
if ($portal_config['portal_recent'])
{
include($phpbb_root_path . 'portal/block/recent.'.$phpEx);
}
If you want it on index you can include it in index.php at board-root. I think the best place should be after the include for the portalview-includes.
Just try it, and post the result, I didn't test it.
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
It also shpould work to add it in portalview-includes, but it will include on every page, so it's not a goog idea to do so.
Regards
Dyo
Es gibt so viele schlaue Signaturtexte, nur mir fällt grade nix vernünftiges ein.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Re: Using some blocks on the index
I didn't get it. Can you explain what to do step by step?
Thnaks
Thnaks
Re: Using some blocks on the index
I did in in my demoboard as an example for you, but its only done for prosilver.
Open: index.php
find:
after add:
open style/prosilver/template/index_body.html
find:
before add:
activate the recentblock in acp
Open: index.php
find:
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
Code: Select all
// this is added to use of recentblock in index
if ($portal_config['portal_recent'])
{
include($phpbb_root_path . 'portal/block/recent.'.$phpEx);
}
open style/prosilver/template/index_body.html
find:
Code: Select all
<!-- INCLUDE forumlist_body.html -->
Code: Select all
<!-- INCLUDE portal/block/recent.html -->
Es gibt so viele schlaue Signaturtexte, nur mir fällt grade nix vernünftiges ein.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Re: Using some blocks on the index
I screwed up adding the mod mod_portalview and now I'm tring to fix it, I'll post a secreenshot later. I wont give up cuz this is the best
Re: Using some blocks on the index
Because I don't need the bar on the right hand side I didnt do the overall footer edits. As far as I know I have done everything correctly but the site looks like this
Re: Using some blocks on the index
well, to do this, you also have to edit the footer cause of the endinmg tags of the tables.
So do the normal edits on the overall_footer.html and than remove everything between:
and
So do the normal edits on the overall_footer.html and than remove everything between:
Code: Select all
<!-- [+] right block area -->
Code: Select all
<!-- [-] right block area -->
Es gibt so viele schlaue Signaturtexte, nur mir fällt grade nix vernünftiges ein.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Re: Using some blocks on the index
Sorry for being late to reply, Im supposed to study cuz my exam is on Sunday, I did as you said but there is still things wrong, I'm using the 3.0.4 and I couldn't find what is causing these problems,
1st thing, some fonts are too large
2nd, No footer in the portal, simply, the end of the page looks like this,
3rd Blocks are not aligned properly on the login page
1st thing, some fonts are too large
2nd, No footer in the portal, simply, the end of the page looks like this,
3rd Blocks are not aligned properly on the login page
Re: Using some blocks on the index
Could you please add a user for me to your forum and send me the username and password?
I'de like to have a look at the html-sourcecode.
I'de like to have a look at the html-sourcecode.
Es gibt so viele schlaue Signaturtexte, nur mir fällt grade nix vernünftiges ein.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
Da sieht man mal für wie wichtig ich eine Signatur halte, Fliegendreck auf dem Monitor ist wichtiger für mich.
In welcher Hinsicht überlasse ich der Phantasie des Lesers.
-
- Active Member
- Posts: 5
- Joined: 5. December 2010 07:54
- phpBB.de User: vova_ob
- phpBB.com User: vova_ob
- Contact:
Re: Using some blocks on the index
Hello,
I want make index page with recent block.
My style is subsilver type
But your method, is not work:
Give correct instruction for intagration resent block in index page.
Thank you
I want make index page with recent block.
My style is subsilver type
But your method, is not work:
Help me!!Open: index.php
find:
Code: Select all
// Add for Portalview of complete Board
include($phpbb_root_path . 'portal/includes/portalview.' . $phpEx);
after add:
Code: Select all
// this is added to use of recentblock in index
if ($portal_config['portal_recent'])
{
include($phpbb_root_path . 'portal/block/recent.'.$phpEx);
}
open style/prosilver/template/index_body.html
find:
Code: Select all
<!-- INCLUDE forumlist_body.html -->
before add:
Code: Select all
<!-- INCLUDE portal/block/recent.html -->
Give correct instruction for intagration resent block in index page.
Thank you
-
- Portal Professional
- Posts: 1959
- Joined: 19. April 2009 21:34
- phpBB.de User: archivar
- phpBB.com User: archivar
- Location: Deutschland
Re: Using some blocks on the index
Hi vova_ob,
For the subsilver2 You must still be done here:
open style/subsilver2/template/index_body.html
find:
before add:
For the subsilver2 You must still be done here:
open style/subsilver2/template/index_body.html
find:
Code: Select all
<!-- INCLUDE forumlist_body.html -->
Code: Select all
<!-- INCLUDE portal/block/recent.html -->
V.G. archivar
sorry for my bad english
sorry for my bad english