Re: Want to help the planet environment?

  • 2009/2/27 7:26:06
  • hort

Hi,

looks like this in IE6:

Screenshot

Nice design, but it loads very, very slowly. This is due the immense sizes of the graphics, nearly 1 MB, which could be compressed down (without undue loss) to have but 50K all together.

Cheers,

hort

PS: http://browsershots.org/ is a good site where to test compatibility across a vast array of browser makes and systems.

Topic


Topic


Re: Want to help the planet environment?

Quote:


nachenko wrote:
Cool site. Why don't you submit a note in the "they use ImpressCMS!" section?



I will do it. I am waitting the official presentation text in english.

Topic


Re: Want to help the planet environment?

A very nice site - and a very good project.

Good work!

(And yes, Nachenko is right.. please use the link he says to give your site a little extra promotion )

Topic


Re: Want to help the planet environment?

Cool site. Why don't you submit a note in the "they use ImpressCMS!" section?

http://community.impresscms.org/modules/smartsection/submit.php

If you can't understand what I'm saying, you're not geek enough
ISegura.es
Topic


Re: Want to help the planet environment?

  • 2009/2/2 11:51:58
  • m4d3l

I started with ImpressCMS 1.1 and I update it to 1.1.1 after.

Topic


Re: Want to help the planet environment?

the meta generator inside the theme still says xoops ;)

very nice & clean site though, which version is it?

Live as if you were to die tomorrow, Learn as if you were to live forever

The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together!
Topic


Re: Want to help the planet environment?

thank you!

I got lot of fun doing this site with impresscms! I got a good result in a very quick time.

Topic


Re: Want to help the planet environment?

  • 2009/2/2 8:25:40
  • Will

A very nice site - congrats, and welcome to ICMS!

Topic


Want to help the planet environment?

  • 2009/2/1 21:43:28
  • m4d3l

Hi.

it make a long time last time I used Xoops but 3 days ago I got a contract to do a new website in one weekend. I have use impressCMS to do it fast.

Here is the result of my weekend work: http://www.co2reduction.ca/

This website will offer different way to cancel your carbone footprint.

Its not totally finish (I have to add some more image and rending) but its working fine for 2 days of work. I use the multilanguage and the integrated content manager.

I have plan to add News module, FAQ, newbb forum, partner module and more.

Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

  • 2008/12/12 9:37:16
  • Will

very very nice - excellent work.

Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

Quote:

This should appear on our featured sites news section.


Definitively yes.
Very great site and excellent work!!
I hope that you tell us some tricks that you have used...

Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

this was a big big project and lot of hard work. Through this project I have learned much more about impresscms. There was also much help from the impresscms community through this forum and msn.

Big thanks to all !

free impresscms themes
Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

Clean, simple and professional. This should appear on our featured sites news section.

http://community.impresscms.org/modules/smartsection/category.php?categoryid=28

BTW i like you took the time to make contact form look like a contact form and not like the usual zebra-skinned table.

If you can't understand what I'm saying, you're not geek enough
ISegura.es
Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

Looks great! Very simple, clean and easy to read.

Seth

XAMPP for Mac
PHP 5.2.9
MySQL 5.1.33
Apache 2.2.11

They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.

Ben Franklin
Topic


Re: business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

I just had a look and have to say the website looks great!
Nice and clear layout.

:bravo:

McDonalds Store
Topic


business company: MWM (earlier DEUTZ Power Systems) with ImpressCMS

MWM (formerly DEUTZ Power Systems (DPS)) is an engineering company with headquarters in Mannheim (Germany). Now, after the company returns to its old name, was in the course of the redesigned Internet presence. ImpressCMS has been established.
Modules in use: smartsection and many clones, wfdownloads, jobs, Liaise, extcal, dh-info, rmbulletin, news, xcgal + some more.

http://www.mwm.net/



http://on.fb.me/x5lEdX
Topic


Re: GranadaSur Experiences with an AJAX bite

@incama,

Impressive screenshots of the blocks administration!

McDonalds Store
Topic


Re: GranadaSur Experiences with an AJAX bite

Nice tutorial Nachenko.

I've use an other solution on a template I'm developing right now.

http://www.core74.org/project/templates/C74-template-blocked/htmlonly/

Downside is it preloads all the images before changing the images, but a big plus is that the Innerfade plugin also can handle text, or images with text.

Core74 - Webdesign | Twitter | Flickr
Topic


Re: GranadaSur Experiences with an AJAX bite

I've written an explanation on the trick used for this site.

I can't post in the blog due to the last week's incident, so until I get back permission, here you have:

Random pics changing over time: EXTGallery block and jQuery's AJAX for ImpressCMS

OK, so you have a photo gallery. And you have a block showing some photos, but you'd like them to change every few seconds.

Something like this? Look right column for a few seconds.

