Can someone please help?
Hi, I am building a new front end user account dashboard. See screenshot.
Attachment 3896
I would like the customer to be able to add a new ad via their dashboard as in the screen shot above.
The point where I am struggling is adding the code from tpl-add-new.php to my custom dashboard template.
I thought I may just be able to call the add-new template via an include once like so:
<?php include_once (TEMPLATEPATH . '/tpl-add-new1.php');?>
When I do this i keep getting errors such as headers already sent. I understand why (I think) but can't get around this because my skills at coding are very weak.
If I try adding the code found in the add-new template to my custom dashboard template I start to get somewhere but it appears there is no javascript working on the drop down select menus when choosing a category to advertise in.
How can this be achieved please?
Kind regards
Bleem