Implement #616
This commit is contained in:
parent
62b30f4381
commit
13d681634a
|
@ -328,6 +328,16 @@ class Page {
|
|||
return $fileName;
|
||||
}
|
||||
|
||||
// Returns the absolute URL of the thumbnail of the cover image, FALSE if the page doen't have cover image
|
||||
public function thumbCoverImage()
|
||||
{
|
||||
$coverImageFilename = $this->coverImage(false);
|
||||
if ($coverImageFilename==false) {
|
||||
return false;
|
||||
}
|
||||
return DOMAIN_UPLOADS_THUMBNAILS.$coverImageFilename;
|
||||
}
|
||||
|
||||
// Returns TRUE if the content has the text splited
|
||||
public function readMore()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue