Support Forums

Small loss of information after upgrade to 4.19

This is a discussion on Small loss of information after upgrade to 4.19 within the Templates, HTML, CSS, and Design Help forums, part of the General category; In 4.16 I successfully displayed the Ad' added and expiration dates in searchresults by calling the information in showlistings2.tpl as ...


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

Reply
 
Thread Tools Display Modes
Old 03-14-2010, 12:59 PM   #1
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default Small loss of information after upgrade to 4.19

In 4.16 I successfully displayed the Ad' added and expiration dates in searchresults by calling the information in showlistings2.tpl as follows;

PHP Code:
            <td width="225px" valign="top" height="55px" {if $entry.class<>""} class="{$entry.class}"{/if}>
                    {if 
$sDisDateAdded == "Y"
                        {
$smarty.const.LANG_DATE_ADDED}: {$entry.dateadded|date_format:$dateformat}<br />
                    {/if}
                    {if 
$sDisExpiration == "Y"}
                        {
$smarty.const.LANG_EXPIRATION} {$entry.expiration|date_format:$dateformat}
                    {/if}
            </
td
It produces the following nice result . .



But in 4.19 I lose the information.



I've been using kdiff3 to compare file differences on the two versions but I can't nail this down. Can anyone point me in the right direction please?
__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 03-16-2010, 02:24 AM   #2
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default

anyone . . ?
__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 03-16-2010, 08:24 AM   #3
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

did you look at the debug output for 4.1.9 and see what variables are there?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-16-2010, 09:48 AM   #4
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default

Hi Larry.

Yes, both {$querystring_dateadded} and {$querystring_expiration} are present.

If it would help I could post the debug output for the 'data present' 4.16 site and the 'data not present' 4.19 site. Any help appreciated.

Michael
__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 03-16-2010, 06:30 PM   #5
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

I don't see why that wouldn't work as you have it. Have you tried emptying your templates_c directory?
__________________
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 03-17-2010, 01:46 AM   #6
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default

Hi Mike

Yes, I cleared templates_c and my browser cache too. Made no difference.

__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 03-17-2010, 08:14 AM   #7
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

I would try simplifying things for testings and just put {$entry.dateadded} in the ad display loop and see if it displays.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-17-2010, 08:38 AM   #8
Just get on with it!
 
 
Join Date: Jan 2007
Location: Milton Keynes, England
Posts: 486
Rep Power: 34
michael is just really nice michael is just really nice
Default

Thank you Larry.
I tried your suggestion (replacing {$entry.dateadded|date_format:$dateformat} with {$entry.dateadded}) but no dice.

Is that what you were getting at or did I misunderstand?
__________________
M Michael
V4.2.3 Developer - Sigma Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 03-17-2010, 08:57 AM   #9
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by michael
Thank you Larry.
I tried your suggestion (replacing {$entry.dateadded|date_format:$dateformat} with {$entry.dateadded}) but no dice.

Is that what you were getting at or did I misunderstand?
I would get rid of the rest of the stuff as well so all you have is {$entry.dateadded} if the variable is there it should display.

I wonder if this is somehow related to the thread "view listing no data showing" where people are missing data from viewlistings.tpl?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 03-17-2010, 09:27 AM   #10
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

It sounds like it could be. I would recommend logging in and seeing if that is available.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
V4.1.x Maffo Module Information Maffo Modules / Plugins / Modifications 9 03-22-2009 11:16 AM
body information centinel3 Technical Support 2 08-15-2008 03:09 PM
need information before buying 68classifieds plaukas Technical Support 1 06-26-2008 06:41 PM
Looking to buy but need information first zacwin Pre Sales Questions 3 05-18-2007 04:45 PM
retrieve my login information Unregistered Pre Sales Questions 2 01-21-2007 11:03 PM


All times are GMT -4. The time now is 06:43 AM.


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