phase two of my first cmsms site

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

phase two of my first cmsms site

Post by JeremyBASS »

Hello, this is my first CMSMS site where I took the old site and just pushed that design in CMSMS 1.1.x ... worked well for being on a Godaddy server thou I had to do a lot...

http://www.sjrmc.org

but here is the New beta (about 20 hours over the old site)

http://98.129.105.16

Still the same underlying structure as I have not be ok'ed to do a full redesign... but it's all kind of up graded... New Rackspace server so I could ditch the full page caching hack needed for the Godaddy server... all up to date at 1.6.4..

Also It's about to go live so if I may ask would anyone please go thru and test it out... I have run it thro IE6 IE7 IE8 FF and Safari 4 (win) .... all seems good and I think it's good to go less packing the js and css and running thru ySlow...

Any help would be great... Would love to hear back on the baby album area and the calendar areas as they have been work but good.... thank you...

Cheers
Jeremy

some stats:

   *  CMSMailer: 1.73.14
   * FileManager: 1.0.1
   * MenuManager: 1.6.1
   * ModuleManager: 1.3.1
   * News: 2.10.2
   * nuSOAP: 1.0.1
   * Printing: 1.0.2
   * Search: 1.6.1
   * ThemeManager: 1.1.1
   * TinyMCE: 2.5.1
   * Captcha: 0.4
   * CGExtensions: 1.16
   * Cataloger: 0.7.4
   * CGCalendar: 1.2.2
   * Album: 0.9.3
   * FrontEndUsers: 1.6.7
   * CustomContent: 1.5.3
   * Jobs: 1.0
   * NMS: 2.2.2
   * CGFeedMaker: 1.0.6
   * SelfRegistration: 1.2.5
   * CGSimpleSmarty: 1.4.3
   * SystemInfo: 0.1.2
   * SiteMapMadeSimple: 1.1.4
   * CGExtensions: 1.16
   * CGUserDirectory: 1.0.1
   * FormBuilder: 0.5.11
   * TemplateExternalizer: 1.2
   * SiteMapMadeSimple: 1.1.4
   * FirePHPDebug: 0.1.1
   * PayPalButtonMaker: 0.2


some nifty tricks...

CSS versioning... if you look at the soucre you'll see I like a stactic style sheet so I can configure the ETags and header and what not.. at the end you'll see ?1251064571

so what I did was make a UDT  "fileTime"

Code: Select all


$files=$params['File'];
$fileTimeIS=filemtime($files);
echo $files."?".$fileTimeIS;

and made the call like this



If you're not sure what that all means, the best place to start is reading about ySlow


There are tons of trick packed in there... tons of jQuery stuff.. I like jQuery and what not... hope you enjoy...
Last edited by JeremyBASS on Sun Aug 23, 2009 10:57 pm, edited 1 time in total.
SimonSchaufi

Re: phase two of my first cmsms site

Post by SimonSchaufi »

is there any special trick behind the Top Articles?

btw: padding doesn't look nice in iron (google chrome)
JeremyBASS

Re: phase two of my first cmsms site

Post by JeremyBASS »

SimonSchaufi wrote: is there any special trick behind the Top Articles?
nope not really, just

Code: Select all

 

{news number='4' detailpage='news' summarytemplate='shortLISTING'}  



and

Template Name:
shortLISTING

Code: Select all


{if $pagecount > 1}{/if}{foreach from=$items item=entry}<span style=" list-style:georgian; padding-left:5px;">• {$entry->titlelink}</span><br/>{/foreach}<br/>


SimonSchaufi wrote: btw: padding doesn't look nice in iron (google chrome)
Thanks I forgot to take a look in chrome... thou we made a few changes yeasterday... I just hope Safari is ok still since if it works there is is suppost to work in Chrome... Thank the the heads up...

Cheers
Jeremy
SimonSchaufi

Re: phase two of my first cmsms site

Post by SimonSchaufi »

actually it is just the content part that needs to be moved down a bit (20px or so) the rest is fine
JeremyBASS

