close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

dates displaying incorrectly...

Thread began 10/22/2012 2:34 am by JamieEff | Last modified 10/23/2012 10:54 am by Jason Byrnes | 688 views | 3 replies |

JamieEff

dates displaying incorrectly...

Hey Jason

Hope you had a great weekend?

Just getting a bit stumped on a couple of things.

Have attached 2 files in a zip... one is a news page and the other is a special offers page.

Re the News page....

This is linked to from the home page, and when you access it from the home page, the date posted bit is showing 01/01/1970 - however, if you then navigate the other news items the correct date is being shown...

Re the special offers page, regardless of whether or not you access the page directly from the home page or you navigate the special offers on the page itself, it shows the date Posted 10/10/2012

I have spent ages trying to figure out why and what is happening but just cant figure it ou... any pointers would be gratefully appreciated

Thanks

Jamie

Attached Files
files.zip
Sign in to reply to this post

Jason ByrnesWebAssist

on the news page, the default value for the URLParam in the DatePostedRS is set to "1", that must not be a value that is the database. use a valid value for the default value.

look at the links you have, what are the values for the zNews querystring variable? use one of those.

for the special offers page, you are using a URL variable named:
zSpecial Offers

you cannot have spaces in URL variables names, recreate the links so the URL variables does not contain spaces in the name:

php:
<a href="special-offers.php?zSpecialOffers=<?php echo $row_SpecialPanelRS['ContentPageSetOrder']; ?>"">



and edit the recordset so that the run time value for the URLParam of the DatePostedRS recordset is:

$_GET['zSpecialOffers']

Sign in to reply to this post

JamieEff

thanks Jason

Got the URL variable sorted but not getting the dateposted sorted at all

I have made multiple changes and have checked the database and to be honest I am not sure what I need to put in there.

In the database in the ContentPageSetOrder column, each entry has its own number but the 'top level' shows as NULL... I have no idea what I need to change the DatePostedRS record set to... and now that you have highlighted it, its happening on both the special offers as well as the news page

Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...