We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38219
    • 1 Posts
    Hi,
    I would like to create a template for detailed news. I would like to follow a link has moved to new pages. At the moment it takes me to the main template
      • 36404
      • 307 Posts
      hi,

      i must say i do not exactly understand where the problem is... but well, let's try

      the first thing to know is how you've build your new's sum up page, ditto ?
      if yes, you probably have a main news page, it's template and a ditto call using chunk(s) to aggregate your news titles, dates, summary and so on
      you should also have as many children pages as you have news, if yes, the only thing is to write a template for those pages, use it and make a link to those pages from the main one using each new ressource id !

      if it's not a main page, a ditto call and chidren pages for each news, it may be a main page, a snippet retreiving your news summaries in a table
      if yes, just retreive each news id to, create a ressource for the whole news having its own template, link to this page from each news summary adding its id as an url param and write a snippet that will retreive it content (may be using a chunk to be able to design it nicely) and it's done

      have swing
        réfléchir avant d'agir