Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 22, 20204 yr I have created a simple wallpaper system via IP.Pages. @newbie LAC has helped me to customise certain parts in the past, however, I'm trying to amend the download button. <div class='ipsPos_right'> <a href='{file="$record->record_image" extension="cms_Records"}{$row->record_image}' download="{$record->_title}" class="ipsButton ipsButton_important ipsButton_verySmall ipsClearfix ipsResponsive_noFloat" style="line-height: 24px; margin-left: 15px;" title="{lang="download"}"> <i class="fa fa-download"></i> {lang="download"} </a> </div> The code above would pull the record image to be downloaded, however, this isn't the image for the wallpaper itself now. Can anyone either tell me how to correct this so that new field that has the wallpaper is used instead of the record image or paste the code corrected? I would be very grateful. @Adriano Faria would you happen to be able to help?
April 22, 20204 yr Author 8 minutes ago, newbie LAC said: X is field ID The field ID is the number of the field? $record->$record->field_34 I've tried this and $record->field_wallpaper-image, both create a configuration error. Where do I find the ID?
April 22, 20204 yr $record->field_34 <div class='ipsPos_right'> <a href='{file="$record->field_34" extension="cms_Records"}{$row->field_34}' download="{$record->_title}" class="ipsButton ipsButton_important ipsButton_verySmall ipsClearfix ipsResponsive_noFloat" style="line-height: 24px; margin-left: 15px;" title="{lang="download"}"> <i class="fa fa-download"></i> {lang="download"} </a> </div>