
seize
Novice
Dec 3, 2006, 11:49 AM
Post #4 of 6
(1349 views)
Shortcut
|
|
Re: [RWD] By [unknown placeholder $article.art_field1$]
[In reply to]
|
Can't Post
|
|
It looks like the problem is you don't have a $article.author$ to replace. Because I can't see your template, I'm exactly sure, but AM2 sends back an error when like that when you put a template placeholder that that doesn't exist in that page type. The code you'll be looking for it and replace it with
<!-- templateIf : $article.author$ ne "" --> By $article.author$<br> <!-- /templateIf --> You don't need the templateIfs, but it's nice in case you have an article without an author. The key part of that is to use the new AM2 template placeholders. I think $article.art_field1$ is a holdover from AM1, but if you are on AM2 $article.author$ is the new tag. The <!-- templatePlaceHolderList --> tag is really useful for finding out all the correct tags. I wish there was a listing of them in the help files, but it is nice to be able to see the actual output of what each tag would give you if it was in the template. Hope this helps, Teo
|