Sep 08, 2008, 10:56 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
Pages: 1 ... 13 14 [15] 16 17 ... 22   Go Down
  Print  
Author Topic: [Snippet] MaxiGallery - an advanced gallery snippet  (Read 90594 times)
0 Members and 1 Guest are viewing this topic.
Lizard
Support Subscriber
*
Posts: 232


pt3
« Reply #210 on: Jun 19, 2006, 09:45 AM »

hey up Smiley


does anyone know .. while viewing this site in IE 6 (CURSED Proggy) the overlay doesnt fill the whole screen ?

oops forgot to put the site in !

http://www.skinvasion.org.uk

tiz very annoying!

Many thnx

Martyn
« Last Edit: Jun 19, 2006, 10:32 AM by Lizard » Logged
doze
Moderator
*
Posts: 3,048


....Boom!


pt3
« Reply #211 on: Jun 19, 2006, 03:18 PM »

does anyone know .. while viewing this site in IE 6 (CURSED Proggy) the overlay doesnt fill the whole screen ?
Hi, Martyn!

I don't know what you're talking about... I don't get the overlay with IE6 at all? But I remember that you had the same issue with that bittersweet embrace site too, and this one uses the same template.. it's some margin setting at the css that's causing this..
Logged

MODxWiki || Please, list wiki worthy material here!
CwnAnnwn
Jr. Member
*
Posts: 9


pt3
« Reply #212 on: Jun 20, 2006, 02:26 AM »

So the more I learn about this whole ModX world, the more I'm loving it!  This snippet has been the key point of my personal website as I am just beginning to play with the framework.  That said I do have a quandary I am trying to resolve:
When I use the "pics_per_page" setting the system generates links to child "pages", however those links return the 404 page!  Here is an example of the URL generated:
site.org/index.php?q=20030404.html?page=2

Are there specific settings that have to be used to utilize the &pics_per_page feature?
Logged
doze
Moderator
*
Posts: 3,048


....Boom!


pt3
« Reply #213 on: Jun 20, 2006, 04:57 PM »

When I use the "pics_per_page" setting the system generates links to child "pages", however those links return the 404 page!  Here is an example of the URL generated:
site.org/index.php?q=20030404.html?page=2
The problem is that your url generates wrong. There is two ? chars in the url and the later should be &. But what version of MaxiGallery are you using? The first version did not use MODx makeUrl api call to generate urls and this could happen at that time. It's fixed in the newest versions though.

If you are using the newest MaxiGallery, what FURL settings you use?
Logged

MODxWiki || Please, list wiki worthy material here!
CwnAnnwn
Jr. Member
*
Posts: 9


pt3
« Reply #214 on: Jun 21, 2006, 01:21 AM »

I've got the 0.4.1 ver installed.  The FURL settings are as follows:
UseFURL="yes";
Prefix="index.php?q=";
Suffix=".html";
FriendlyAlias="yes";
FriendlyAliasPath="no";
DupAlias="no";
AutoGenAlias="no"
Logged
doze
Moderator
*
Posts: 3,048


....Boom!


pt3
« Reply #215 on: Jun 21, 2006, 06:31 AM »

Prefix="index.php?q=";
That's the problem. The makeUrl api call cannot cope with prefixes that allready has ? in it.. I'll note this to the devteam and see if we can get it resolved.
Logged

MODxWiki || Please, list wiki worthy material here!
Lizard
Support Subscriber
*
Posts: 232


pt3
« Reply #216 on: Jun 21, 2006, 06:49 AM »

does anyone know .. while viewing this site in IE 6 (CURSED Proggy) the overlay doesnt fill the whole screen ?
Hi, Martyn!

I don't know what you're talking about... I don't get the overlay with IE6 at all? But I remember that you had the same issue with that bittersweet embrace site too, and this one uses the same template.. it's some margin setting at the css that's causing this..

yep doze you are right!

any way of turning off the overlay on ie?

ta Smiley

Logged
doze
Moderator
*
Posts: 3,048


....Boom!


pt3
« Reply #217 on: Jun 21, 2006, 07:37 AM »

any way of turning off the overlay on ie?
Yes, the overlay is made for IE inside conditional css statements, just remove it and overlay should be gone in IE.

So, from the functions.php file search for <!--[if gte IE 5.5]>

Replace this
Code:
$slidebox_css_str = '
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<style type="text/css">
* html #overlay{
background-color: #333;
back\ground-color: transparent;
background-image: url(' . $modx->config['site_url'] . 'assets/snippets/maxigallery/slidebox/blank.gif);
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src="' . $modx->config['site_url'] . 'assets/snippets/maxigallery/slidebox/overlay.png", sizingMethod="scale");
</style>
<![endif]>
<![endif]-->';

