Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 v6.5 Problem with Use as homepage (Yes/No)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

richmally
Starting Member

United Kingdom
1 Posts

Posted - March 16 2007 :  12:57:45  Show Profile  Visit richmally's Homepage  Reply with Quote
When editing a content page - lets say its called 'Homepage' and you select from the dropdown 'Yes' for Use as homepage? - then update.

If you then go into edit any other content page - lets say 'Terms'- regardless of what change you make here - it will automatically reset the 'Homepage' content page to 'No' for 'Use as homepage'.

A little bug - but its really annoying.


R.Mallinson
E4D

support
Administrator

4679 Posts

Posted - March 16 2007 :  19:50:06  Show Profile  Visit support's Homepage  Reply with Quote
Hi there,

This is a bug. You can fix by opening shopaeditcontent.asp and locating the following:

conn.execute("update content set homepage = NULL")

Change this to read:

if request("homepage") = "Yes" then
conn.execute("update content set homepage = NULL")
end if

Thanks
Cam

VP-ASP Support
Go to Top of Page

touchline
Starting Member

United Kingdom
2 Posts

Posted - March 22 2007 :  05:00:44  Show Profile  Reply with Quote
Thanks, the fix works but just to be pedantic the file to edit is shopa_editcontent.asp


Touchline Solutions
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00