Yup
(the technical explanation: because php 5.1.6 does not support the parameter for debug_backtrace it does not execute, and does not tell the bonusfields extension where to place the bonusfield elements in the edit page)
Logfather wrote:I'm currently having trouble with Bonusfields for images. I can upload one etc. but it just takes the filename example.jpg and puts that in the HTML. It should be at least images/example.jpg because without it my image does not appear.Any suggestions? Where can I edit this?
Logfather wrote:I don't I have been very clear in my post above, let me try this again.
When I upload a photo Pivot automatically puts in the correct name where the image can be found. At this point Pivot somehow doesn't realize it should add all the folders (or some) for a browser to understand where that image is.
When I look up the code with Firebug it's there PERFECTLY (accept it's greyed out). <img> with a width, a height, an alt, the url. But that's where it goes wrong: it just says example.jpg but it should be images/example.jpg or whatever. Not looking forward to putting this in front there every time.
YES, I can do this in the template code but all my other PivotX's don't have problems putting the right folder in there either so I'm wondering what can cause this. Where should I look?
[[ if $page.extrafields.somepageuri ]]
[[ assign var=extra_pageuri value=$page.extrafields.somepageuri ]]
[[ getpage uri="$extra_pageuri " ]]
<h2>[[ $page.title ]]</h2>
[[ $page.introduction ]]
[[ resetpage ]][[ else ]][[ /if ]]
[[ if $page.extrafields.somepageuri ]]
[[ getpage uri="$page.extrafields.somepageuri" ]]
<h2>[[ $page.title ]]</h2>
[[ $page.introduction ]]
[[ resetpage ]][[ else ]][[ /if ]]
[[ getpage uri="[[ $page.extrafields.somepageuri ]]" ]] Users browsing this forum: No registered users and 4 guests