10 years ago
1
Topic
For some reason I cannot get the getLink function to work
I have in the search form view and the Item view an Article Title and under Item view/Link(2) is set to View. In my template I am using both <?php echo $cck->renderfield('art_title');?> and <?php echo $cck->getLink('art_title');?>. RenderField and GetValue work as they should but getLink returns nothing. Is there something, some setting somewhere else that might prevent this (getLink) from working? It also doesnt work in my articles.
I have checked and the link plugin is published.
Get a Book for SEBLOD
10 years ago
0
Level 1
As a temporary solution i am appending the article ID to a url in the href="/". This seems to work fine but im not so sure it will give me SEF urls.
Get a VIP membership