To use this website completely, it is necessary to store cookies on your computer.
 

Just Need a Simple Code

Started by Cool Chimp, 2010 November 05, 02:11:05

previous topic - next topic

0 Members and 0 Guests are viewing this topic.

Cool Chimp

2010 November 05, 02:11:05
Here's what I want to do... I want to basically use the Portal as a clean HTML slate. I don't want to use any 'Blocks' on the portal. I want to create my own totally custom homepage without blocks restricting my layout capabilities.

However... I need to display the 'User Block' on the homepage. I've searched the 'Block-in-block' code but am too much of a novice to use it. I just need to know the code to place the "User Block" inside of the "Front Page" (on the left side).

I appreciate any help! Thank you in advance!

feline

#1
2010 November 05, 11:00:24
You can't use PortaMx blocks outside portamx .. all code is OOP and for this, portamx must be loaded.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Cool Chimp

#2
2010 November 06, 09:22:18
Quote from: feline ,  2010 November 05, 11:00:24
You can't use PortaMx blocks outside portamx .. all code is OOP and for this, portamx must be loaded.

Fel


I'm not sure what you mean. I'm not trying to use PortaMx blocks outside Portamx. I'm using PortaMx as my homepage but I want to create one big HTML "front page" section rather than having it filled with individual html, php, script blocks.

I want to use the "block-in-block" feature to put the "User Block" inside the front page block, if that makes sense.

feline

#3
2010 November 07, 04:04:33
The "BiB" functions are describe in the both samples I have made.
But .. for this you need a "special" php block, that can't be done with a html block.
So you need a "outer" php block .. in this you have to put the BiB blocks ..  User and html.

Fel
Many are stubborn in relation to the path, a few in relation to the target.