Support Forums


Go Back   68 Classifieds Forums > Help & Support > v4 Questions & Support

 
LinkBack Thread Tools Display Modes
Old 01-13-2009, 08:29 AM   #1
Member
 
Join Date: Apr 2006
Location: UK
Posts: 45
Rep Power: 12
Mikael is on a distinguished road
Default unable to edit 'url' in ads from admin area

Hi,

On our site racecarsdirect.com, we allow sellers to place urls to their sites, from time to time, people make mistakes with their typing and we would like to amend the url. From the admin area, it isn't an option for us. We can edit everything else.

Any thoughts?

Many thanks
__________________
Mikael
V4.0.9 Developer
www.racecarsdirect.com
Mikael is offline   Reply With Quote
Old 01-13-2009, 09:42 AM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 3,921
Rep Power: 95
Lhotch is just really niceLhotch is just really nice
Default

Can you be more specific??

Are you saying the URL field isnt there?

Are you saying the field is there but you cant change it contents?

Are you saying you can change the form contents but the database doesnt get updated?
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 01-13-2009, 10:49 AM   #3
Member
 
Join Date: Apr 2006
Location: UK
Posts: 45
Rep Power: 12
Mikael is on a distinguished road
Default Sorry, I need need to be more specific

Sorry Larry,

Yes, I am saying the url field is not there when editing a listing in the admin area. I have re-uploaded the 4.09 administration folder with the same result.
__________________
Mikael
V4.0.9 Developer
www.racecarsdirect.com
Mikael is offline   Reply With Quote
Old 01-13-2009, 11:09 AM   #4
Member
 
Join Date: Apr 2006
Location: UK
Posts: 45
Rep Power: 12
Mikael is on a distinguished road
Default update

Looking at listing_edit.tpl we have

Code:
{if $checkoutDisURL=="Y"}
<tr>
<td width="5%" nowrap="nowrap" valign="top"><label for="url">{$smarty.const.LANG_URL}{$smarty.const.LANG_COLON}</label></td>
<td><input name="url" id="url" type="text" value="{$url}" style="width: 100%" /></td>
</tr>
{/if}
I assume if I remove the if statements it will display and be editable. This will not find the root cause of the problem though. Any other thoughts?

Many thanks
__________________
Mikael
V4.0.9 Developer
www.racecarsdirect.com
Mikael is offline   Reply With Quote
Old 01-13-2009, 11:24 AM   #5
Moderator
 
 
Join Date: Mar 2006
Posts: 3,921
Rep Power: 95
Lhotch is just really niceLhotch is just really nice
Default

I just checked a 4.0.8 site and it all works fine and the code in the template is the same as yours. Taking out the if statement should work, but I dont think its the root of the problem.

Do you have any mods installed at all?
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 01-13-2009, 11:39 AM   #6
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,167
Rep Power: 35
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

I think we may want to step back just a bit. The code that you displayed with the if statement is checking the variable as to whether or not you ALLOW an external URL in the listing package that you are placing/modifying.

So if it is NOT showing, that would indicate that you are trying to modify a listing that is in a Listing Package/Product that you have set to NOT allow an external URL field.

Bearing this in mind, the first thing that I would check is your Product listing in the Admin. When you add a Product, one of the options is whether or not you allow an external URL in the listing. It is a separate field.

See what Product the listing is and check the Products options to see whether you actually have set the product to have this field available.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
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 01-15-2009, 08:58 AM   #7
Member
 
Join Date: Apr 2006
Location: UK
Posts: 45
Rep Power: 12
Mikael is on a distinguished road
Default

I have checked all the listing packages and they all allow urls (we had checked this before posting, and double checked later). I took out the 'if' statements and can now edit the urls in admin. I can live with this solution for now, but I am curious as to what has caused this. I wonder if we have any corrupted data in the database. When we upgraded from 3.x to 4.x in June/July last year, we found that no sellers could update their listings that they had placed previous to the upgrade. We had a fair number to update through the admin section. This isn't a problem now as most of those ads have expired and/or sold. I'll have a google for the mysql command to check and repair the tables.

Many thanks all for your input.
__________________
Mikael
V4.0.9 Developer
www.racecarsdirect.com
Mikael is offline   Reply With Quote
Old 01-15-2009, 09:18 AM   #8
Moderator
 
 
Join Date: Mar 2006
Posts: 3,921
Rep Power: 95
Lhotch is just really niceLhotch is just really nice
Default

I dont think its a corrupt table. Its more likely the variable to display the field isnt set for some reason. Maybe due to some of your files not all being at the proper level OR as I mentioned above if you have a mod installed that may be causing problems as well.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 01-15-2009, 09:31 AM   #9
Member
 
Join Date: Apr 2006
Location: UK
Posts: 45
Rep Power: 12
Mikael is on a distinguished road
Default

Quote:
Originally Posted by Lhotch View Post
I dont think its a corrupt table. Its more likely the variable to display the field isnt set for some reason. Maybe due to some of your files not all being at the proper level OR as I mentioned above if you have a mod installed that may be causing problems as well.
The only mods we have installed are SEO, Maintenance, Statistics, Newsletter and the Maffo News Mod

What did you mean "files not all being at the proper level" ? If you mean the files physical location within the web directory, we have not moved any from the standard install.
__________________
Mikael
V4.0.9 Developer
www.racecarsdirect.com
Mikael is offline   Reply With Quote
Old 01-15-2009, 09:46 AM   #10
Moderator
 
 
Join Date: Mar 2006
Posts: 3,921
Rep Power: 95
Lhotch is just really niceLhotch is just really nice
Default

You said you upgraded from 3 to 4 in june/july and your signature says you are running 4.0.9 which didnt come out until Aug which means you would have had a couple upgrades and maybe during one of those the proper files didnt all make it into place and one of your script files is old.

If you open /administration/templates/default/layout.tpl and add {debug} to the top of the file and save it, then in admin, navigate to a listing and edit the listing you should have a popup debug window showing you the vars in place. One of them should be {$checkoutDisURL} and it should have a value of "Y". If you do not have that variable then you need to take a closer look at the users.php file and try and determine if its really from 4.0.9.

Thats where I would start anyway.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
lost password to my admin area buzzandgo v3.1 Questions & Support 2 02-15-2008 08:04 AM
Admin Area not working. GianniC v3.1 Questions & Support 12 01-09-2008 08:48 PM
Admin Area Jessej v4 Questions & Support 1 09-21-2007 12:41 PM
Please help: problem logging into admin area spaceboy v3.1 Questions & Support 3 08-27-2006 10:00 PM
Error trying to get to Admin area???? dawyatt v3.1 Modules & Modifications 27 05-15-2006 04:15 PM


All times are GMT -4. The time now is 02:24 AM.


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