Page 1 of 1

title field...

Posted: 08 Dec 2009, 22:58
by HosHi
can I change the field "title" as the change which, if it exists, description of this picture as a title?

Image

Re: title field...

Posted: 09 Dec 2009, 18:32
by Jan
Hi, no there is no such option, this must be customized in the code :(

Re: title field...

Posted: 10 Dec 2009, 00:57
by HosHi
I have it solved in part. How can I get away <p> and </p>? He even gets so
from the DB. Maybe a little tip ...? Thank you in advance.

Image

code from default.php components/com_phocagallery/views/category/tmpl/ in line 102:

Code: Select all

//									echo ' title="'. $value->description .'"'; (dummy)
//									echo ' title="zum Vergr&ouml;&szlig;ern anklicken"'; (dummy)
									echo ' title="'. $this->category->title.' (Bild '. $value->ordering.') - '.PhocaGalleryText::wordDelete($value->description, $this->tmpl['charlengthimgdesc'], '...').'"';

Re: title field...

Posted: 10 Dec 2009, 21:30
by Jan
Hi, if this is a descritpiton, then this needs to be removed in editor (switching to html part)

Jan

Re: title field...

Posted: 11 Dec 2009, 00:47
by HosHi
I have it. Thanks for the idea of offense. :| :twisted:
Image

original line 102:

Code: Select all

echo ' title="'. $value->title.'"';
new line 102:

Code: Select all

echo ' title="Galerie: '. $this->category->title.'&#10;&#13;&#10;&#13;Bild: '. $value->ordering.'&#10;&#13;&#10;&#13;Beschreibung:&#10;&#13;'.PhocaGalleryText::wordDelete($value->description, $this->tmpl['charlengthimgdesc'], '...').'"';

Re: title field...

Posted: 13 Dec 2009, 19:16
by Jan
Ok