Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ Coppermine areas break when using a table inside opentable :: Archived


Coppermine areas break when using a table inside opentable :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Sat Oct 01, 2005 12:39 pm
Post subject: Coppermine areas break when using a table inside opentable

I narrowed down the main reason coppermine is breaking in a theme i'm working on, and its a little strange since i was under the assumption that opentable could use tables and not just divs.

Here's what i was using...

Code::
function OpenTable() {
	echo '
	<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="21"><img src="themes/MYTHEME/images/b-01.gif" width="21" height="37" /></td>
    <td background="themes/MYTHEME/images/b-02.gif"></td>
    <td width="21"><img src="themes/MYTHEME/images/b-03-2.gif" width="21" height="37" /></td>
  </tr>
  <tr>
    <td width="21" background="themes/MYTHEME/images/b-04.gif">&nbsp;</td>
    <td bgcolor="#000000">';
}
function OpenTable2() {
	echo '<div class="table2">';
}

function CloseTable() {
	echo '</td>
    <td width="21" background="themes/MYTHEME/images/b-05.gif">&nbsp;</td>
  </tr>
  <tr>
    <td width="21"><img src="themes/MYTHEME/images/b-09.gif" width="21" height="19" /></td>
    <td background="themes/MYTHEME/images/b-10.gif">&nbsp;</td>
    <td width="21"><img src="themes/MYTHEME/images/b-11.gif" width="21" height="19" /></td>
  </tr>
</table><br />';
}
function CloseTable2() {
	echo '</div>';
}

Since table2 is rarely used i opted on leaving that as it is...

If i switch my table back to a DIV i get no display issues, using the above though causes all sorts of problems, and only in coppermine, so any ideas why this would happen?


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Sat Oct 01, 2005 10:59 pm
Post subject: Re: Coppermine areas break when using a table inside opentable

bump


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Mon Oct 03, 2005 4:44 pm
Post subject: Re: Coppermine areas break when using a table inside opentable

bump


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Mon Oct 03, 2005 11:13 pm
Post subject: Re: Coppermine areas break when using a table inside opentable

Use of tables in OpenTable is pretty common - the main reason it may break is if the code that is pulled between OpenTable and CloseTable is non-compliant and broken itself. You need to track down the precise area causing that.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Tue Oct 04, 2005 1:06 am
Post subject: Re: Coppermine areas break when using a table inside opentable

Problem only occurs when using the code i posted above for opentable, now i'm no expert but i don't see anything wrong with that code.


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Tue Oct 04, 2005 1:16 am
Post subject: Re: Coppermine areas break when using a table inside opentab

Understood, but if the code it encloses is incorrect, your CloseTable won't be able to close correctly.

You need to view source code or do a html validation to help you track it down.


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Andreas
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 03, 2004
Posts: 852
Location: Gävle, Sweden
PostPosted: Tue Oct 04, 2005 7:32 am
Post subject: Re: Coppermine areas break when using a table inside opentable

So the problem lies with the coppermine template code then?

_________________
Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder

Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website ICQ Number MSN Messenger Yahoo Messenger
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Tue Oct 04, 2005 8:43 am
Post subject: Re: Coppermine areas break when using a table inside opentable

Again more reason to stop using coppermine, just glad i don't need coppermine and that i don't have to use opentable, just a shame really.


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
Andreas
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 03, 2004
Posts: 852
Location: Gävle, Sweden
PostPosted: Wed Oct 05, 2005 12:03 am
Post subject: Re: Coppermine areas break when using a table inside opentable

Sad to say it, but I am starting to look towards Menalto Gallery 1.5.1 to completely subside Coppermine PhotoGallery.

_________________
Andreas Rönnqvist
www.omegaproject.se
[OmegaProject] Founder

Andreas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/Apache 2.0.52(Unix)/4.0.23/4.3.10-2/Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website ICQ Number MSN Messenger Yahoo Messenger
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: Wed Oct 05, 2005 12:11 am
Post subject: Re: Coppermine areas break when using a table inside opentable

did you run it thru a validator?

_________________
NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org

NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
Back to top
View user's profile Visit poster's website Photo Gallery
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Wed Oct 05, 2005 1:18 am
Post subject: Re: Coppermine areas break when using a table inside opentab

Nothing wrong with the Coppermine code that I can see - I have themes that use <table> in OpenTable and I don't get broken pages. There are some validation issues, but they've been there a long time and have nothing to do with how OpenTable is used.

Can you be more definitive about "breaking"?

Menalto Gallery? Stop talking about it and just move - this topic is about Coppermine.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Fri Oct 07, 2005 12:22 am
Post subject: Re: Coppermine areas break when using a table inside opentable

Ok i have a theme that sits inside a table much like the one that i wanted to use for opentable, when i use the tables for opentable it throws all table all over the place...

Some areas of coppermine send content right down the bottom of the page, other pages just create repeated cells here and there.


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Fri Oct 07, 2005 12:30 am
Post subject: Re: Coppermine areas break when using a table inside opentable

I don't use coppermine a great deal on nukebiz, other than for testing, but here's both styles of OpenTable, without issues? Is there a specific area you're having trouble with?

nukebiz.com/coppermine...izPro.html
nukebiz.com/coppermine...keBiz.html

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
t31os
Supporter
Supporter

Offline Offline
Joined: Sep 22, 2004
Posts: 2025
Location: Somewhere in the intertubes... lolz
PostPosted: Fri Oct 07, 2005 12:33 am
Post subject: Re: Coppermine areas break when using a table inside opentable

That second one uses a table like the one i have, can you preview the various areas of your admin section and tell if the theme breaks?.... if not could you also try fixing your theme width to say 1000 and test again, i appreciate if you do not have the time but if you do thanx... Wink


t31os's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP / 2.0 / 5.1 / 5.2 / none
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Fri Oct 07, 2005 12:37 am
Post subject: Re: Coppermine areas break when using a table inside opentable

hmm, extra information, "admin" is more specific - I'll take a look later Smile


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy