Hi,

I would like my entries to display in a special template.

That's why I have created a template named "entry"

And from front page I wrote the code:

#set($entryPageTemplate = $model.weblog.getPageByName("Entry")).

//defining an entry
#foreach($entry in $recentEntries)
<a href="$url.page($entryPageTemplate.link)">$entry.title</a>
                                          </li>
                                        </ul>
                                  </div>
                                </div>
 #end

And in "entry" template I wrote:

$entry.title


But it displays "$entry.title".

How can I pass the page the entry object?

Thanks

Odelya

Reply via email to