SimplePortal

Support => English Support => Topic started by: Skhilled on December 27, 2014, 09:51:16 PM

Title: TP to SP Help
Post by: Skhilled on December 27, 2014, 09:51:16 PM
I'm a long time user of Tinyportal and wish to switch to Simple Portal. I currently have a lot of articles that are assigned to categories and are named and listed in blocks according to those categories. Please see the left side blocks:

hxxp://docskillz.com

Is it possible to list Pages according to the categories they are in and list them in blocks?
Title: Re: TP to SP Help
Post by: Chen Zhen on December 27, 2014, 10:38:20 PM
Skhilled,

Those appear to be just links to existing pages. Imo all you need to do is create HTML blocks with the appropraite titles and HTML.

ie. for the block titled: SMF 2.0.X the html would be:
Code: [Select]
<div class="centertext"><b><a href="http://www.docskillz.com/docs/index.php?page=39">Upgrading to or already upgraded from SMF 1.1.x to 2.0.x</a></b> <br><b><a href="http://www.docskillz.com/docs/index.php?page=13">Creating A SMF Test Forum</a></b> <br><b><a href="http://www.docskillz.com/docs/index.php?page=38">Upgrading Your Database</a></b> <br><b><a href="http://www.docskillz.com/docs/index.php?page=54">How To Emulate An Outdated Mod</a></b> <br><b><a href="http://www.docskillz.com/docs/index.php?page=55">Moving A Forum To A Different Subdirectory</a></b> <br><b><a href="http://www.docskillz.com/docs/index.php?page=84">SMF Conversions - To and From Various Forums</a></b> <br></div>
(this is assuming you created these pages within SP with the same page id/name)

The HTML for all those blocks can be copied to a text file on your computer from the source code of the page (locate and copy the appropriate container's HTML) and then when you have Simple Portal installed you just create HTML blocks where you want them, title them appropriately and copy/paste the necessary HTML into them.

There might be a SP-plugin made to facilitate this sort of thing, I will look and post a link here if I find it.
One that gives checkboxes for SimplePortal page links is what I think you are after.

Regards.
Title: Re: TP to SP Help
Post by: Chen Zhen on December 27, 2014, 11:18:46 PM
I wrote this a while back:
http://simpleportal.net/index.php?topic=11234.0

Although it is just a PHP block that requires you to add images and links.
It's designed to have 2 images per button so that it changes when one hovers over them (ie. change color of the same button).
It's not precisely what you asked for and I could not find a plugin that someone has made to do this.
I will have to create something to that effect but in the mean time you will have to do as previously instructed if you require this immediately.
Unless of course I have overlooked something posted in the boards here at SimplePortal whereas you can always have a look.
Title: Re: TP to SP Help
Post by: Skhilled on December 28, 2014, 02:19:31 AM
Thanks. I assumed I could just create an HTML block and add links but was hoping for an easier solution...although it is not that hard to do. I've give both options a shot. :)
Title: Re: TP to SP Help
Post by: Skhilled on December 30, 2014, 12:44:56 PM
Everything worked out well, so far. Thanks again. :)
Title: Re: TP to SP Help
Post by: Chen Zhen on January 01, 2015, 10:53:51 PM
Skhilled,

  Actually I must apologize as you can do this via Admin -> SimplePortal -> Articles.
You add an article category with an image of choice then add articles to it (2 - 3 step process).
Afterwards you create an articles block using the article of choice.

The only difference I see is that the css for it is centered whereas your old blocks aligned that to the left.
To change that you just enter the following within the Custom Body Style text input field whilst editing a block:
Code: [Select]
position: relative;padding-right:100%; word-wrap: break-word;overflow-x:hidden;
Title: Re: TP to SP Help
Post by: Skhilled on January 03, 2015, 04:58:45 PM
No problem. :)

Personally, I think Pages will work better for me.
Title: Re: TP to SP Help
Post by: Chen Zhen on January 03, 2015, 07:49:11 PM
Yes I forgot you have those directed to Simple Portal pages whereas the articles interface would need to be modified to include those.
Also each article includes the author name with no option to disable that display.
Imo some decent options for a possible plug-in as we discussed on your forum.
It looks as though using the HTML blocks was the way to go for now although they are static and require editing if you change any pages or boards.

Title: Re: TP to SP Help
Post by: Skhilled on January 04, 2015, 02:27:14 PM
I think it was easiest to make pages and them add thier links in a HTML block. This way I can order them to my liking. And pages seem more flexible than articles, imo.
SimplePortal 2.3.8 © 2008-2024, SimplePortal