velvetrose
Paranoid (IV) Mad LibrarianFrom: overlooking the bay Insane since: Apr 2001
posted 09-23-2004 18:10
i tried using it in another thread, but the old code doesn't work anymore. what is the new code for using the faq icon?
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 09-23-2004 18:48
simply use the [threadId] syntax, and the icon will match the type of thread, that is : Faq, active thread, archived thread ...
velvetrose
Paranoid (IV) Mad LibrarianFrom: overlooking the bay Insane since: Apr 2001
posted 09-30-2004 13:21
testing:
using[id# of thread]
new members will find this of interest [reception]
[edit - that didn't work. the reception area is at Hi I'm new here (at the Ozone Asylum) what do I need to know?
[edit2 - i got the id# from the address bar to get that working
(Edited by velvetrose on 09-30-2004 13:55)
velvetrose
Paranoid (IV) Mad LibrarianFrom: overlooking the bay Insane since: Apr 2001
posted 09-30-2004 13:26
let's try a page with a # instead of a link name :P
another page of interest Asylum Etiquette
[edit - it works! ]
(Edited by velvetrose on 09-30-2004 13:28)
kuckus
Paranoid (IV) Mad LibrarianFrom: Berlin (almost) Insane since: Dec 2001
posted 09-30-2004 16:20
yup, that's how it's done =)
I'll move this to Getting to know the Grail for later reference.
kuckus
velvetrose
Paranoid (IV) Mad LibrarianFrom: overlooking the bay Insane since: Apr 2001
posted 10-01-2004 01:21
thanks to poi and skaarjj for clearing up the issue for me
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 10-01-2004 09:00
Skaarj ? doh! do I have a double personnality and nobody told me yet ?
Anyway, you're welcome
GRUMBLE
Paranoid (IV) Mad ScientistFrom: Omicron Persei 8 Insane since: Oct 2000
posted 10-05-2004 19:26
speaking of icons, i think there is a small problem with the favicon:
link rel="shortcut icon" type="image/png" href="http://www.ozoneasylum.com/images/layouts/ozoneasylum/favicon.ico"
i think it should be
type="image/icon"
or
type="image/x-icon"
then, it would also show up in the bookmarks.
btw: where are there so many absolute urls in the code?
Tyberius Prime
Paranoid (IV) Mad Scientist with FinglongersFrom: Germany Insane since: Sep 2001
posted 10-05-2004 20:08
added to the ->todolist , grumble.
Regarding the 'absolute' urls - grails can run anywhere and dynamically build their urls from their config file.
It was a lot less trouble than running into the whole 'website at /' vs website '/in/some/directory/' buisness.
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 10-05-2004 20:31
Regarding the absolute URLs, you could put a <base href="http//www.ozoneasylum.com/" /> in the HEAD. For this page it would save 13% ( 4683 bytes ) of the actual size of the HTML markup. The percentage seems to be the same for the main page of the Asylum.
GRUMBLE
Paranoid (IV) Mad ScientistFrom: Omicron Persei 8 Insane since: Oct 2000
posted 10-05-2004 20:41
hey poi, could you also calculate how much would be saved if the whitespace for indents would be left out?
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 10-05-2004 20:48
I suppose your kidding, but whatever, it takes 10 seconds to calculate that it would save 4.25% ( 1631 bytes ) on this page.
GRUMBLE
Paranoid (IV) Mad ScientistFrom: Omicron Persei 8 Insane since: Oct 2000
posted 10-05-2004 21:07
what software do you use to count those certain whitespaces?
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 10-05-2004 21:13
I've copy pasted the HTML markup in UltraEdit , noted the file size, selected the whole thing and pressed Shift+Tab till it was fully unindented and then noted the new file size. I know a REGEX replace does the job faster but I find it easier to bash Shift+Tab like a monkey
(Edited by poi on 10-05-2004 21:17)
GRUMBLE
Paranoid (IV) Mad ScientistFrom: Omicron Persei 8 Insane since: Oct 2000
posted 10-05-2004 21:26
cool idea!
so, tyberius, this would be another thing i would add to the to do list. but its of course not very important.
poi
Paranoid (IV) InmateFrom: France Insane since: Jun 2002
posted 10-05-2004 21:56
Well, since the mod_gzip is activated, the advantage to trim the HTML markup are almost null.
(Edited by poi on 10-05-2004 22:00)
Tyberius Prime
Paranoid (IV) Mad Scientist with FinglongersFrom: Germany Insane since: Sep 2001
posted 10-05-2004 22:27
that, and I always rather liked it that you could actually *read* the html the grail outputs.
GRUMBLE
Paranoid (IV) Mad ScientistFrom: Omicron Persei 8 Insane since: Oct 2000
posted 10-05-2004 23:07
ok. i see.
Skaarjj
Maniac (V) Mad ScientistFrom: :morF Insane since: May 2000
posted 10-12-2004 02:16
quote:poi said:
Skaarj ? doh! do I have a double personnality and nobody told me yet ?
Haaa...I wish I was helping velvetrose over ICQ that night.
king author
Nervous Wreck (II) InmateFrom: cell block c Max security Insane since: Nov 2005
posted 11-30-2005 19:46
quote:
Skaarjj said:
quote:
poi said:Skaarj ? doh! do I have a double personnality and nobody told me yet ?
Haaa...I wish I was helping velvetrose over ICQ that night.
Good one!!!!
KingAuthor