• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Team/Staff Page Templates

Team/Staff Page Templates 1.0

No permission to download

Peggy

Well-known member
#44
I'm really glad you posted these text files for this. I'm really learning a lot about xf coding by seeing what you did. Thanks!

Edit: I see the screen shots, but do you have a link of these in action?
Here are most of the templates -

http://www.forum.onebuzymama.com/index.php?pages/staff_basic
http://www.forum.onebuzymama.com/index.php?pages/staff_boxes
http://www.forum.onebuzymama.com/index.php?pages/staff_columns
http://www.forum.onebuzymama.com/index.php?pages/staff_headers

Use your imagination!
 

Digital Doctor

Well-known member
#45
Because these staff pages are "Pages" would clicking on them invoke the Forums Tab ?
The behaviour is as it is here with the example page: http://xenforo.com/community/pages/example-page/
The breadcrumb in the case above is: Home > Forums > Tests and Examples
So the Pages have to invoke the Forums Tab.

So If I make a Tab called "Staff", I will be re-directed off the Staff Tab to the Forums Tab.
I would hope that future iterations of Pages won't cause this behaviour.
 

Brogan

XenForo moderator
Staff member
#46
I should point out that the avatar code can be replaced with the Xen template syntax as follows:

HTML:
<xen:avatar user="$user" size="m" />
or
HTML:
<img src="{xen:helper avatar, $user, m}" />
When I originally put these together I didn't have access to the code/files so wasn't aware of the template syntax.
 

Alluidh

Well-known member
#47
Great Work Brogan

Thank you so much for the examples. At this time we try out to build a page there the content is seperated from the menu. Do you have an example for this kind of page too? (like two colums, left for menu, right for content)

Kind regards
 

Brogan

XenForo moderator
Staff member
#48
The Pages can have automatic menus created if you check the List Sibling/Child Nodes.

Or you can create your own using standard HTML.
 

Alluidh

Well-known member
#49
Yes, this is the problem :)

If I use the default layout from XenForo like

HTML:
<div class="helpContent section sectionMain">
<div class="baseHtml messageText">
<p>Enter your text here</p>
</div>
</div>
the menu is part of the content. So I think I had to change the pagenode_container for seperating the menu from the content, right?
 

Alluidh

Well-known member
#54
If you want a page design just like this http://xenforo.com/community/thread...igation-and-content-in-separate-columns.4663/
do the following

Search template "pagenode_container"
Replace it with the complete text of the attachment
Finish

HTML:
<div id="pageNodeContent" class="sectionMain">
will give you the border

HTML:
<div id="pageNodeContent">
without border

If you like to get wonderful content please use the examples from Brogans first post.
 

Attachments

Brogan

XenForo moderator
Staff member
#55
A very nice template mod'.

And so simple too, just moving the pageNodeContent div to below the menu structure.
 

Brogan

XenForo moderator
Staff member
#59
There's nothing to explain really.
They're just basic templates for use with the Pages feature.

Just edit the code accordingly and paste it into a page node.

They were written way back during the first few Beta phases though so I'm not entirely sure how good the code is now.