http://www.granadasur.com/modules/contents/

OK, you got the point, keep reading.

1 - A random block.

First thing we did is to put a random block where we wanted to using block administration interface (admin ->blocks). At this moment it was just static content, every time the page loads, there are three random pics there. That simple. The number of pics can be configured in the block. Once they are on screen, they don't change.

If we could execute this block's code again, it would give us a new bunch of random pics, am I right?


2 - A piece of middleware

If we want to change a page once it's loaded, we need to use Javascript. There's no other choice. So, to change this picture we need to give Javascript a list of new pictures in a format Javascript can understand.

A format Javascript can understand is JSON, and the piece of code that we are usign to give Javascript the info is this:

<?php // AJAXed extGallery random pic block. // Nachenko - www.pensamientosdivergentes.net require_once ('../../mainfile.php'); require_once (XOOPS_ROOT_PATH.'/header.php'); require_once (XOOPS_ROOT_PATH.'/modules/extgallery/blocks/extgallery_blocks.php'); // Get block's options // Thanks Trabis for this code $blockid = 31; // This is block's ID. You can get a block's ID in group's menu. include_once(XOOPS_ROOT_PATH."/class/xoopsblock.php"); $block = new xoopsBlock($blockid); $options = $block->getVar("options"); $ret = array (); $pics = extgalleryRandomShow($options); foreach ($pics['photos'] as $p) { $ret[] = array ( 'title' => $p['photo_title'], 'desc' => $p['photo_desc'], 'file' => $p['photo_name'], 'id' => $p['photo_id'] ); } echo(array2json($ret)); // this gives the stuff to Javascript // Array to JSON function // Thanks Bin-Co http://www.bin-co.com/php/scripts/array2json/ function array2json($arr) { if(function_exists('json_encode')) return json_encode($arr); //PHP 5.2.0 already has this function $parts = array(); $is_list = false; //Find out if the given array is a numerical array $keys = array_keys($arr); $max_length = count($arr)-1; if(($keys[0] == 0) and ($keys[$max_length] == $max_length)) {//See if the first key is 0 and last key is length - 1 $is_list = true; for($i=0; $i<count($keys); $i++) { //See if each key correspondes to its position if($i != $keys[$i]) { //A key fails at position check. $is_list = false; //It is an associative array. break; } } } foreach($arr as $key=>$value) { if(is_array($value)) { //Custom handling for arrays if($is_list) $parts[] = array2json($value); /* :RECURSION: */ else $parts[] = '"' . $key . '":' . array2json($value); /* :RECURSION: */ } else { $str = ''; if(!$is_list) $str = '"' . $key . '":'; //Custom handling for multiple data types if(is_numeric($value)) $str .= $value; //Numbers elseif($value === false) $str .= 'false'; //The booleans elseif($value === true) $str .= 'true'; else $str .= '"' . addslashes($value) . '"'; //All other things // :TODO: Is there any more datatype we should be in the lookout for? (Object?) $parts[] = $str; } } $json = implode(',',$parts); if($is_list) return '[' . $json . ']';//Return numerical JSON return '{' . $json . '}';//Return associative JSON } ?>


We saved this code in theme folder and named it "random_pic.php". This code executes the random pic block, gets the output and converts it to JSON. If you're running PHP 5.2 or later, you can replace array2json() function by a native one, json_encode() and cut this code in half.

3 - a jQuery AJAX incident

We want AJAX but we don't like pain, so we'll use jQuery for the next task. We'll write a jQuery function that makes the "AJAX phone call" and put the results in the page. This is it:

<script language="javascript" type="text/javascript" src="<{xoAppUrl libraries/jquery/jquery.js}>"></script> <script language="javascript" type="text/javascript"> // Config variables q = jQuery; time = 8000; // Pics will change every 8 seconds timefade = 400; // Transition effect will last for 0.4 seconds middleWare = "<{xoImgUrl random_pic.php}>"; siteUrl = '<{$xoops_url}>'; q(document).ready( function () { // AJAX random pic timeout = setTimeout('randomPics()', time); } ); // AJAX function that gets the random pics function randomPics () { i= 0; thefile = new Array(); q.ajax({ url: middleWare, dataType: 'json', success: function(data){ q(data).each( function () { thefile.push(siteUrl+ '/uploads/extgallery/public-photo/thumb/thumb_' +this.file); q("div#right-column .extgallery img:eq("+i+")").animate({opacity: 1}, timefade*i).animate({opacity: 0}, 'slow', function () { q(this).attr("src", thefile.pop()); } ).animate({opacity: 1}, 'slow'); i++; } ); } }); timeout = setTimeout('randomPics()', time); } </script>


And this is it. This is how GranadaSur Experiences has a nice AJAXed random pic changin block.

If you can't understand what I'm saying, you're not geek enough
ISegura.es
Topic



 Top