1 Reply Latest reply on Jun 12, 2006 11:21 AM by elDonrico


      Hi All,

      I was wondering if anyone here has set up BlogCFM ( http://www.blogcfm.org/)

      I cannot seem to grasp the mapping stuff which is causing all manner of issues with not finding style files etc.

      The is the mapping I'm getting for my style sheets.

      <link href=" http://newserver/UKK Agriculture 2006 CSS//blogcfm_styles.css" rel="stylesheet" type="text/css">

      this is the code:

      <link href="<cfoutput>#variables.blogConfig.webRoot#</cfoutput>/blogcfm_styles.css" rel="stylesheet" type="text/css">

      Its not getting the "blogcfm" bit in between the "//"

      these are my config variable in application.cfm:

      <!--- ######## CONFIGURATION VARIABLES ####### --->

      <cfset variables.dsn = "ukablog">
      <cfset variables.blog_id = 1>
      <cfset variables.mapping = "/blogcfm/">
      <cfset variables.editorType = "fck">

      This in my entry in CFAdministrator:

      logical path: /blogcfm
      directory path c:\inetpub\websites\UKK Agriculture 2006 CSS\blogcfm

      Any help or guidance will be fantastic.

        • 1. Re: BlogCFM
          elDonrico Level 1
          ive never used this cfmlblog software, but, do you have control of the code? or is it like some wizard that you put the info in?

          it appears that your variables.blogConfig.webRoot is set to http://newserver/UKK Agriculture 2006 CSS... its hard to say where this is but, i dont quite follow where you think your problem is...being that you have a web path to ref your css... it is not complete. unless you have a dns entry on your hosted dns for newserver, the web wont return anything for that site.

          also, web developers run directory names together for a reason... sometimes there can be unpredictable consequences with having spaces. your directory UKK Agriculture 2006 should be UKKAgriculture2006

          and if you have access to the code, why not just change the var you have.

          <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>

          <link href="#CurrentPage#/blogcfm_styles.css" rel="stylesheet" type="text/css">

          or something like that.