DOMINO DESIGNER

  • Hallo jeder!


    Entschuldigen Sie mich!
    But i do not speak German!
    But this was the only forum i actually found all over he internet related to Domino And Notes.
    Now if anybody could please answer this wich i believe is a simple question i would be more than thankful!.
    i have the following problem i need to import my webb application based on Java and html to Domino Designer in order to create a nsf file. What we are trying to achieve is to import a whole website to a .NSF file.. is that possible?? if so.. How can i do that?


    Thanks in advance and Bes Regards.


    JManCor.

  • Hello and a nice welcome from us :-),


    its not so easy to import a Website to a lotus notes Database... but the http task from Lotus Domino is nothing more like a modified apache webserver. This means it can be used to provide simple HTML Files which are not in a lotus notes database (*.nsf)...


    If you will move your website to a domino database you need to change some parts from it. May I ask you what parts your website include? Some formular or only pictures? Frames or no frames?

  • Ohh thank you!!
    Well it contains... javaScript files, images, no frames but some php code with smarty framework, swf files and i think that`s it.
    Thing is some of our clients uses Domino and Notes so we`ve been asked to link their website with the company`s Domino workspace (NSF databases) so we thought it was not gonna be hard to create a NSF database with all of our html,Js,swf,etc.. files from a regular website but now i realize it was harder than we thought.
    Is there any way to just import or link the website to a NSF file?
    if not, what any changes should i do?
    We`d love to use it on several flash based websites!
    Thanks so much for your rapid response!

  • 1.)
    you can add the PHP engine to domino its very easy...


    I only found some HowTo for Notes5 (at the moment notes 7 is the newest one)


    This howto can be found here:
    http://www.junkheap.net/projects/phpdom/


    2.)
    I doesn´t use smarty (I doesn´t like it)... but I think this isn´t so easy to put in a domino DB...


    3.)
    What do you mean "link to a website"? You mean create a nsf DB and when the user klick on it, the http://www.mycompany.com website will be opened in the browser?


    4.)
    I´m sorry... but import a website to domino isn´t so easy. It need to rebuild. The static part can be done in 1-2 hours I think... depending how big the DB is... but the PHP parts aren´t so easy. You need a running PHP engine, or it needs to be rebuild in Lotus Script / Lotus Formular


    Edit:
    found a new howto for 1.) on the IBM Domino Website....


    Does Domino server support running PHP CGI programs?
    http://www-1.ibm.com/support/docview.wss?uid=swg21099845

  • Yes, that`s pretty much what i was trying to achieve. Click on nsf BD and http://www.mycompany.com pops up in the browser window!.
    Im currently trying to place the website on domino web server but i just don`t know where to put the html files structure. Any hint? would you recommend another proceddure?


    Thanx in advance!
    Jmc

  • Thank you so much for the help provided. Now one more question!
    Im programming with Domino Designer 7 wich i downloaded from the ibm website. i recently notice that i can`t use the HTML pane.
    Is it disabled for the trial version?? is there anything i should do in order to have it enabled ?
    Anyways thank you again. I just started a new NSF database where im creating new pages with imported html files. Can`t apply CSS from the shard resources folder though. Any hint?


    Best Regards.

  • 1.) CSS-Files
    You can add the css-files to the "Shared Resources -> Style Sheets" and use a code like this here:


    Code
    "<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />" + @NewLine +
    "<style type="text/css" media="all">@import "/"+@WebDbName+"/style.css";</style>" + @NewLine+
    "<STYLE id=internalStyle type=text/css>BODY {    MARGIN: 0px; BACKGROUND-COLOR: #f0f0f0}</STYLE>" + @NewLine


    in your database.


    2.) HTML pane
    what does you mean?

  • Gess u couldn`t paste the code excerpt could you?
    Well, i just cannot enable the HTML PANEL in the View Menu. Its greyed and i don`t know why!


    Im trying to use a css file on the shared resources but it works terrible!! almost everytime i use it i can`t see anything but the images and some tables!
    Any hint?
    Best Regards

  • 1.) ups... sorry my fault, forgot to mark it as code.


    1a.)


    I think this will work also


    Code
    <style type="text/css" media="all">http:\\www.mydomain.de/testdb.nsf/style.css";</style>


    try to place it in the "HTML Header Content" part...



    2.) Can you add a screenshot which button you mean?



    3.) Maybe this here is very usefull for your small development:


    http://free.dominoserver.de/

  • Couldn`t fin a way to attach screenshots but!.. here`s the thing.. go to View->Action Pane on your Domino Designer. This feature will be enabled to be selected whenever we want but right below that one we got HTML Pane wich is disabled in my case and i really do not know why.
    Im using HTML files so it should be enabled!!


    Thanx again and best regards!
    Jmc

  • To attach a gif or jpg you have to press first the button "Durchsuchen".
    Now you will browse your mashine for the picture.
    Than you have to press "Hochladen" otherwise you will not be able to attach.


    After that it has to look like picture "attachment2.jpg".
    As usual you can now press "Abschicken"


    Best regards Steffen

    [color=0000CC]"Wir können Probleme nicht mit dem Denken lösen,
    das zu ihnen geführt hat." ( A. Einstein )[/color]

  • Hey thanx again. No probs i`ll just find the way to work around this! Im trying to build a web site from 0. Anyway thank you so much for all the help provided. I really appreciate it!


    Im sure here i`ll find everything i need!
    I became a Notes Designer user so i gess i`ll keep in touch.. thanx again and cya around!


    Best Regards
    Jmc

  • Alright Just Made it!.. i started a new page then imported some html file into the page selected all and edit->Convert to HTML it was almost magical!!!!!
    The last thing was to replace all that useless code with my own so notes designer was able to translate it to Notes!!!!
    umm i only got one question...How does the file structure works?
    For example in my HTML whenever i place an image i go like <img src="images/myimg.png"> because i got a folder named images where all the images are. But here where should i put the img files and how should i call them?? is it the same for css`s?? and JavaScript files???


    Im starting to make some improvements with this stuff!! and thanx for everything!
    BEst Regards!!


    Jmc