PDA

View Full Version : code question


ashley76
02-07-2009, 05:48 PM
I am looking for the code for one of the custom fields I created in dynamics. Basically what I want to do is add a link for the custom field in expanded entry bits for the what's new module. I want the custom field on the home page listed with each article... What would I be looking for?

Brian
02-09-2009, 12:47 PM
You would just need to use the variable $entry[fieldX] (replace X with the fieldid) in your adv_dyna_entrybit_expanded template.

Our Sponsors
 

ashley76
02-09-2009, 02:21 PM
Thanks Brian!

connectr
02-11-2009, 11:05 AM
Hi Brian,
I'm working on customizing our downloads layout (see attachment) and i have coded the xhtml / css base, now need to implement into the downloads template.

I'm guessing the same principle applies with the custom fields (ie, $entry[field10]) on the browse category page?

Which file i should be editing? I thought it was ADV_DYNA_BROWSECATEGORY but i cant seem to get the custom fields to show.

Any chance you can point me in the right direction?

Thanks,
Chris

Our Sponsors
 

connectr
02-11-2009, 11:57 AM
I think i have narrowed down the location of the file (adv_dyna_entrybit_simple), but when trying to "echo" custom fields in the loop, nothing seems to be showing.

this is what i am adding (just above the cfiledbits call):

<p class="changelog">$entry[field11]</p>
$entry[cfieldbits]

I have also checked in the entry bit settings to make sure that the field is enabled. I'm essentially wanting to scrap out all the existing code for the entry bit, replace it with my own xhtml/css base and drop the various core and custom fields into their respective placeholders.

Any suggestions would be most appreciated!

Thanks,
Chris

connectr
02-11-2009, 12:35 PM
got it working now.. :)