Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Poseidon2 Posted June 9, 2020 Posted June 9, 2020 (edited) Hello. I have a databse which allow me to create articles and that work fine. I choose the option to autamtically create a subject in the forum. This work fine also BUT my subjet in the forum only have raw text. No pciture at all.... How can I change that to have at least the picture of what we are talking about ? And also in my subject I have : (title): (value) Any what clue what is that and where it come from ? Thanks for your help Florian An Example : My record : The subject created : I only have the core text part... Edited June 9, 2020 by Poseidon2
Poseidon2 Posted June 9, 2020 Author Posted June 9, 2020 I reply to myself : I found how to show all my private fields but I did not found how tho show the picture. Could you help me regarding the picture ?
opentype Posted June 9, 2020 Posted June 9, 2020 (edited) There is no direct option define the forum output for the record image. But everything about the forum post content is controlled by this theme template: You could probably customize that to get what you need. I assume the record image is in $record->record_image, but I haven’t tested it. Edited June 9, 2020 by opentype Poseidon2 1
Poseidon2 Posted June 9, 2020 Author Posted June 9, 2020 Thanks for the answer. I will ask you a dummy quetsion but : where did you find this theme template ? I only have available template ofr Page, Database and bloc..... 😞
opentype Posted June 9, 2020 Posted June 9, 2020 It’s a theme template. It’s in the customization section of the ACP. Poseidon2 1
Poseidon2 Posted June 12, 2020 Author Posted June 12, 2020 (edited) Thanks a lot. Last question and I will be fine I think. How do we know the available field/function for $record ? Florian Edited June 12, 2020 by Poseidon2
Recommended Posts