Album: CMotion template revision
Re: Album: CMotion template revision
That's alright!Eleco wrote: What can I do for you? Would an Italian translation of the German texts in the template be usefull? Let me know!

I think it's alright the way it is. Discussions like that have often helped me solve some of my problems.Eleco wrote: P.S. Maybe all this part of the discussion should be stripped away so to leave your post simple and clean. How can this be done? Should I click the "Report to a moderator" link?
Re: Album: CMotion template revision
I like the template. I may be using this in a few different sites.
Off topic: I really like the photos you took. Some of them took me back to when I lived in Germany on Exchange for a year. I really like the photo of the Koelner Dom. Oh and it may be just me, but Potsdam is beautiful in the winter.
Off topic: I really like the photos you took. Some of them took me back to when I lived in Germany on Exchange for a year. I really like the photo of the Koelner Dom. Oh and it may be just me, but Potsdam is beautiful in the winter.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: Album: CMotion template revision
Thanks a lot! The photos are not mine, they're from a customer of mine who's quite a well-known photographer in Germany.tyman00 wrote: I like the template. I may be using this in a few different sites.
Off topic: I really like the photos you took. Some of them took me back to when I lived in Germany on Exchange for a year. I really like the photo of the Koelner Dom. Oh and it may be just me, but Potsdam is beautiful in the winter.
Have fun with the template!
Re: Album: CMotion template revision
Hi Caspar and thanks for this script, its works better in IE than the original.
I am having just one little problem though... I've installed it exactly as you said and on the website it is working, but my browsers (both Firefox and IE6) are giving javascript errors as follows:
IE6:
-----
Line: 16
Char: 2
Error: 'document.getElementById(...)' is null or not an object
Code: 0
Firebug in Firefox:
------------------------
document.getElementById("mainpicname") has no properties
Is anyone else getting these, or is it something unique to me? Besides showing these errors, the site/template works as it should.
tks
roger
I am having just one little problem though... I've installed it exactly as you said and on the website it is working, but my browsers (both Firefox and IE6) are giving javascript errors as follows:
IE6:
-----
Line: 16
Char: 2
Error: 'document.getElementById(...)' is null or not an object
Code: 0
Firebug in Firefox:
------------------------
document.getElementById("mainpicname") has no properties
Is anyone else getting these, or is it something unique to me? Besides showing these errors, the site/template works as it should.
tks
roger
Re: Album: CMotion template revision
Hi roger,
that's new to me. I haven't had any errors so far. Did you change IDs or so? Is there a link to your page?
Regards,
Caspar
that's new to me. I haven't had any errors so far. Did you change IDs or so? Is there a link to your page?
Regards,
Caspar
Re: Album: CMotion template revision
Hi Caspar
Thanks for reply.
I've removed the following lines from simplegallery.js and now the errors have gone:
document.getElementById('mainpicname').replaceChild(NewName, document.getElementById('mainpicname').firstChild);
// replace img name
document.getElementById('mainpiccomment').replaceChild(NewComment, document.getElementById('mainpiccomment').firstChild); // replace img comment
I don't really know javascript, but am I correct in assuming those functions I've removed are looking for the pictures description and/or comment? If that is the case, then its probably becuase I didn't fill in any descriptions/comments when I uploaded the pics.
I don't really need the description/comment to display so i'm happy its working fine now in all browsers with those lines removed.
tks
roger
Thanks for reply.
I've removed the following lines from simplegallery.js and now the errors have gone:
document.getElementById('mainpicname').replaceChild(NewName, document.getElementById('mainpicname').firstChild);
// replace img name
document.getElementById('mainpiccomment').replaceChild(NewComment, document.getElementById('mainpiccomment').firstChild); // replace img comment
I don't really know javascript, but am I correct in assuming those functions I've removed are looking for the pictures description and/or comment? If that is the case, then its probably becuase I didn't fill in any descriptions/comments when I uploaded the pics.
I don't really need the description/comment to display so i'm happy its working fine now in all browsers with those lines removed.
tks
roger
Re: Album: CMotion template revision
Correct.racer wrote: I don't really know javascript, but am I correct in assuming those functions I've removed are looking for the pictures description and/or comment?

