PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 1st, 2013, 08:56 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2011
Posts: 16
Happy Holidays with an extra ending /span tag!

Hi Chuck happy holidays:

In working with photopost I noticed extra ending "/span" tags after a variable in the templating code -- they were obviously put there on purpose. This is probably some sort of IE hack (I am guessing). Anyways, it is not important, but I am curious to know the reason for them. It bugs me that I haven't found the reason searching the web.

Code:
Content visible to verified customers only.

Last edited by tbworld; January 1st, 2013 at 09:54 PM.
tbworld is offline   Reply With Quote
Old January 1st, 2013, 09:57 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
what template are we talking about here? There should not be extra ending tags always a start tag with the paired end tag.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 2nd, 2013, 05:12 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2011
Posts: 16
Quote:
Originally Posted by Chuck S View Post
what template are we talking about here? There should not be extra ending tags always a start tag with the paired end tag.
As soon as I get a chance I will send a copy of a few templates I commented in. I found the same code sprinkled in adm-misc.php, -- in some of the "heredoc" code and some of the escaped html. That is why I thought it was done for a reason. A single end tag in todays browsers will be ignored as you know ( have no idea about IE6), so no big deal.

I have found one or two missing "/div" tags that are not causing problems as well in v8.23 vb4enhanced. I have only really analyzed around 10 templates. These are small things that are not a real problem. I just found the ending span tag frequency interesting and thought maybe I am missing something in my education.

I will send you some examples.

Last edited by tbworld; January 4th, 2013 at 07:56 PM.
tbworld is offline   Reply With Quote
Old January 2nd, 2013, 05:33 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
The reason I ask is because if I pull up all our core files in the w3c xhtml validator our code is 100% xhtml and css valid and this was as up to our latest released code so I am pretty sure I got any one way tags in PhotoPost 8 series since we had to redo all the templates.

Now the variable your referring to is in editphoto template and yes that extra span tag can be removed. I already did in our source. Let me know what else you find.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 4th, 2013, 11:31 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
I will check the validation again but I assume this is maybe related to a couple files I overlooked at the validator would never see.

No big deal since I am wrapping up a vb5 support so easy enough to spend a few minutes checking for span tags with no beginning.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 4th, 2013, 08:10 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Jun 2011
Posts: 16
Quote:
Originally Posted by Chuck S View Post
I will check the validation again but I assume this is maybe related to a couple files I overlooked at the validator would never see.

No big deal since I am wrapping up a vb5 support so easy enough to spend a few minutes checking for span tags with no beginning.
No one seems to be complaining about it, so move on to better things with your time. I had some issues with adm-misc, where it was messing up my JavaScript (in reference to the DOM) that I had to resolve. It is additional support code that I needed for our particular site -- so that isn't your responsibility. Your code out of the box works as intended and there is always problems with code. Depends who views it.

There is a few things that I would like to mention to you about adm-misc, but I would prefer to private message it instead, just in case the information is sensitive or proprietary.

PS: adm-misc took me a bit to get through... whew.
tbworld is offline   Reply With Quote
Old January 4th, 2013, 09:21 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
adm-misc.php is the main core file that handles most admin tasks. It is a beast.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
make tags for classifieds but without display vb tags yahoooh Classifieds How do I...? 3 August 18th, 2008 07:42 AM
extra / in templates location glowinggal Photopost Pro Installation & Upgrades 1 January 9th, 2006 09:24 AM
[RC1] Custom Filed manager: Table head does not span all columns Kirby Bugs From 1.0.0 1 December 10th, 2004 12:28 AM


All times are GMT -5. The time now is 03:09 PM.

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