TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 347
  • Total: 347

Article and Category icons

Started by mallock, August 19, 2008, 02:43:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mallock

I am running TP 1.0.5 beta on SMF 1.1.5.  I am having a problem with the icons for categories and Alternative listing icons.  Both drop down boxes have the following behavior:

Lets say I have uploaded icon1,gif and icon2.gif as pictures for either the category icon or alternative listing icon.  When I go to the dropdown box to select one of them, the only option I have is:  icon1.gificon2.gif

Where is the code that should separate those into two diffent options in the dropdown box?

mallock

Does anyone know why this is happening or has it happened to anyone else?

sibling chris

yes I know why this is happening

if you "view source" on the page you will see it uses the SELECT tag within which should be multiple OPTION tags, one for each icon. Howver the closing tage is missing the > character

I'm tyring to track down where this bit of code is.... will post if I solve it


sibling chris

ok sorted

TPortalAdmin.template.php line 1164 - look at the end of the line and change this...
'</option'

to this...
'</option>'

do the same on line 1220 and 1756


sibling chris

#4
just upgraded to TP1.0 beta 4 and this problem is still apparent

lines 1083, 1139 and 1668

Nine

Please note that there are actually three instances of the same problem in the file.
Please see my post on bugtracker here.

sibling chris

I think I mentioned the 3 instances, hope I got the line numbers right, sorry if I didn't!

Cheers
SC

Freddy


This website is proudly hosted on Crocweb Cloud Website Hosting.