SimplePortal

Support => English Support => Topic started by: Emperorxing on January 12, 2012, 09:31:05 PM

Title: Need help with Pages?
Post by: Emperorxing on January 12, 2012, 09:31:05 PM
Hello guys,

How to create what Im, about to show you is?

The instructions on how to see it (its on another forum): Go to darkhavenmc.org > Home > Look in the top left corner where there is a Block that says "Navigation"

How do I get this?

Thanks,
EmperorXing
Title: Re: Need help with Pages?
Post by: Old Fossil on January 12, 2012, 09:40:15 PM
To clean up a few loose ends I have already stated (on sm.org) the OP is looking at the portals pages.

What the OP requires is an html block for the links to the pages plus a page.

I have also stated that some html knowledge is also required.




As the time for me is 2:39am I am now off to bed. 
Title: Re: Need help with Pages?
Post by: Emperorxing on January 12, 2012, 09:54:02 PM
To clean up a few loose ends I have already stated (on sm.org) the OP is looking at the portals pages.

What the OP requires is an html block for the links to the pages plus a page.

I have also stated that some html knowledge is also required.

That was you..?




As the time for me is 2:39am I am now off to bed.
Title: Re: Need help with Pages?
Post by: Chen Zhen on January 12, 2012, 10:37:42 PM

Simple Portal already has a prefab staff block but I gather from the SMF.org thread that you want a customized one?
I think Brack (a.k.a. Old Fossil, BigEars, thingamaBob, etc.) is advising you to use some html to display your staff members.

If you want to enter all the staff names manually, his advise will work just fine.

If you want it to read your db for staff members, you need to create a php block using mysql to query the needed data and then echo the html containing that data.
ie. span tags containing specific style attributes to display it in various colors, centered, font size, font style, etc. as your example is written.
Title: Re: Need help with Pages?
Post by: deansmar on January 13, 2012, 07:50:17 AM
i suppose you mean something like this link.. top left under "Info Seiten"

http://www.dm-blankenheim.de/ (http://www.dm-blankenheim.de/)

this is all simple HTML programming;
1. within SimplePortal click on Blocks > Add Block > select Custom HTML
2. use HTML codes to create your list of Links

for example:
Code: [Select]
<ul>
<li>
<a href="Link to a website in a newwindow"target=newwindow> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><A HREF=?action=ActionName> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><a href="Link to a website in a newwindow"target=newwindow> Name to appear in the list</a></li>
<li></li>
</ul>

hope this helps a little.. and i also hope i have understood what you would like to achieve
Title: Re: Need help with Pages?
Post by: Emperorxing on January 14, 2012, 12:02:47 AM

Simple Portal already has a prefab staff block but I gather from the SMF.org thread that you want a customized one?
I think Brack (a.k.a. Old Fossil, BigEars, thingamaBob, etc.) is advising you to use some html to display your staff members.

If you want to enter all the staff names manually, his advise will work just fine.

If you want it to read your db for staff members, you need to create a php block using mysql to query the needed data and then echo the html containing that data.
ie. span tags containing specific style attributes to display it in various colors, centered, font size, font style, etc. as your example is written.

Thanks for the help!
i suppose you mean something like this link.. top left under "Info Seiten"

http://www.dm-blankenheim.de/ (http://www.dm-blankenheim.de/)

this is all simple HTML programming;
1. within SimplePortal click on Blocks > Add Block > select Custom HTML
2. use HTML codes to create your list of Links

for example:
Code: [Select]
<ul>
<li>
<a href="Link to a website in a newwindow"target=newwindow> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><A HREF=?action=ActionName> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><A HREF=?page=PageName> Name to appear in the list</a></li>
<li><a href="Link to a website in a newwindow"target=newwindow> Name to appear in the list</a></li>
<li></li>
</ul>

hope this helps a little.. and i also hope i have understood what you would like to achieve

thanks too! This helped a LOT.

Check out my  new page :D

http://mlgcraft.net/index.php?page=page4538
Title: Re: Need help with Pages?
Post by: AngelinaBelle on January 25, 2012, 03:07:31 PM
Congratulations!  I hope you won't mind that I've hit the "Topic Solved" button.
SimplePortal 2.3.8 © 2008-2024, SimplePortal