Jump to content
Sign in to follow this  
Alldo Group

[SOLVED] "Thickbox" på CMS-sidorna

Recommended Posts

Hej igen alla!

Lite nya funderingar - skulle vara snyggt med lightbox, milkbox eller thickbox på t.ex. startsidan, eller allra helst på CMS-sidorna. Kan inte lyckas med detta. Får bara massa körningsfel. Har sökt men hittar ingen info om detta.

Någon annan som lyckats med detta eller sett några inlägg i ärendet??


[sOLVED]

Se ändringar nedan

cms.tpl

{if $cms}
   {if $content_only}

<link rel="stylesheet" href="/css/lightbox/lightbox.css" type="text/css" media="screen" />
       {$cms->content}

   {else}


<link rel="stylesheet" href="/css/lightbox/lightbox.css" type="text/css" media="screen" />

       {$cms->content}

   {/if}
{else}
   {l s='This page does not exist.'}
{/if}


{if !$content_only}
<link rel="stylesheet" href="/css/lightbox/lightbox.css" type="text/css" media="screen" />


{l s='Home'}
{/if}





cms.php

include(dirname(__FILE__).'/header.php');
  echo '[removed][removed]'."\n";
  echo '[removed][removed]'."\n";
  echo '[removed][removed]'."\n";
$smarty->assign(array(

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More