From: Marc G. F. <sc...@hu...> - 2011-02-14 15:35:54
|
okay, this definitely helps ... time to do some code tracing, see if I can't figure out what is breaking, and where ... it either in the sql query, or in the caching ... On Mon, 14 Feb 2011, Shane Zatezalo wrote: > As for caching: Slashcode isn't designed to be constantly restarted over and over to add things. It's designed for stability and uptime. Caching is done via the Slash object (ie within Apache), minimally, and then they use memcached, and eventually mysql's own caching. So you would tend to either: > > 1) attach a file to a story > 2) put a file into images.example.com and reference it in your story > 3) create your own theme, put that into your own SCM repo, install the slashsite using your theme. then reference the file(s) via html/css. test/rinse, repeat, when it's done you deploy to production. when your theme gets an update, you run make install on all webheads/fileservers involved. > > As for blocks/portals: I'm sorry, I don't remember. It's been too long. I do recall they were confusing to me, too. Google it there's got to be prior discussions about it out there. > > Ordernum: is how the ORDER BY .... is done. > > Looking at your screenshot, the skin, the type, and the block_id I recall being pertinent. Because you could set a block to show in more then one skin. I do not remember why there is a pulldown that has 'portald' as allowable value for 'type', but then a 'portal' checkbox, too. > > Shane > > > On Feb 11, 2011, at 9:59 PM, Marc G. Fournier wrote: > >> >> Okay, there has gotta be a few things I'm missing here that are obvious to soemone that has used this extensively ... >> >> 1. where are files cached? Do I seriously have to restart the apache server each and every time I make a change, or is there a file I can touch / remove on the file system to force it to reload? >> >> 2. how do blocks / portals work? For instance, I just changed a single value in Blocks -> poll: OrderNum from 2 -> 3 ... not the poll is gone .. change it back to 2, and its *still* gone ... I've even tried restarting the web servrer, jsut in case ti was cached somewhere in there, and nothing ... >> >> 3. and what *is* the Ordernum? Can two portals have the same Ordernum? >> >> All I want to do right now is getting a portal/RSS feed in place that will pull in thte commit messages from Git ... the portal seems to be right, but I can't get it to display ... :( see http://hub.org/~scrappy/haxlash.png to see how I have it setup, and please point me to the errors in my knowlege :( >> >> >> >> ---- >> Marc G. Fournier Hub.Org Hosting Solutions S.A. >> sc...@hu... http://www.hub.org >> >> Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:sc...@hu... > > ---- Marc G. Fournier Hub.Org Hosting Solutions S.A. sc...@hu... http://www.hub.org Yahoo:yscrappy Skype: hub.org ICQ:7615664 MSN:sc...@hu... |