Skip to main content
Participating Frequently
April 17, 2020
Question

Replacing articles and cutting list in Dreamweaver

  • April 17, 2020
  • 1 reply
  • 521 views

Hi,

 

Dear experts,

 

Thanks for your good assistance with previus issue. I have another questions. This time with coding. 

 

1. I wonder how articles, in my case news articles are replaced with newer ones in website developed via DW with archiving previous ones? I mean archiving without losing access to them in webpage
 
2. How to close a list of items, so that when adding another heading, last one disappears in a particular part of html page, but without losing accessibility to them?
 
Please see the screenshot below for better understanding the questions.
 
Best regards
 
 
 
 
 
 
    This topic has been closed for replies.

    1 reply

    Legend
    April 17, 2020

    Its not exactly clear what it is you are trying to do BUT a normal workflow for presenting 'News Articles' is to use pagination ie - <  1 | 2 | 3 | 4 | 5 | 6  > etc

     

    The current 'News Articles' would be on page 1 and the older ones would be 'archived (accessible)' on pages 2 - 6 etc.

     

    You could do that manually - a real pain to manage or you could store all your news articles in a database and automate the process.

    Participating Frequently
    April 17, 2020

    Hi,

    Thank you for your response. I just simply wush to learn how to upload news to the webpage I have developed like all other news sites. But I am not sure about replacing process. Pagination term might give an idea. But it is still unclear to me what exact coding or ways to use to upload new articles with understading what will happen to previous ones. To me it seems a different procedure than just simply creating other pages, i.e. paginations.

    Nancy OShea
    Community Expert
    Community Expert
    April 17, 2020

    Honestly, you cannot do this with a static HTML site.  You need a dynamic approach with databases and server-side and/or client-side code.  People will want to search your site's articles by title, author, date, subject and keywords. You can't do that with ordinary HTML.

     

    If you're not experienced with databases and server-side coding yet, one option is to re-build your site with WordPress and use a paid WP Theme.  Themes provide both appearance and site functionality.  See newspaper themes for WordPress below.

    https://www.competethemes.com/blog/wordpress-newspaper-themes/

     

    Nancy O'Shea— Product User & Community Expert