Page 1 of 1

CMSMS_Themes.xml problem

Posted: Thu Aug 03, 2006 7:35 pm
by JohnnyKRK
Hello,
I got a problem installing CMSMS_Themes.xml .

I have just configured cms from cmsmadesimple-0[1].13.zip. I have seen startup page and everything seems to be fine.
I haven't seen any error messages during installation.
(I am using windows with mysql 4.1.15-nt, Apache/2.0.49 (Win32) PHP/5.1.1  ).

Then I have downloaded CMSMS_Themes.xml and I tried to install it using
Layout->Theme Manager->Import then the first problem occurred: DTD version mismatch.
So I took a look into the file  and I have added 1.2 after CMSMS_Themes.

After doing that the theme was imported successfully and I saw it on the Layout->Templates list.
Then I went to Pages->Content and I have assigned this template to page titled  ‘Menus / Navigation systems’.

Now when I open to http://localhost/cmsmadesimple/index.ph ... tion_menus I see a mess and messages like:
string(68) "Smarty error: unable to read resource: "globalcontent:phpdig_header""
and
string(62) "Smarty error: unable to read resource: "globalcontent:tagline"".
When I looked into the database and table `cms_htmlblobs` indeed there is neither a blob
named phpdig_header nor tagline

Please can anyone tell me how to import that theme to have it working nad what might be wrong?

regards
Johnny

Re: CMSMS_Themes.xml problem

Posted: Thu Aug 03, 2006 8:50 pm
by Dr.CSS
Go to global content blocks and make a new one named phpdig_header and click the source button and paste the quote in the popup window...
the tag line is not needed and that line in the template, {html_blob name='tagline'}, can be deleted or you could make your own, but this is it... download, learn, and share CMSMS designs
{literal}

/***********************************************
* IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* Visit DynamicDrive.com for hundreds of original DHTML scripts
* This notice must stay intact for legal use
***********************************************/

//Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
//Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
var iframeids=["myframe"]

//Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
var iframehide="yes"

var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight=parseFloat(getFFVersion)>=0.1? 16 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers

function resizeCaller() {
var dyniframe=new Array()
for (i=0; i {/literal}

Re: CMSMS_Themes.xml problem

Posted: Fri Aug 04, 2006 9:32 pm
by JohnnyKRK
Hello,
thanks for help, now it is working there was not only phpdig_header to add but also I needed
to add css   ::) I used
so I have putted it in:

Code: Select all

{literal} 
<link rel="stylesheet" type="text/css" href="http://themes.cmsmadesimple.org/stylesheet.php?templateid=4" />
<__script__ type="text/javascript">
.... rest of the code .....

{/literal}
and one small thing I have to change so maybe I got something a little wrong in my configuration
the path for banner from uploads to ..uploads like

Code: Select all


<div id="banner-middle"><img src="../uploads/CMSMS_Themes/banner-center.gif" 
alt="CMSMS Themes banner" width="322" height="102" /></div>

now I am ready to start my adventure with cmsmadesimple  ;D
best regards
Johnny