Support Forums

New template : adding listing to favorites error

This is a discussion on New template : adding listing to favorites error within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hi, I am currently bussy with a new skin for my website, But the "add this listing to favorites" button ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-10-2010, 12:16 PM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default New template : adding listing to favorites error

Hi,

I am currently bussy with a new skin for my website,
But the "add this listing to favorites" button does not work anymore.

It is a javascript command but I am not sure which javascript file it need, Is it main.js?

Dominick
damiun is offline   Reply With Quote
Old 02-10-2010, 02:39 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

That is not part of any of the templates that come with 68 Classifieds. What template are you using?
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-10-2010, 04:17 PM   #3
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

which version of the software are you using now?
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 02-11-2010, 04:07 AM   #4
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default

I am using a heavily customized themeforest theme.
But why does that matter, the javascript file which I am looking for is needed in every template.

Dominick
damiun is offline   Reply With Quote
Old 02-11-2010, 04:49 AM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,342
Rep Power: 84
seymourjames is a jewel in the rough
Default

Do you have the same set of includes in the layout.tpl file of your theme and that given in the default layout.tpl?
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 02-11-2010, 04:59 AM   #6
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 18
damiun is on a distinguished road
Default

I havent copied all the include file to my new template because a lot of files arent nessesary anymore.

Thats why I asked which file is for the favorites part, it usses javascript, so i included the main.js but it does not work, so if it is the main.js I have to let the files be adjusted, if not I have to include another file which it needs for ading listing to the favorites..
damiun is offline   Reply With Quote
Old 02-11-2010, 05:09 PM   #7
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,311
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

damiun,

I apologize for my earlier post. I misread your question.

The save favorites is in the listingextras.tpl file which has the javascript written in the template itself and is included the viewlisting(2).tpl by a smarty include. I believe that javascript calls the ajax.php file. I do believe you will need to have includes for the main jquery and the main.js javascript files in the header.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding google search box to template sunshinemike Technical Support 2 01-13-2009 10:27 AM
Adding listing through Administration bowers01 Technical Support 4 12-07-2008 03:07 AM
Adding Add to Favorites & Tell a Friend to showlistings.tpl cwp Technical Support 5 10-10-2008 06:05 AM
Adding buy now button to listing Nickb Templates, HTML, CSS, and Design Help 3 08-09-2007 01:11 PM
Adding images to template pages sleepy Templates, HTML, CSS, and Design Help 5 04-08-2006 08:40 PM


All times are GMT -4. The time now is 10:41 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0