PDA


View Full Version : own page content in middle column


Izze
03-21-2005, 11:21 AM
hi,

maybe i oversaw the answer in the forum, sorry for this.
i have a question:

i installed the portal and it runs very fine.
i have my three columns.
in the left colum i want a module with some custom links.
no problem at all.

now i want an internal link that will open own content in the middle column in an own box and the left and right column still shows up.
this new bow should contains own html code, maybe some screenshots of a game, rules for a guild, tips and tricks for software or whatever.

for now i am just able to permanently show a module and its content and i dont want this.

i hope this was not to complicated and you understand what i want.

Izze
03-23-2005, 09:59 AM
no one can give me a little hint ?

Brian
03-23-2005, 11:43 AM
I may be misunderstanding what you're trying to do here... It sounds like you just need to add a new page, put the content you want on that page into a template, use that template name for the 'Template to Include' option when adding the page, and then change your link to 'http://yoursite.com/index.php?page=your_page_identifier'.

Izze
03-23-2005, 11:59 AM
something like this.

but the content of this page should appear in the middle of the three columns of vbadvanced when i click the link in the left box.

left and right boxes should stay.
in the middle there should just be a box with the content of my own page.

when i understand you right is, that the new pagecontent opens in the whole window without any left or right boxes, right ?

we are talking about several own pages.
its not just one.
i played a bit with the "add page" tool of vbadvanced but thats not the final solution.

AlfonsoC
03-23-2005, 01:18 PM
You only need to follow some very simple steps, let's see step by step (I know, that isn't easy to figure how easy is to create until you see it in action).

Take this example:

http://www.fotoforum.info/?page=inicio

This is a template I've created with very simple HTML layout embedded on the template. This template has this name (you can put whatever... just need to reflect that name in other places to create the 'Custom Content Page') adv_cmps_inicio.

Go to vBa CMPS AdminCP >> Add page and insert this:

Page title: whatever you want, for example. Documentation home.
Page identifier: unique identifier, for my example 'inicio'
Page template: Remember the name of the template with plain HTML you created? Here is where you need to put them.

In modules enlabled, check the ones you want to show on the page along your page with the links. My example is very simple: The welcome block and 'Online users' at the left side of the page and the render of the template using the rest of the page (don't forget to check the 'Custom Page Content' module to show).

Specify what kind of usergroups will be able to access this page and adjust if needed the rest of options. Press the 'Save' button at the lower end of page and voila! you have your custom content page running... Having more is a question of creating the templates and generating the page following another time the steps I wrote. I'm putting some on the URL I've put, so you have some examples (by the moment... a TOS page and terse meaning of the reputations (or Karma) of vB.

Izze
03-24-2005, 10:15 AM
wow, thank you.

thats it.

seems that i misunderstood the manual with adding a new page.
i thought that this was just only for adding boxes to the forum.

THX a lot to you !

AlfonsoC
03-28-2005, 03:45 AM
Not a problem... Getting the concept of 'Custom Content' was kinda difficult to me too, but seeing an example opened mine eyes in a second.

rlischer
03-29-2005, 12:50 PM
You only need to follow some very simple steps, let's see step by step (I know, that isn't easy to figure how easy is to create until you see it in action).

Take this example:

http://www.fotoforum.info/?page=inicio

This is a template I've created with very simple HTML layout embedded on the template. This template has this name (you can put whatever... just need to reflect that name in other places to create the 'Custom Content Page') adv_cmps_inicio.

Go to vBa CMPS AdminCP >> Add page and insert this:

Page title: whatever you want, for example. Documentation home.
Page identifier: unique identifier, for my example 'inicio'
Page template: Remember the name of the template with plain HTML you created? Here is where you need to put them.

In modules enlabled, check the ones you want to show on the page along your page with the links. My example is very simple: The welcome block and 'Online users' at the left side of the page and the render of the template using the rest of the page (don't forget to check the 'Custom Page Content' module to show).

Specify what kind of usergroups will be able to access this page and adjust if needed the rest of options. Press the 'Save' button at the lower end of page and voila! you have your custom content page running... Having more is a question of creating the templates and generating the page following another time the steps I wrote. I'm putting some on the URL I've put, so you have some examples (by the moment... a TOS page and terse meaning of the reputations (or Karma) of vB.

I followed the above directions and was able to add a custom box in the center that says "test". How can I make this box have the same border and a title as the other boxes to the left and right?

Brian
03-29-2005, 01:00 PM
http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=5

Bottom of that page.

rlischer
03-29-2005, 01:12 PM
http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=5

Bottom of that page.

That worked like a charm. Thanks a ton!