Oneness - True Faith Forum Index
All Posts (wizanda)
« 1 ... 362 363 364 (365) 366 367 368 ... 554 »
All Posts (wizanda)
« 1 ... 362 363 364 (365) 366 367 368 ... 554 »
wizanda | Re: Streamlining of our site
Posted on: 2007/3/28 14:14 |
|
---|---|---|
Helper
Joined:
2004/3/26 7:04 From Nottingham, UK
Posts:
2801
|
Tell me when we are going fast enough just keep tidying lately, so can handle lots of people and still be fast....so intrested on feed back ??
| |
N B with U | ||
Transfer Print PDF Bookmark |
wizanda | Re: How to make a module header be in the head of a document using Xoops
Posted on: 2007/3/27 13:36 |
|
---|---|---|
Helper
Joined:
2004/3/26 7:04 From Nottingham, UK
Posts:
2801
|
||
N B with U | ||
Transfer Print PDF Bookmark |
wizanda | Loading Xoops from a JavaScript Template Theme
Posted on: 2007/3/27 12:13 |
|
---|---|---|
Helper
Joined:
2004/3/26 7:04 From Nottingham, UK
Posts:
2801
|
This is on continued research from when I found someone had made a cached file, which was purely htmlin a JavaScript file so making it store as a cache before and after loading.
A JavaScript file can be loaded dynamically and stores it's self for some reason, I noticed during the experimentation of our theme in parts........ Yet someone mentioned they didn't believe it was a good principle and I my self also questioned parts of the idea in terms of the more retrieval of files Smarty makes and needs to include the longer it takes, which is visible in the Smarty debug. So how to go about changing everything to JavaScript reason for this: 1) When making addition in the standard html theme of JS calling items it is noticeable faster on inputs and then return as JavaScript is meant for. 2) On concurrent reloading of pages, JavaScript remains in the browser longer then Html. 3) the file included is not included by the browser, yet runs through Smarty, thus making Smarty store the item longer So on this I decided I prefer Smarty loading a JavaScript Template and made it load our whole theme, not parts and tested the speed of inclusion through Smarty's debug, which is the same or faster then Html or Tpl to begin. So making all the addition of a faster loading template file which JavaScript provides; with less over head for end users and quicker loading times of inputting any data through it. The file where this is configured in Xoops is class/theme.php and needs the extension changing, at present I didn't also change the type of data it will find as it is still text/html as the content is the same just now read from a JavaScript file for the theme. | |
N B with U | ||
Transfer Print PDF Bookmark |
wizanda | Xoops and Smarty Sub Directories
Posted on: 2007/3/27 11:56 |
|
---|---|---|
Helper
Joined:
2004/3/26 7:04 From Nottingham, UK
Posts:
2801
|
Since many Xoops sites using Smarty contain many files inside Cache and Template_c, the option to have sub-directories makes more sense to be switched on not off as it is currently.
This allows things like links and Tags which have huge file list for caches, these can then be found separately and thus making a more flick through page approach as currently Xoops can get lost when the files cached becomes to large. same applies on template_c which is also placed in Sub-directories for faster referencing of where the templates are. Option is present in class/templates.php set the option to true instead of false, clear template_c as it isn't automated and refresh general property page, so cache is cleared automatically and then Xoops will assign folders to modules for making a faster retrieval time on large scale sites.
Quote:
| |
N B with U | ||
Transfer Print PDF Bookmark |