Re: phase two of my first cmsms site

Post by JeremyBASS »

Thanks that is fixed... switched up the way it was for a all but IE on that one... the margin was being measured from the wrong point in IE6-7 ... I'll have to chack IE8 later but I'll be that will need the same fix as chrome did....

Thanks again for the heads up...

Cheers
Jeremy
JeremyBASS

Re: phase two of my first cmsms site

Post by JeremyBASS »

It's now live... I haven't heard much back in the way of errors so I think all is good.  I can't wait to get to phase 3 on this so I can do more of the design not just move and slightly change things... Some other trick in here... the menu error in IE is fixed... you may have noticed the a sub menu was open after a hover despite the fact it's empty... also in the menu you see that there is a left right to it to.. all in the menu manager... Well hope you enjoy... Cheers

Jeremy

the menu template...

Code: Select all

{if $count > 0}
    
    <ul id="menu">
    {foreach from=$nodelist item=node name=foo} 
      {assign var=NodalDepth value=$node->depth}
  
        {if $smarty.foreach.foo.last}
           <!--{$smarty.foreach.foo.total}-->
        {/if}

        {if $node->depth > $node->prevdepth}
        	{assign var=parentIndex value=$node->index}
        
            {if ($node->alias=="cherc-2")}
                {assign var=face value="right"}
            {elseif (
                (substr_compare($node->hierarchy, "9.", 0,1)==0)
            )}
                {assign var=face value="left"}
            {else}
                {assign var=face value=""}
            {/if}
        
            {repeat string="
                <ul class=\"$face ul-$NodalDepth\">
                " times=$node->depth-$node->prevdepth}
		{elseif $node->depth < $node->prevdepth}
             {repeat string="
                </li>
                </ul>
                <!--[if lte IE 6]></td></tr></table></a><![endif]-->
                " times=$node->prevdepth-$node->depth}
				</li>     
		{elseif $node->index > 0}
            </li>
        {/if}
      <!--{$node->alias} - {$parentIndex} - {$NodalDepth}-->
        {if $node->parent == true or ($node->current == true and $node->haschildren == true)}
            <li {if $node->index==0}class="li-top first"{elseif $node->depth!=1}{else}class="li-top"{/if}><a {if $node->depth==1}class="top sub"{else}{/if}
        {elseif $node->current == true}
            <li {if $node->index==0}class="li-top first"{elseif $node->depth!=1}{else}class="li-top"{/if}><a {if $node->depth==1}class="top sub"{else}{/if}
        {elseif $node->haschildren == true}
            <li {if $node->index==0}class="li-top first"{elseif $node->depth!=1}{else}class="li-top"{/if}><a {if $node->depth==1}class="top sub"{else}class="sub"{/if}
        {elseif $node->type == 'sectionheader'}
            <li>{$node->menutext}
        {elseif $node->type == 'separator'}
            <li style="list-style-type: none;">
            <hr class="separator" />
        {else}
            <li {if $node->index==0}class="li-top first"{elseif $node->depth!=1}{else}class="li-top"{/if}><!--[if lte IE 6]><span><![endif]--><a  {if $node->depth==0}class="top"{else}{/if}
        {/if}
      
        {if $node->type != 'sectionheader' and $node->type != 'separator'}href="{$node->url}" 
            {strip}{if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}
            {if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}
            {if $node->target ne ""} target="{$node->target}"{/if}
            ><dfn>{$node->hierarchy}: </dfn>{$node->menutext}
            {if $node->haschildren == true}<!--[if gte IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
            
            {else}</a>
            {/if}{/strip}
        {elseif $node->type == 'sectionheader'}>
            <dfn>{$node->hierarchy}: </dfn>{$node->menutext}</a>
        {/if}
    {/foreach}
      
    {repeat string="</li>
    </ul>
    <!--[if lte IE 6]></td></tr></table></a><![endif]-->
    " times=$node->depth-1}
    </li>
    </ul>

{/if}<br style="clear:left;"/>

Post Reply

Return to “CMS Show Off”