By WALLON on Sunday, 03 April 2016
Replies 5
Likes 0
Views 764
Votes 0
Hello,

First, thanks for yours excellent extensions ! Very usable, great features and very good quality of code.

I modified your code to adapt for my needs. If it's possible could you add these lines of code (see below) for next version in this file : administrator/components/com_easyblog/tables/profile.php

public function getDescription($raw = false)
{
$description = $raw ? $this->description : nl2br($this->description);
return $description;
}

public function getTitleBlog($raw = false)
{
$title = $raw ? $this->title : nl2br($this->title);
return $title;
}

Moreover, if you agree, adding an option to include a WYSIWYG to description textarea.

Thanks in advance.

David
A fan customer of your work
Hey Wallon,

Thank you for the kind compliments! Appreciate this very much. May I know what is this method used for?
·
Sunday, 03 April 2016 21:28
·
0 Likes
·
0 Votes
·
0 Comments
·
I use these lines of code to bring up these informations in the top of page "index.php?option=com_easyblog&view=blogger&layout=listings" (see image attached).

Currently, each blogger can display a list of its blog great.. but without displaying the title blog and its description. So I add functions.

In addition, I reserve some features to members who pay a monthly subscription with payplan extension (
especially autopublishing features on social networks of member and creating blog by templates). So I have override nickel and wireframe themes. Besides, I would like to create new prdefined blog theme. How do I proceed ?

Thanks for your answer and great weekend for you !

David
·
Sunday, 03 April 2016 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Wallon,

Ah I see. Okay, I will add this new method to the profile.php . What do you mean by a predefined blog theme?
·
Sunday, 03 April 2016 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

Sorry, "post templates" in fact.
·
Tuesday, 05 April 2016 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
To create a post template, all you need to do is to draft the blog post, and click on the "Up" arrow just beside the apply button and you will see a "Save as new template" action as you can see here, http://screencast.com/t/jsjCGmwUk
·
Wednesday, 06 April 2016 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post