Wedge
Public area => Bug reports => The Pub => Archived fixes => Topic started by: live627 on June 12th, 2013, 05:47 AM
-
I have my cache disabled but every time I refresh, new lang cache files appear.
-
That's completely intentional. The language cache is separate to the regular backend. Only the regular backend is touched by that setting.
It's done that way because otherwise you'd have quite a few queries per page. The language cache is designed to be long term and changes should be done via the admin panel.
-
Yeah, the only drawback is that Wedge doesn't automatically updates files when needed, so each time I update the website, I have to manually remove the files from the cache folder, which is pretty boring to do...
-
You don't use the button I specifically added for you? :sob:
-
That would imply typing my pw to access the admin area, because only Opera supports this in its wand.
Maybe, if we rewrote the admin login to ask for the user name as well..? Then it'd be supported by Chrome's auto-fill... :^^;:
-
It might have been nice if this had been mentioned sooner, I wouldn't have wasted time adding it to the admin panel :P
But no, I'm still not changing the language caching to adhere to the other caching settings.
-
It might have been nice if this had been mentioned sooner, I wouldn't have wasted time adding it to the admin panel :P
I used it a couple of times in the beginning, but then I got bored of entering my password, that's all.. Doesn't mean I won't use it again -- if anything, once I get bored of emptying the cache folder manually..... :lol:
Actually, I'd even forgotten about the feature, eh... :^^;:
So, do you have any idea why Chrome will outline the password confirmation area (indicating that it HAS it stored in its database), but won't fill it in by default..?
-
That would imply typing my pw to access the admin area, because only Opera supports this in its wand.
Maybe, if we rewrote the admin login to ask for the user name as well..? Then it'd be supported by Chrome's auto-fill... :^^;:
Admin login password auto-fills in Firefox.
-
Yup, probably, but not in Chrome, which is what I'm using these days, either through Chrome Canary, Opera 15 or Sleipnir... ;)
-
I don't let my browser save passwords in the first place, so no idea, sorry.
I guess I could write a plugin that you can use here to trigger it that only requires a GET session check rather than a POST session check and let you put it in the main admin menu?
-
Hmm, dunno... Well, OTOH, if it's a plugin, it's a no-brainer. ;)
Good idea, I'd say... :D
-
You mean like this? (10 minutes work)
OK, it isn't pretty, it doesn't have a magic language string or anything for the menu item but that's probably for the best...
-
You mean like this? (10 minutes work)
OK, it isn't pretty, it doesn't have a magic language string or anything for the menu item but that's probably for the best...
It's perfect!
-
My hero!
Changed the code to this, so that the entry is at the end, and separated with a rule:
$items['admin']['sub_items'] = array_merge(
$items['admin']['sub_items'],
array(
'',
'langcache' => array(
'title' => 'Flush Lang Cache', // Don't need to load something every page just for this!
'href' => '<URL>?action=langcache;' . $context['session_query'],
'show' => we::$is_admin,
)
)
);
-
Heh, I figured you'd probably move it around but that's the beauty of it, it's not exactly hard to do ;)
-
Still don't have a clue about making plugins, but modifying them sure is fun!!
Gotta make lots of 'dummy' plugins, to inspire future authors!
-
Well, you see how the plugin works, right? Just do that again...
-
Always got something more important to do... Sasuga Nao desu!
G'night!