1
Xoops 2.0.15 version 1.02
Catads 1.4
Problem 1
With a new copy of XOOPS and a new copy of Catads, I started my test site on a spare bit of space on my main host. On testing Catads, the only problem was that once an Ad is submitted, I can publish it or delete it, but I can't edit it.
When I click on the 'Edit' link, I get a blank page in the lower half of the admin section with just ' contact 2' showing as text in the top left corner.
Upon using the debug, I get this come up below the ' contact 2' on the page.
Fatal error: Call to a member function on a non-object in /www.weduk.com/test/htdocs/class/xoopsform/form.php on line 193
Also this link shows up in a module on all pages as well.
Parse error: parse error, unexpected $ in /www.weduk.com/test/htdocs/class/xoopsblock.php(146) : eval()'d code on line 1
Problem 2
A bit of my own making but just need some expert advice to achieve the end result...
I needed to have extra 'Fields' on the Catads submission form with the results also showing in the final Ad, well the 'hack' I did worked [and I'm not a coder], but the end result is just slightly off the mark and I'm not too sure where I went a little bit wrong.
To get a tidy looking end result, I had to put a 2 x 8 row table into the 'templates/catads_item.html' page and duly placed the headings on the left with the 'tags' for the results on the right. On testing this, from submitting an Ad to previewing it, everything looks as it should be and in the right place. That is until the Ad is published, then the results don't quite tie up with the headings.
Not too sure where I'm missing something and I am guessing it is in the 'print.php' or 'adsitem.php' pages or both of them?? I do have a copy of the changes I made, but didn't put them on here as it is a long list.
Advanced thanks
Malcolm
I'm smarter than the average bear boo boo......