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

Troubleshooting issues with the appearance of blogs and catalogs

Mentor ,
Mar 18, 2012 Mar 18, 2012

Copy link to clipboard

Copied

This article has been ported to Troubleshooting issues with the appearance of blogs and catalogs

In this article, you'll learn tips to fix problems that may occur when setting up blogs and catalogs in this system. Use the solutions below to address common isssues.

Resolving issues with missing images and styles in blogs or catalogs

If the content in a blog or cataloging is not displaying as expected, it may be due to the path to a CSS style sheet. If the CSS style sheet isn't linked correctly, the blog post or catalog may appear without any CSS rules, which causes it to look broken.

Here's an example of a CSS file not being loaded, which causes the page to ignore formatting rules:

broken_css.png

This occurs because catalogs and blog posts are stored at a different level (one folder level up) in the site's directory structure. Ifthe link to CSS files or images do not use the site root relative path (meaning that their paths do not start from root (/) level of the site) they will not be displayed.

Here's some examples of links (to a CSS style sheet and an image) that are document relative, rather than site root relative:

stylesheets/content_honey.css

images/bg-menu.jpg

To resolve the broken paths, you simply need to add a forward slash (/) to the beginning of the paths, as shown below:

/stylesheets/content_honey.css

/images/bg-menu.jpg

After adding the forward slash before the links to CSS style sheets and images, and clicking Save and Publish, the catalog or blog post page displays correctly.

fixed_css.png

Configuring blogs or catalogs to look like the rest of the site

If you are using templates to define the appearance of site pages, you can also use the template to wrap around the blog or catalog content, to create a consistent visual experience for visitors.

Templates also have the added bonus of making a site easy to update, because you can edit a single file to change a large number of pages at once. Follow these steps to apply a template to a blog:

  1. Choose Website > Blogs.         

    website_blog.png
  2. In the list that appears, select the name of your blog.         

    list_blogs.png
  3. The Blog Details page appears. Use the Templates menu to select the template you want apply to your blog.         

    blog_details.png
  4. Scroll to the bottom of the page and click Save to save your work.

To learn more about creating templates, see Working with templates in Dreamweaver or Customizing templates.

Spam content is being submitted into blog posts or comments

Spam is a serious concern for site administrators whenever you provide the general public with a mechanism to upload content. Unfortunately, it has grown worse over the years. If left unchecked, spam submissions can take over a site, causing it to look off topic and unsightly. A site with undeleted spam also looks like it is no longer supported, and may make visitors less likely to participate.

This system includes an image verification feature (known as CAPTCHA) which you can enable in blog posts, comments, web forms and Web Apps to inhibit spambots from spidering your site and circumventing the registration process to publish marketing links and other non-related (or inappropriate) content to a site. While there's nothing you can do to prevent a human from manually registering and uploading this type of content, (except to delete their registration and posts as quickly as possible) you can make it difficult for spambots to automatically enter spam with CAPTCHA.

The CAPTCHA interface requires that a person (not a computer) must read dynamically generated characters in an image file and then enter the matching characters into a form field. If the character values of the generated image file and the characters entered into the field do not match, the system will not enable the form to be submitted (or the comment to be posted).

Views

1.5K

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
New Here ,
May 30, 2012 May 30, 2012

Copy link to clipboard

Copied

Hey Mario,

Thanks for this -

one thing i have noticed is that blogs on my site are really get affected by spammers bypassing the capchta? Is there anything else you can do rather than deleting the comments straight away?

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
Mentor ,
May 31, 2012 May 31, 2012

Copy link to clipboard

Copied

Hey Jill, long time no see

Can you please go to Site Settings > Captha and make sure that "Enforce captcha validation for Comments" is selected? If not, please tick that box and save. That should work.

Cheers,

-mario

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
Explorer ,
Jun 23, 2012 Jun 23, 2012

Copy link to clipboard

Copied

Hi - Im am having exactly this problem and cant work it out.

This is my blog page which is OK - http://www.brandnewdawn.com/_blog/Brand_News,_hint_and_tips

But if you click on the post the links are broken - http://www.brandnewdawn.com/_blog/Brand_News,_hint_and_tips/post/Brand_News,_hint_and_tips/

If have changed the code on the file "post.html' to this below - but cant figure it out - any advice would be really appreciated thank you:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>

title></title>

<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />

<link type="/text/css" media="screen,projection" href="/StyleSheets/base.css" rel="stylesheet" />

<link type="/text/css" media="screen,projection" href="/StyleSheets/screen.css" rel="stylesheet" />

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

<meta content="text/html;charset=utf-8" http-equiv="content-type" />

</head>

<body>

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
Mentor ,
Jun 26, 2012 Jun 26, 2012

Copy link to clipboard

Copied

LATEST

Please check your menu URLs. They seems to be in this format "#work", "#about" etc.

Cheers,

-m

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