Community « Discussion forum « Bug tracker «
Splitting Articles into seperate pages. Caching to disk ? Customising various messages/text ?
Hi
Been playing with YACS for a few days. It seems to do what I want, the only thing I have not seen is the ability to split an article into seperate pages.
I plan on uploading a lot of photos that belong together and I think they best all sit together in one articles, but if I have many thumbnails I only want to display 20 at a time, is this possible ?
Also, I noticed caching is done to db... on our memory starved server, reading cache files off the filesystem is faster than from the db, would be a great option if possible.
In various areas there is standard text for the about page or if you fail to login or the page footer, is it possible to customise these items at all ?
Been playing with YACS for a few days. It seems to do what I want, the only thing I have not seen is the ability to split an article into seperate pages.
I plan on uploading a lot of photos that belong together and I think they best all sit together in one articles, but if I have many thumbnails I only want to display 20 at a time, is this possible ?
Also, I noticed caching is done to db... on our memory starved server, reading cache files off the filesystem is faster than from the db, would be a great option if possible.
In various areas there is standard text for the about page or if you fail to login or the page footer, is it possible to customise these items at all ?
| Bernard from nearby-an-airport Associate, 7053 posts | Well, you have put several questions in a single post, right? To split pages just use the keyword [page] on page boundary within article main content area.
|
| Bernard from nearby-an-airport Associate, 7053 posts | Maybe you could look at the file shared/cache.php and change code there? If you are sucessful to implement cache based on files, this would be used in a next reference version, ok? |
| Bernard from nearby-an-airport Associate, 7053 posts | At the moment strings used by YACS are encoded within scripts. In future version, and because of internationalization, these will be put in external files. Then it will become quite easy to adapt almost everything... |
NickR![]() from West Yorkshire, UK 345 posts |
"
To split pages just use the keyword Perfect, works great with lots of images. " Maybe you could look at the file shared/cache.php and change code there? If you are sucessful to implement cache based on files, this would be used in a next reference version, ok? " It could be a good php-learning exercise for me. But might need you help, eg do you have any file operation functions already, what location would be best for temporary cache files ? " At the moment strings used by YACS are encoded within scripts. In future version, and because of internationalization, these will be put in external files. Then it will become quite easy to adapt almost everything... " OK. I have another site that would be really useful to convert to YACS, but it really needs to have the ability to customise nearly all the text. It can stay as it is for now though. |
| Bernard from nearby-an-airport Associate, 7053 posts |
" what location would be best for temporary cache files? " Well, maybe a directory named cache would do the job?
|

