• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

BlogCFM

Explorer ,
Jun 12, 2006 Jun 12, 2006

Copy link to clipboard

Copied

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.

Trevor
http://www.tboult.co.uk
TOPICS
Advanced techniques

Views

247

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 12, 2006 Jun 12, 2006

Copy link to clipboard

Copied

LATEST
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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation