TinyPortal

Development => Support => Topic started by: jernatety on August 18, 2020, 12:25:45 PM

Title: Copy HTML Article Question
Post by: jernatety on August 18, 2020, 12:25:45 PM
Is there a way to one step copy an article to create multiple articles within a category with the same formatting?

As it stands, what I do is click to edit an article copy the contents, click "HTML" and paste but I was wondering if there's a way to condense the process to make it faster?

Thank you in advance
Title: Re: Copy HTML Article Question
Post by: @rjen on August 18, 2020, 04:48:35 PM
Nope
Title: Re: Copy HTML Article Question
Post by: tino on August 18, 2020, 07:08:04 PM
You can with database access. But other than that no there isn't.

I also think it's quite a niche request. If they are all similar then copying it once in to a text file then using that as the basis makes more sense to me? Although I personally prefer unique articles on a site.
Title: Re: Copy HTML Article Question
Post by: Ken. on August 22, 2020, 06:42:56 PM
On my SMF/TP website the TinyPortal article system has seen extensive use, including using several articles to make up a series, as can be seen in This Series (https://www.ourfamilyforum.org/FamilyForum/index.php?page=248). Over the years I've also worked on the TP Docs site some and the process that has worked best for me is this; build a basic template that only contains the base HTML, or other coding to be used. This template will not have any of the content, just the codes. Next, to build a page, a copy is made of the template and then I start adding any content.

As the article build goes along it's easy to use, adjust, add-to or remove any of the codes.
The WYSIWYG editor is handy also and makes coding as you go very easy.

... BTW, the article series mentioned has no been completed at this point.
Title: Re: Copy HTML Article Question
Post by: lurkalot on August 22, 2020, 07:28:16 PM
I had to make a few a while back, Once I had the content layout sorted I used that as a template which was sitting in Notepad++ and only copied from that template for each each one. 

The part I found more frustrating than the actual content was the visual settings etc for each one, constantly going through all the settings to get them the same.  It has been known for me to open one article in a browser tab to copy the settings from and apply them to the new article in another tab. This can of course result in editing and saving those changes to the wrong article, rapidly followed by some rather choice language but I blame my age for that.  ::)