With:
Code:
$slidebox_css_str = '';

EDIT: Or were we talking about Lightbox v2 ? If that's the case, you need to compare the slidebox css with Lightbox v2 css and replace the lightbox overlay styles with css from slidebox file (#overlay sections).
« Last Edit: Jun 21, 2006, 07:41 AM by doze » Logged

MODxWiki || Please, list wiki worthy material here!
Lizard
Support Subscriber
*
Posts: 232


pt3
« Reply #218 on: Jun 21, 2006, 08:32 AM »

cheers man Smiley
Logged
vbrilon
Coding Team
*
Posts: 255



pt3
« Reply #219 on: Jun 21, 2006, 08:59 AM »

Prefix="index.php?q=";
That's the problem. The makeUrl api call cannot cope with prefixes that allready has ? in it.. I'll note this to the devteam and see if we can get it resolved.

I don't think this is a bug per se. The HTTP protocol doesn't support parsing URLs in the format of: http://site?arg1?arg2. The proper way to solve this is to change the URL to be: http://site?arg1=foo&arg2=bar and have the parser deal with that properly.
Logged

OpenGeek
MODx Co-Founder
Foundation
*
Posts: 4,675


looking a little more like my avatar again...


WWW
pt3
« Reply #220 on: Jun 21, 2006, 10:28 AM »

Right, I think the issue here is the way you are using makeUrl() -- you should never supply a ? before a parameter string given in makeUrl() -- you only ever need to use &, because all MODx URL's have a ? already, even if when rewritten by mod_rewrite, you can't see it anymore.   Wink
Logged

Jason Coward
MODx Co-Founder
xPDO Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
If you think of yourselves as helpless and ineffectual, it is certain that you will create a despotic government to be your master. The wise despot, therefore, maintains among his subjects a popular sense that they are helpless and ineffectual.
  — Frank Herbert
doze
Moderator
*
Posts: 3,048


....Boom!


pt3
« Reply #221 on: Jun 21, 2006, 01:07 PM »

Yes yes, I know this and I never use ? in the parameters when calling makeUrl function. But even though you call make url api with &someparameter, it automatically changes the first parameter to be ?someparameter when furls are enabled. And when user has FURLs enabled and uses index.php?q= as prefix (that allready has ? to be in url) then when makeUrl builds the url, it becomes index.php?q=<alias><suffix>?someparameter.. you see? So makeUrl should look when generating the urls that if FURLs are enabled, if prefix or suffix allready has ? it should use & at the first parameter.
Logged

MODxWiki || Please, list wiki worthy material here!
Duane
Member
**
Posts: 51


pt3
« Reply #222 on: Jul 03, 2006, 12:02 PM »

Okay, I hope this isn't just something I've been overlooking for two hours or some really fundamental thing I'm just not managing to grasp (either is possible), but I can't seem to get two things working with my implementation of MaxiGallery on this page:

http://www.ideabankpreview.com/mhm/take-a-look.htm

The snippet call is:

[[MaxiGallery? &display=`embedded` &embedtype=`lightboxv2` &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`0` &titles_in_overview=`1` &thumb_use_dropshadow=`1`]]

1. Why do the thumbnails have a border?

2. Why can't I see the caption/title etc. that was entered in the manage gallery interface? How do I get captions into the overview and the larger photo?

Thanks so much for your help...

Duane
Logged
heliotrope
Coding Team
*
Posts: 2,400


WWW
pt3
« Reply #223 on: Jul 03, 2006, 12:16 PM »

Hi,

i don(t have all the answers but concerning the first one, do you use IE to see your website Huh
If so you have to turn off this border with css.

img {
border:none;
}

sould do the trick.

Hope that helps.
Logged

Duane
Member
**
Posts: 51


pt3
« Reply #224 on: Jul 03, 2006, 01:25 PM »

Hi,

i don(t have all the answers but concerning the first one, do you use IE to see your website Huh
If so you have to turn off this border with css.

img {
border:none;
}

sould do the trick.

Hope that helps.

Perfect! Now, if I could just figure out why the title/caption thing won't work. LOL.

Must be Monday. My brain is fogged.

Duane

UPDATE:  THIS WAS ALSO A CSS ISSUE. I PUT THE SNIPPET CALL INSIDE A SPAN CLASS THAT CHANGED THE FONT COLOR FROM WHITE (THE DEFAULT CSS) TO BLACK.
« Last Edit: Jul 10, 2006, 11:11 AM by Duane » Logged
Pages: 1 ... 13 14 [15] 16 17 ... 22   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!