Skip to main content Help Control Panel

YACS CMS : Open source !

Community «   Discussion forum «   Bug tracker «  

Splitting Articles into seperate pages. Caching to disk ? Customising various messages/text ?

avatarRhodes, Nick -- on Aug. 21 2006, from West Yorkshire, UK
YACS team (UK)
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 ?
Bernard
avatar
from nearby-an-airport
Associate, 7053 posts

on Aug. 22 2006


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
avatar
from nearby-an-airport
Associate, 7053 posts

on Aug. 22 2006


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
avatar
from nearby-an-airport
Associate, 7053 posts

on Aug. 22 2006


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
avatar
from West Yorkshire, UK
345 posts

inspired from Bernard on Aug. 23 2006


" To split pages just use the keyword [page] on page boundary within article main content area. "


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
avatar
from nearby-an-airport
Associate, 7053 posts

inspired from NickR on Aug. 26 2006


" what location would be best for temporary cache files? "


Well, maybe a directory named cache would do the job?

 
Share
Information channels
Recent files