Topic: faq icon (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=23410" title="Pages that link to Topic: faq icon (Page 1 of 1)" rel="nofollow" >Topic: faq icon <span class="small">(Page 1 of 1)</span>\

 
velvetrose
Paranoid (IV) Mad Librarian

From: overlooking the bay
Insane since: Apr 2001

IP logged posted posted 09-23-2004 18:10 Edit Quote

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) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 09-23-2004 18:48 Edit Quote

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 Librarian

From: overlooking the bay
Insane since: Apr 2001

IP logged posted posted 09-30-2004 13:21 Edit Quote

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 Librarian

From: overlooking the bay
Insane since: Apr 2001

IP logged posted posted 09-30-2004 13:26 Edit Quote

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 Librarian

From: Berlin (almost)
Insane since: Dec 2001

IP logged posted posted 09-30-2004 16:20 Edit Quote

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 Librarian

From: overlooking the bay
Insane since: Apr 2001

IP logged posted posted 10-01-2004 01:21 Edit Quote

thanks to poi and skaarjj for clearing up the issue for me

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 10-01-2004 09:00 Edit Quote

Skaarj ? doh! do I have a double personnality and nobody told me yet ?
Anyway, you're welcome

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-05-2004 19:26 Edit Quote

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 Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-05-2004 20:08 Edit Quote

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) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 10-05-2004 20:31 Edit Quote

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 Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-05-2004 20:41 Edit Quote

hey poi, could you also calculate how much would be saved if the whitespace for indents would be left out?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 10-05-2004 20:48 Edit Quote

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 Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-05-2004 21:07 Edit Quote

what software do you use to count those certain whitespaces?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 10-05-2004 21:13 Edit Quote

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 Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-05-2004 21:26 Edit Quote

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) Inmate

From: France
Insane since: Jun 2002

IP logged posted posted 10-05-2004 21:56 Edit Quote

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 Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-05-2004 22:27 Edit Quote

that, and I always rather liked it that you could actually *read* the html the grail outputs.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

IP logged posted posted 10-05-2004 23:07 Edit Quote

ok. i see.

Skaarjj
Maniac (V) Mad Scientist

From: :morF
Insane since: May 2000

IP logged posted posted 10-12-2004 02:16 Edit Quote
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) Inmate

From: cell block c Max security
Insane since: Nov 2005

IP logged posted posted 11-30-2005 19:46 Edit Quote
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



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu