Not signed in ( Sign In)


Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentTimeFeb 18th 2008
    i would like to know how to make external link!
    i have to modify the static file "links" to add-remove link, and i have done it.
    i put a new link like this
    [*][url="" target="blank"]google[/url]
    it's working, but open google in the same window! i would link that he open google in a new windows, as the code with target="blank" do with html
    how can i do to resolve it?
    • CommentTimeFeb 19th 2008 edited
    With XHTML 1.0 strict you can't use the "target" element.

    Change in the header.tpl of your chosen theme the DocType to:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

    Then next step, change your "target="blank" to


    Don't forget the "underscore".
    • CommentTimeFeb 19th 2008 edited
    the new version will add a class ('link-external' IIRC) to links beginning with http:// ; this way you'll be able to hook them with mootools via

    externallinks = $$('')

    really, you can still accomplish the same behaviour already (always via js)

    actually the css class is really intended to style in a different way those classes so that you're visually informed of their nature of external links (for instance an icon as in wikipedia or on our wiki)

    • CommentTimeFeb 20th 2008
    @laborix: i have done as you said me, but still not working! i change the header row and upload the new file. then, i go to edit my link and i wrote
    [*][url="" target="_blank"]google[/url]
    but still not working...

    @NoWhereMan: i haven't really understand what you said me to do (also in italian if you want ;) )

    @everybody: another question: how can i change the order of the right area? for example, how to put the categories as the first element?

    • CommentTimeFeb 20th 2008 edited
    il suggerimento di laborix riguarda l'html puro, non [url] che NON supporta _target: per avere la possibilità di usare _target devi inoltre cambiare la DTD da strict a transitional.

    Una cosa che potresti fare è aggiungere un javascript che faccia questa operazione di aggiungere i _target per te; nella nuova versione ho aggiunto delle classi CSS che, oltre a facilitare un compito simile, permettono anche di fare una cosa un po' più carina: stilizzare il link in modo diverso (ad esempio con un'icona) per segnalare che il link è esterno: le regole WAI sconsigliano l'apertura di nuove finestre, e flatpress non prevede tale opzione per forzare chi usa flatpress a "fare la cosa giusta".

    per quanto riguarda l'ordine della barra, basta che riordini gli elementi dal pannello widgets