Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2007-12-30 02:26:06

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Hi Mary. Something I’ve spotted whilst messing with the TXP admin is that your plug-in uses <body id="Image Selector">. Whilst you can have multiple classes you can’t do the same with id tags.

Whilst I’m here I may as well ask – What are the chances of plug-ins that produce a “pop-up” using a common body id?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#38 2007-12-30 03:25:05

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

  1. Huh? What are you talking about?
  2. What if you don’t want your window re-used?

Offline

#39 2007-12-30 03:37:57

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

1. The pop-up window that your plug-in produces has the “body” id set to <body id="Image Selector"> which can’t be used to aim any CSS at it. This can be modified within the plug-in code but what I can do and what others can do… It would be better changed at source.

2. I wasn’t suggesting re-using windows. What I am suggesting is that those plug-ins that produce a pop-up could all use the same body id for the window which would mean that the same CSS could be applied to all of them.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#40 2007-12-30 04:13:51

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

No, it doesn’t. It doesn’t set one at all, so if you have one, something else is at play. I suspect you might be running with a “facelift” mod that is trying to use the page title as the body id or something. I was so confused I even double-checked my plugin on a clean install. Nope, it ain’t there:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
			"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<title>Txp › My Site › Image Selector</title>
	<link href="textpattern.css" rel="Stylesheet" type="text/css" />
	<script type="text/javascript" src="textpattern.js"></script>

	<script type="text/javascript">
	<!--

		var cookieEnabled = checkCookies();

		if (!cookieEnabled)
		{
			confirm('Browser cookies must be enabled to use Textpattern.');
		}

	-->
	</script>
	<script type="text/javascript" src="jquery.js"></script>
	</head>
	<body>

As to actually adding one: what would your suggestion be? What CSS would a user want to apply to plugin popup windows that they don’t want to apply to all their pages (since the plugin loads textpattern.css)?

Offline

#41 2007-12-30 04:15:27

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Ryan: there is a function conflict between the two plugins. I’ll release an update in a few minutes that should resolve it for you.

Offline

#42 2007-12-30 04:31:15

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

v.1.3.6 is available for download.

Offline

#43 2007-12-30 04:57:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Whoops. Sorry Mary. My bad. I’m using $pagetitle for the body id. Mmmm. What else could I use?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#44 2007-12-30 08:38:00

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Any chance to have this fix included for those who suffer from a bad case of browser imitation?

Offline

#45 2008-01-02 18:27:37

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

on a clean TXP 4.0.5 installation using v1.3.6 of the plugin, this is what happens when i try to delete an image from the popper window. it seems to just shift me directly to the image tab rather than the plugin’s normal display:

Last edited by iblastoff (2008-01-02 18:31:53)

Offline

#46 2008-01-22 18:30:57

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

Minor update available

Last edited by Mary (2013-01-24 17:25:51)

Offline

#47 2008-02-06 15:36:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

updated neme.org, neme-imca.org and neme.org/main to to the 406 release
In the two installs I have upm_img_popper and got the warning below jut before the update of the languages. After I updated the warning disappeared so I guess that there was no harm done. Posting this here just in case.

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_width',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_height',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_alt' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_alt',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_title' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_title',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_class',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_the_class' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_the_class',
				val = 'image',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_custom_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_custom_form',
				val = 'upm_img_popper',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_show_form' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_show_form',
				val = '1',
				html = 'yesnoradio',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_width' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_width',
				val = '725',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

A problem occured while loading the plugin: upm_img_popper -> User_Warning: Duplicate entry '1-upm_img_popper_admin_popup_height' for key 1
insert into txp_prefs set 
				name = 'upm_img_popper_admin_popup_height',
				val = '400',
				html = 'text_input',
				prefs_id = 1, type = 2, event = 'admin', position = 0
			 on line 81

textpattern

Last edited by colak (2008-02-06 15:37:28)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#48 2008-02-07 03:24:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_img_popper: Minimal image selector

This has to do with Txp somehow, I’ve seen this before on various plugins. You can safely ignore it, but I’m going to try and figure out why it’s happening, ‘cuz it is annoying.

Offline

Board footer

Powered by FluxBB