Web/graphic design website - showandtell.com.au

Post links to sites running CMS in all its glory.
Post Reply
showtell

Web/graphic design website - showandtell.com.au

Post by showtell »

Just launched this yesterday. It was a revamp of our existing website, and also our first website using CMS Made Simple. Hope you like it-

http://www.showandtell.com.au/
Dren

Re: Web/graphic design website - showandtell.com.au

Post by Dren »

Wow! I like this! What are you using for that gallery?  :-\ I really like that gallery.. lol
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Web/graphic design website - showandtell.com.au

Post by tyman00 »

Great looking site, modern and fun yet simple. I am also very impressed at how clean your code is!

If you don't mind me asking, how did you get the id="***" to show up in the following, did you use PHP to query the page name or did you manually  ad it.

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.
User avatar
neophron
Forum Members
Forum Members
Posts: 145
Joined: Sun Feb 12, 2006 12:11 am

Re: Web/graphic design website - showandtell.com.au

Post by neophron »

Hi,

this is a website worth to remember. I bookmarked it at once. I like the style, it's very individual. There are a lot of interesting stuff to learn. I have some questions:
On the http://www.showandtell.com.au/gallery, below gallery | Overview, is a multi search form. How did you ceate it? Is it complicated to implement sIFR for the headlines into CMSmadesimple?

neophron
MaC747

Re: Web/graphic design website - showandtell.com.au

Post by MaC747 »

aussie aussie aussie      :D

nice work mate...
makes me look at my site and think what a waste of time lol
showtell

Re: Web/graphic design website - showandtell.com.au

Post by showtell »

Sorry, about the long time on response. Haven't looked here for a little.
Wow! I like this! What are you using for that gallery?  Undecided I really like that gallery.. lol
I coded the gallery, as there were no modules existing for what I wanted to be able to do. I used my own URL system because the one on CMS made simple makes me  >:(. Took me about a week.
If you don't mind me asking, how did you get the id="***" to show up in the following, did you use PHP to query the page name or did you manually  ad it.
That is just a simple module / or custom tag. Code is something simular to this...

Code: Select all

global $gCms;
global $smarty;

$hm =& $gCms->GetHierarchyManager();
$result = 'not-found';

$thisPage = $gCms->variables['content_id'];
$page_name = $gCms->variables['page_name'];
$currentNode = &$hm->sureGetNodeById($thisPage);

if (isset($currentNode)) {
	
	$currentContent =& $currentNode->getContent();
	$current_name = $result = $currentContent->Name();
	$currentNode =& $currentNode->getParentNode();

	while( isset($currentNode) && $currentNode->getLevel() >= 0 )
	{
	    $currentContent =& $currentNode->getContent();
	    if ($currentNode->getLevel() >= 1){
	     $current_name = $result = $currentContent->Name();
	     $page_name = $currentContent->Alias();
      }
	    $result = $currentContent->Name();
	    $currentNode =& $currentNode->getParentNode();
	}
	
}

$parent_name = $result;
$parent_id = str_replace(' ', '-', strtolower($result));
$smarty->assign('head_id', $parent_id);

if ($page_name == $parent_id){
	$page_name .= '-main';
}

$smarty->assign('body_id', $page_name);
then in the template you just use

Hope that helps.
Thanks for all the comments. Much appreciated.
Post Reply

Return to “CMS Show Off”