Author Topic: BB or HTML in Description  (Read 6385 times)

0 Members and 1 Guest are viewing this topic.

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
BB or HTML in Description
« on: April 10, 2005, 04:07:28 PM »
Hi there,

is there a way to have BB oder HTML in the description of the Categorie???

I have test it and now i see it in this form

Quote
Sollte das Video nicht zu sehen sein dann muss der [url.=http://www.apple.com/de/quicktime/download/]Quick Time Player[/url] installiert werden.

But i want the Link clickable....
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: BB or HTML in Description
« Reply #1 on: April 10, 2005, 04:38:09 PM »
something like this http://photo.overlord.cz/categories.php?cat_id=16&l=deutsch:wink:

then open categories.php and find

Code: [Select]
  "cat_description" => $cat_cache[$cat_id]['cat_description'],
replace with

Code: [Select]
  "cat_description" => format_text($cat_cache[$cat_id]['cat_description']),
works fine for me...
MAяTRIX


Offline Jo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Jo´s Homepage
Re: BB or HTML in Description
« Reply #2 on: April 10, 2005, 06:33:26 PM »
Also bei mir geht´s einfach mit HTML!  :roll:

Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: BB or HTML in Description
« Reply #3 on: April 10, 2005, 09:00:15 PM »
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: BB or HTML in Description
« Reply #4 on: April 10, 2005, 11:41:36 PM »
then try to replace it with

Quote
  "cat_description" => format_text($cat_cache[$cat_id]['cat_description'],1),

The red characters are new...

(for more clues find function format_text in includes/function.php)

;)

MAяTRIX


Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: BB or HTML in Description
« Reply #5 on: April 11, 2005, 05:31:03 AM »
Hi there,

is there a way to have BB oder HTML in the description of the Categorie???

I have test it and now i see it in this form

Quote
Sollte das Video nicht zu sehen sein dann muss der [url.=http://www.apple.com/de/quicktime/download/]Quick Time Player[/url] installiert werden.

But i want the Link clickable....

HTML is already allowed in category descriptions so just use
Code: [Select]
<a href="http://www.apple.com/de/quicktime/download">Quick Time Player<a>

Offline Jo

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • Jo´s Homepage
Re: BB or HTML in Description
« Reply #6 on: April 11, 2005, 11:24:42 AM »
hhmmm,

doesn´t work


see this -> http://www.terraristik-galerie.de/categories.php?cat_id=84

Hmm I see, but I am wondering why your mailto-link works fine.
How did you insert ist? bbcode or HTML-tag?
As I said in my gallery description HTML-tags work fine.
My gallery is 1.7 too.

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: BB or HTML in Description
« Reply #7 on: April 11, 2005, 03:28:45 PM »
That looks like if: BBcode works, HTML not :)
MAяTRIX


Offline JensF

  • Addicted member
  • ******
  • Posts: 1.028
    • View Profile
    • http://www.terraristik-galerie.de
Re: BB or HTML in Description
« Reply #8 on: April 11, 2005, 04:45:03 PM »
then try to replace it with

Quote
  "cat_description" => format_text($cat_cache[$cat_id]['cat_description'],1),

The red characters are new...

(for more clues find function format_text in includes/function.php)

;)




Thanks, this works fine....
Mit freundlichem Gruß
Jens Funk



-> Sorry for my bad English <-