That would have been my next question. What still bothers: Did you remove the defaults for alt and title before the errors occured? Because if you didn't, I'll have to do some homework...racer wrote: If that is the case, then its probably becuase I didn't fill in any descriptions/comments when I uploaded the pics.
Thanks for staying with it!
Caspar
Re: Album: CMotion template revision
Hi again.... no I didn't remove any default, simply uploaded the pics without adding any comments etc to them. Hope this helps.Caspar wrote: That would have been my next question. What still bothers: Did you remove the defaults for alt and title before the errors occured? Because if you didn't, I'll have to do some homework...
Thanks for staying with it!
Caspar
cheers
roger
Re: Album: CMotion template revision
Hi,
I've been following this thread and all the instructions given so far, and have experienced two problems. I've solved them both, and thought I'd share my fixes here.
1. Under the old version of this template, the thumbnails were apparently created on the fly. The new template seems to require I already have a set of thumbnails, which I don't. So I restored these lines from the original template, in place of the ones after the truecontainer div around line 141.
Now I'm very happy because the automatic thumbnail thing is now happening. 
2. The template plays a little bit oddly with Album's native method of storing comments, which uses that WYSIWYG editor, which I don't know much about, but which seems to insert HTML whether I want it to or not. So my caption has tags in it, at the very least.
The new template specifies the HTML be escaped, and thus the output has these tags rendered as plain text. So I just took that out. Here is my page thus far; it's for a group which is trying to eliminate the death penalty in Texas, and this is a gallery of executed prisoners (not gross, just living faces.) http://www.tcadp.org/cmsms/index.php?ma ... 51&page=51
I am deeply grateful for this template because I feel this is a very effective way to show these people to our site visitors. Thank you!
I've been following this thread and all the instructions given so far, and have experienced two problems. I've solved them both, and thought I'd share my fixes here.
1. Under the old version of this template, the thumbnails were apparently created on the fly. The new template seems to require I already have a set of thumbnails, which I don't. So I restored these lines from the original template, in place of the ones after the truecontainer div around line 141.
Code: Select all
{foreach from=$pictures item=picturesrow}
{foreach from=$picturesrow item=onepicture}
{* Change alt/title-tag to what you need. *}
<a href="{$onepicture->link}" title="{$onepicture->name} | {$picture->comment}" onclick="document.getElementById('maincmotionpic').setAttribute('src', '{$onepicture->picture}');return false;"> <img src="{$onepicture->thumbnail}" alt="{$onepicture->name}"/></a>
{if ($onepicture->number==$picturenumber and !$picture)}{assign var=picture value=$onepicture}{/if}
{/foreach}
{/foreach}

2. The template plays a little bit oddly with Album's native method of storing comments, which uses that WYSIWYG editor, which I don't know much about, but which seems to insert HTML whether I want it to or not. So my caption has tags in it, at the very least.
The new template specifies the HTML be escaped, and thus the output has these tags rendered as plain text. So I just took that out. Here is my page thus far; it's for a group which is trying to eliminate the death penalty in Texas, and this is a gallery of executed prisoners (not gross, just living faces.) http://www.tcadp.org/cmsms/index.php?ma ... 51&page=51
I am deeply grateful for this template because I feel this is a very effective way to show these people to our site visitors. Thank you!
Re: Album: CMotion template revision
Which wysiwyg editor are you using? only fckeditor does that any more... sure your not hittng the format button?...
Re: Album: CMotion template revision
I'm a total newbie wrt these online editors (and CMS) so I haven't messed with the default editor. I don't think I hit any format button, though.
I'd be glad to change the default editor, though, simply because of its unfortunate name. I've been mentally previewing the conversation with the client. "Uh, you'll be using FCKEditor...no, I didn't name it...no, I don't know why they called it that...yes, I'm sorry, too."
So you're saying that if I change my default editor, I'm likely to need to unfix my fix? Thanks for the tip!
I'd be glad to change the default editor, though, simply because of its unfortunate name. I've been mentally previewing the conversation with the client. "Uh, you'll be using FCKEditor...no, I didn't name it...no, I don't know why they called it that...yes, I'm sorry, too."
So you're saying that if I change my default editor, I'm likely to need to unfix my fix? Thanks for the tip!
Re: Album: CMotion template revision
I also get the problem of the comment on the wysiwyg editor showing up on the page with the html tags, often incuding span class, and tags.
MRAN: what was your fix?
anyone else know why this is happening?
thanks
MRAN: what was your fix?
anyone else know why this is happening?
thanks
Re: Album: CMotion template revision
olay
This is real old, as I'm sure it told you, so please start a new topic and add more info on problem...
This is real old, as I'm sure it told you, so please start a new topic and add more info on problem...