Fork me on GitHub

Pagesetter error with template??  Bottom

  • Ok all I have pagsetter working now for the most part but for some reason I keep getting this error:

    You are trying to view the publication titled "test", but no template has been created for publication type 3 (format 'full').
    Please ask administrator to create a template for this publication type.

    I have gone to the Pagesetter admin and auto-generated a template of the full type and in the pntemplate dir I have the example PN-News-full.html yet when I try to view the publication I get the above error so I went into the template and took a look and this is what I have.

    Code

    Title: <!--[$title]--><br />
    Teaser: <!--[$teaser]--><br />
    Text: <!--[$text]--><br />
    Notes: <!--[$notes]--><br />
    Image: <img src="<!--[$image]-->"><br />

    <br />

    <!--[$core.printThis]--> | <!--[$core.sendThis]--> | Hits: $hitCount$ | $editThis$^M


    Now for me this looks kinda fubared because of the given carraige return there, but hey I am no expert. Can anyone shed some light on this matter and explain to me what could be going on, am I missing a step here??


    Thanks
    -SUNADMN
  • If your pub type name is "test" then either you need to name your template "test-full.html" or in the settings for the pub you need to define the proper base name for the template.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • mhalbrook

    If your pub type name is "test" then either you need to name your template "test-full.html" or in the settings for the pub you need to define the proper base name for the template.
    mhallbrook sorry I mistated that the title is actually PN-News, just like the example in the tutorial states to make it. Any idea what could be going on here??



    Thansk
    -SUNADMN
  • Also as far as any setting I am not sure what you mean as the publication itself has no entry for the template type.
  • Nevermind I found out exactly what the deal was, sorry to even bug you about this one.


    -SUNADMN
  • Always tell us what the problem was, incase someone else make the same oversite/mistake/problem in the future and finds this post.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Well according to the tutorial it would point you to call the template just "news" which in fact is incorrect you should create the template to match your type i.e. PN-News-full which is what you create later in the tut.

    On a side note though can you help me out with building a user form for input via Pagesetter?? I have read through the forum and noticed that many people point to this module instead of FormExpress ( which I can't get working with PN .750 ). The tutorial shows you how to make a news publication but doesn't really explain how one might make a form for user input.


    Thanks
    -SUNADMN
  • Sure it does. Follow the same process, the difference is in the fields you use.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • 0 users

This list is based on users active over the last 60 minutes.