Loading...
 
Features / Usability

Features / Usability


Aw: Re: Aw: using TXT files as content ?

posts: 1563 Germany

Hi smallhagri9d,

filemanagement and editing

'I would love to use the 'file gallery' to build up a document tree.
I would also prefer to upload my files and then make any changes to the info in them online, always. ..."
To make some minor changes the system is already usable, but really any changes online always, we are far away from. I am pretty sure, that WebODF will have this capabilities someday, but development needs time. And I do not know how many people are in this project.:
But generally for now and midterm you still download the file, edit it in the office software and upload it as replacing new version.
=> Note: maybe, as you only use plain text, you might be fine with online editing.
=> But then, if your plain text containes code, you would not have code highlighting via WebODF
=> in your specific case, using WebODF and ODT files but use them just as .txt-alike without any formatting it might work in the way you wish - so just and only online after once created and uploaded.

> With .txt you will not have so much possibility (not any) to show and to edit online.
"...Is there any file format I can convert (batch) these files into that WILL directly display & edit using WYSIWYG ? (I have an app that would easily batch them all to HTML, for example...) .,."

As said, you should use the "textpart" of ODF, so ODT, which is the format used by OpenOffice Writer, LibreOffice Writer, KOffice and further more applications.

"Questions, please:

"... 1. How do I make sure I have this latest editor ?"


Latest Tiki Latest Editor
Tiki has an All-In-One-Modell and we upgrade always the whole software included all modar elements, functions, ...
In Tiki we have not things like forum 4.3 works or works not with editor 5.7 or articles 4.8

"... 2. When I create a page I get this message:"

"Thank you for trying the new ckeditor implementation for Tiki 6
Some of your preferences should be set differently for this to work at it's best. Please click this to apply the recommended profile: WYSIWYG_6x"
I do not understand what to do about this - could you please help me ?

It is easy to apply a profile - whilst you should know about what you are applying before you use profiles in a productive environment.

Go to the admin area - direct link: yourdomain.com/tiki-admin.php

There you look for a button "profiles" and click (it's between "community" and "look and feel")
direct link: yourdomain.com/tiki-admin.php?page=profiles

right hand there is kind of a searchform where you type in: WYSIWYG

On a list of results you click on WYSIWYG_6x

Then you should find a button "apply"

With the given information, the whole thing should be quite selfexplaining and need not more than 3 or 5 minutes.

"... 3. How can I make page attachments appear inline (thence becoming editable text...) ?"


I do not work much with wikipageattachments. But I think it should work the same way as with files from file galleries, which I explain below.

Generally you can use the Plugin Media Player, which is explained here:
documentation: http://doc.tiki.org/PluginMediaPlayer

Very nice with mp3 and videos stored in the file gallery.

pdf: I got it not working with pdf in the file galleries -> in my setup they did not show up inline
But if I store pdfs in a normal folder on my server with a subdomain and link to them from the Plugin Media Player as src="sub.mydomain.com/filename.pdf" the pdf are shown inline aswell - seems to be some improvement needed

odt/odf: you can access odf files directly from the file galleries. afaik WebODF is not integrated in the way to be shown inline in pages.
But you can show inline a list of files out of a file gallery with the Plugin Files and use the show/edit WebODF functionality in the wikipage from there
documentation: http://doc.tiki.org/PluginFiles

"... 4. I wish to enable Dir (vs. DB) file storage=> but the text box for this does not say what sort of path it wants. Does this mean complete or absolute or URL - may I have an example of the correct path entry, please ??? ..."


Ok, it is strongly recommended not to store files in the database - a) security, b) size of the database.

Standart directory for the database is /files in the tikiroot, which is also strongly recommended not to be used.
We just have it to prevent loosing files.

You should use a files directory for example a level higher than the tikiroot - so "outside" the are that you can access via the domain you applied to your tikiroot.

I show you how I do that (just textbased - I will have to do some screenshots and a documentation page for that lateron (should have done since a long time ;-) )

Advance Information / Prerequisites:


In my projects I start always from the server root of my webhost or from the webserveraccount with a folder/directory /tikiwebsites.
Then I put in several containers /tikiwebsites/website1 /tikiwebsites/website2 /tikiwebsites/websitex and so on
now in /tikiwebsite/website1 I have a directory /files and a directory for each tikiversion - I alsways upgrade with a fresh installation (where I do not run a site from svn, which is a bit advanced. so leave it for now with normal download tiki as zip and unpack in the appropriate directory on the server)
Keeping the original installation and upgrade in a new directory with a copy of the database has some advantages, but to explain that in detail would be too much for the moment ;-)

i do not know which version you are using - I pretend Tiki 8.3 Stable

So in my case you would find the tikiroot here:

/tikiwebsites/website1/120225_83_STABLE/tiki-8.3

/tikiwebsites
/website1
/120225_83_STABLE
Are directories which I created by myself as preparation for the tiki installation.
They are just containers which help me to organise several Tiki installations in one server account and keep the serverroot clean.

/120225_83_STABLE as just a container, is not necessary, but has some advantages in respect of exactly knowing what is where, in respect of using .htaccess and so on
/tiki-8.3 is the folder that you get automattically when you unzip your downloaded tiki file into /120225_83_STABLE - /tiki-8.3 is your tikiroot (maybe named slightly different - I do not know exactly, as I am working with the developmentversions all named /trunk ;-) )

Standart files directory is now:
/tikiwebsites/website1/120225_83_STABLE/tiki-8.3/files
Database credential are here:
/tikiwebsites/website1/120225_83_STABLE/tiki-8.3/db
Styles/Themes are here:
/tikiwebsites/website1/120225_83_STABLE/tiki-8.3/styles
and so on

Setting Up:


With FTP acces you now setup a set of empty directories
EITHER in
/tikiwebsites/website1 (Case 1)
OR in
/tikiwebsites/website1/120225_83_STABLE (Case 2)

you need a directory
/files
and subdirectories
/files/batchupload
/files/filegallery
/files/wiki
/files/tracker
/files/forum
/files/podcast
/files/podcast/audio
/files/podcast/video

The path for the filegallery to type in into the adminpanel would be as following:

Case 1:
../..//files/filegallery
Case 2:
../files/filegallery

Wikiattachments go here:
Case 1:
../../files/wiki
Case 2:
../files/wiki

The two dots .. befor the slash / will tell your server to "move up" a directoirylevel.
If you would not type the two dots - only one dot ./files or no dot /files, then your server would stay in the tikiroot and look for the files there.

with ../files the server goes up on level into the container directory /120225_83_STABLE
with ../../files the server looks for the files directory two level higher in the directory /website1

Both cases have advantages and you can move the whole directory /files lateron up or down and just need to adjust the path in the admin panel, for that the tiki finds the files again.
So just chooes one of the two options, like you want.

"... Just the info/text is what I need, so I can keep it someplace instead of my old brain - because it falls right out of that !!! ..."

Wiki

So why working with textfiles at all?
Couldn't you aswell could work with wikipages instead of txt files?

Cheers
Torsten

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting