KK wrote: @setiawanfarlin, just in case it is not sufficiently clear to you from @trendoman's example, you can use the k_page_name variable as follows -
Code: Select all
<cms:pages masterpage='students.php'  custom_field="take=<cms:show k_page_name />"  >

Remember, the double-quotes used while setting any parameter allow you to execute any arbitrary Couch code enclosed within them (in our case we use cms:show to output the variable's values).

Sorry for late reply

I missed that id and tag part, its working right now.

Thank you very much @KK and @trendoman.