This page will attempt to explain how to create portal pages using the KISS Portal system
This page is an example of a portal page.... (IntegraMOD/portal.php?page=pages)
A portal page is a page that contains html code (It can be basic html or even an existing block) to create another page...
The page is normally wrapped with the normal header and footer but it doesn't have to be...
You can also include blocks, again you don't have to if you don't need them...
To control the display of blockes on your page, go to acp/portal/Manage phpBB pages
At the bottom of the page, choose your portal pagle from the "dropdown" list. Now you can edit or add blocks and choose to display them on your new page, or not.
The basic operation is as follows:
In order to know what page to load portal.php?page=name
we must put the information in _portal_common/template/wrapper.html
The wrapper.html must have an entry for portal pages...
So to begin we need to edit the wrapper.html and add the code below...
From the code above we can see that if page = video, we include wrappers/video.html file...
The video.html is simply a copy of the block_youtube.html in _portal_common/template/blocks folder...
The only remaining step is to add a link to the page (portal.php?page=video)... add the link anywhere you like...
If we are not using a block but have some html, we simply follow the same steps but this time we might add:
to template/wrapper.html file and then add new_page.html to the template/wrappers folder...
|