integration of 1.4.3 into joomla 1.0.7 integration of 1.4.3 into joomla 1.0.7
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

integration of 1.4.3 into joomla 1.0.7

Started by sir-knight, February 22, 2006, 07:08:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sir-knight

been working on this for a few days now, first with cpg 1.3.4 but on a hunch to test a theory I installed cpg 1.4.3 as well.

I've managed to integrate cpg 1.4.3 into my joomla template, and for the most part it works.

Now I'm not sure if this is a template question or if it's something more, please mods if you feel this should be moved, please do so, I'm not sure where it should go.

the link:

http://dreamers-ink.ca/gallery   <--- cpg 1.3.4

http://dreamers-ink.ca/cpg143  <---- cpg 1.4.3

as you can see, there's a slight problem with fitting inside the 800 or so pixels I have allotted for cpg.


I have gone through the entire CSS files for BOTH versions and have been unable to affect the size of the category/album screens.

I can't seem to identify the css code responsible for controlling the width of JUST THIS ONE screen.

Every other screen fits, and if I click on a thumb, the layout fits back into the alotted space.

I have also tried to adjust the table width in the template.html file, this doesn't seem to have any effect.


CPG will for some reason fit if I set only 1 column of albums in the layout, so they will list in a 1 album wide column, but nothing more than 1.
even when I do this, tho, the menus don't seem to center to the colum or the layout, so I'm guessing something else is forcing a specific width to the album/category cells.

This problem will also occur if I set 2 categories side by side.




Also, this is a template question for sure. I might have a conflict in css controlling the admin menu font size as every number I ichange in the css changes every other bit of font other than that. Which tag in the css effects the admin menu so I can resolve this conflict? thanks.

sir-knight

okay, figured it ou t, I had to add a <span class> to encompass the admin menu... turns out it wasn't included anywhere in the css.


One last problem

how to I resolve the issue of the conflict between the joomla template's <H1> and the cpg templat's <H1>?

When the cpg window comes up, it seems to want to possess the H1 tag in the header of the joomla template.

I tried redefining the joomla header H1 (in this case the titel linkback to Dreamer's Ink Creative Arts) to something like H8 but it royally messed things up.

how does one resolve this issue? thanks

Joachim Müller

we have no idea how the wrapping into joomla works. I guess you'd have to go through coppermine's code and replace <h1>with<div class="cpgh1">(same thing needs to be done for the closing tags) and then define the class cpgh1 in your style sheet. Coppermine wasn't designed to be wrapped in the first place, that's why there are differences.

sir-knight

I was able to alter the joomla template to suit coppermine instead. I was able to use another <H> tag for the site header and the conflict was resolved

I guess the H tags are predefined and there's only like 6 of them so my attempt to use H8 confused the browsers.

The gallery is working fairly seamlessly now without the joomla wrapper being used. I managed to do it using a modified template from joombla.com, the template html from my old mambo/cpg 1.3.4 from last year with a few changes, and a whole lot of class renaming in the joomla template css file

All the problems seem to be caused by css conflicts.

Joachim Müller

the tags <h1> to <h6> are not only for designing purposes, but for structure as well (they're weighed by search engines to be more relevant), so I'd be careful with this and read up details first.