Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Cushy CMS, NOF10 and google / SEO

  1. #11
    Senior Member Adendum's Avatar
    Join Date
    Apr 2010
    Location
    London (UK) & Granada (Spain)
    Posts
    926

    Default

    Chris,

    OK, progress then. Obviously still a few issues but I'm sure we can work through them.

    Text wrapping:
    As with most NOF usage there are several ways to tackle the issue. If the standard formatting options don't do what you want then go ahead and place the image in a table cell and your text in another cell. I use both depending on how I want the page to look.

    Home page include:
    If you are not seeing images it will be because the include statement has the wrong path. Check my first post as that shows two includes. One specifically for the index or home page and the other for all other pages. If you have the correct syntax and the images are still not appearing then you need to look at the page you are including and see where that is looking to for its images. I can see from the source the content of your home page states <img style="width: 326px; height: 387px;" alt="" src="cms-index_3_2473742667.jpg"> so it's going to be looking for an image in the HTML folder called cms-index_3_2473742667.jpg. I'm guessing that it is now in your assets folder?

    Your Google map is fine as is. I assume you drew a text box and CTRL+T'd then pasted the Google code into that. That sits in your page and the page gets included.

    Markup Clean Up:
    Take a look at the source of your home page now. Scroll down a bit and look for the SECOND doctype. None of that is now needed. So remove that when you have FINISHED the page and you have published the client editable page for the LAST time.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>cms-Index</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <meta name="Generator" content="
    ">
    <meta name="Keywords" content="bank, bias, bowl, bowler, bowling, bowls, club, clubs, deliver, delivery, ditch, draw, drive, end, game, grass, green, greenkeeping, head, host, jack, lawn, mat, movement, play, player, rink, sport, Holidays, holidays, uk, website,wymeswold, leics,leic">
    <link rel="stylesheet" type="text/css" href="../html/style.css">
    <link rel="stylesheet" type="text/css" href="../html/site.css"></head>
    And a tip:
    If you don't already install Firefox and then install Firebug and Web Developer add-ons. A fabulous set of tools for web page inspection.
    Paul - Aditerum Ltd and AllSortsOfStuff Ltd
    NOF11 (in Admin mode!); Vista Premium 64bit; AMD Phenom IIx4 945 Processor 3.00Ghz; 8.0Gb RAM
    Wouldn't it be great if there was only a single browser to worry about!!!

  2. #12
    Junior Member
    Join Date
    Mar 2011
    Posts
    6

    Default

    Great- as you say good progress.
    The pics- as you say home page is looking for the pic in the folder it is in (root). Default for asset publishing in nof for index.php is the root, the other pages in html and the picture is actually in /html folder so it can't find it.
    All the other pages are in /html so no problem! I think I'll have to publish flat unless you know better?

    Map was inserted as you said using the google iframe text.

    Already use web developer and will try firebug, looks handy. Thanks for markup clues and your time. Chris
    Last edited by rockingh; 03-07-2011 at 04:49 PM.

  3. #13
    Senior Member Adendum's Avatar
    Join Date
    Apr 2010
    Location
    London (UK) & Granada (Spain)
    Posts
    926

    Default

    Chris,

    Almost there then

    So the only real issue is locating the 'missing' image. If you have one NOD and publish by asset type the images should all be found as normal. Images get stuffed into the folder assets/images so your index page content should be looking at assets/images/image_name.jpg but it's pointing to the root folder. I guess that means your assets need to be re-applied in each page layout as they seem to be sticking to your original publish method.
    Paul - Aditerum Ltd and AllSortsOfStuff Ltd
    NOF11 (in Admin mode!); Vista Premium 64bit; AMD Phenom IIx4 945 Processor 3.00Ghz; 8.0Gb RAM
    Wouldn't it be great if there was only a single browser to worry about!!!

  4. #14
    Junior Member
    Join Date
    Mar 2011
    Posts
    6

    Default

    Paul
    I've checked all settings, stated a new cushy site but still the same.
    But I still think it will need to be published flat. As you know NOF puts index in the root and other pages in /html folder.
    My images brought in by cushy are all in html folder with all the other pages except index. So surely if the pages call an image from its same folder it will work but the index in another folder won't.
    Not trying to teach anyone to suck eggs but have you tried adding a image to an index page with cushy?
    Many thamks

  5. #15
    Senior Member Adendum's Avatar
    Join Date
    Apr 2010
    Location
    London (UK) & Granada (Spain)
    Posts
    926

    Default

    Ahh, yes I do seem to remember Cushy dumps stuff anywhere. I've not used Cushy for a couple of years now. I switched to SurrealCMS and that system allows you to set specific folders for media so the client uploads images to a named folder.

    If you move your index content page from the HTML folder to the root folder the problem goes away.
    Paul - Aditerum Ltd and AllSortsOfStuff Ltd
    NOF11 (in Admin mode!); Vista Premium 64bit; AMD Phenom IIx4 945 Processor 3.00Ghz; 8.0Gb RAM
    Wouldn't it be great if there was only a single browser to worry about!!!

  6. #16
    Junior Member
    Join Date
    Mar 2011
    Posts
    6

    Default

    Paul, I've changed it to flat and it works very well there.
    The index was in the root and all others are in html. I suppose I could have moved index to html and pointed domain at that but its a problem for uploading.
    But it seems fine so I'm happy and many thanks for your time.
    I don't suppose theres any downside to publishing flat??? If anybody knows different plse let me know.
    Chris

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •