Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Im using EXTENDED USER module and trying to fetch info from profil/index site and display this on a user-profile page.

So far i have the index.php and profile.php

Made user-profile.php and write the following:

<cms:get_custom_field var='k_page_title' masterpage='index.php' page='Users Profile' />

But nothing will show? Any ideas?
'Users Profile' seems to be the page's 'title' (it has spaces in it). We need to use the page's title (edit the page and you should find it something like 'users-profile').

Anyway, with that change your code will work to fetch data from 'custom' fields (i.e. the editables you have defined). The 'k_page_title' you are trying to fetch is a 'system' field so the code won't work for it.

Please use the following instead which will work for all fields (make sure to use the right page_name) -
Code: Select all
<cms:pages masterpage='index.php' page_name='users-profile'>
    <cms:show k_page_title />
</cms:pages>

Hope it helps
2 posts Page 1 of 1
cron