Oh, I think I understand now.
I thought I could just import my html and css documents, but it seems as I have to redo the whole website to modx language right?
I managed to add a new template, up till now I had only used the regular files. But I can’t seem to find anywhere where I can put my css.
-
☆ A M B ☆
- 24,524 Posts
Usually we have a folder in the assets/templates folder for our template, and keep template-specific stuff like .css files and background images in there. However, you can put them anywhere you like, you just need to link to them in your template head, just as you do any HTML document.
yes ... well .. redo the site .. if you have an existing site you can ’import’ it ... tools > import site from html ...
Of course this still would require rework in MODx (checking links etc... ) But I have used it for migrating a dreamweaver / contribute website to MODx ..
the site was already using the template function of dreamweaver so what i did was create a very bare version : almost no layout and then import it
and then lay layout ontop through the very easy to learn templating language ...
I really only need modx for one thing now, so I’m asking here.
Is there an addon or something that adds a WYSIWYG-editor that adds whatever I write to a .php file and makes it a list?
I mean, like it should be able to make a new page with the tutorial, but at the same time print the title, time and adress to the tutorial in a .php file.
This way I could just add some <?php include("newtuts.php"); ?> in the <ul class="list"></ul>