Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorccorsani
    • CommentTimeMay 20th 2010
     permalink
    Hi all.

    My old blog was based on dblog cms. I'm moving to flatpress because I want to be databaseless and because is very light and nice. In dblog posts are in html inside .txt files. I tried to put this files inside the right place in fp-content, I edited these files adding a line like: "VERSION|fp-0.909.1|SUBJECT|my subject|CONTENT|my content" and everything works after rebuilding the index. The hardest job is to edit every files adding the right informations.

    The problem is in <img> tag as <img hspace="4" align="left" vspace="4" alt="" src="http://www.cryx.it/public/image.gif"/> must be transformed in: <img hspace="4" align="left" vspace="4" alt="" src="/fp-content/images/image.gif"/>, putting image.gif inside fp-content/images ... right? I tried it and works. Is it the right way to use img links in html?

    I wanto to migrate my old posts in a way such upgrade of flatpress will works in the future.

    Thanks
    •  
      CommentAuthorNoWhereMan
    • CommentTimeMay 20th 2010
     permalink
    your links can point to whatever path you prefer, so if you want to put your images to /public/ just do it ;)

    (if you want to use bbcode and the [img=images/myimage] to be translated into <img src="/public/images/myimage" ... /> just change IMAGES_DIR accordingly in defaults.php)

    bye
    •  
      CommentAuthorccorsani
    • CommentTimeMay 21st 2010
     permalink
    that's right ... I can use a public dir for old posts ... a stupid solution :-)

    I prefer to not chage IMAGES_DIR, in this way news post will be in standard form.

    thank you