By carlos matias Caballaro on Monday, 27 January 2014
Posted in General Issues
Replies 13
Likes 0
Views 882
Votes 0
Hi, I would need this feature or at least the files I would need to modify in order to get what I want.
I need the metadescriptions were automatically filled with the title of the post. I mean, for example if a post´s title was "this is the title" The metadescription will automatically be filled with "this is the title".
Unfortunately I need it in order to load the titles in roksprocket headlines views.
I took the opportunity to ask you if it is possible to you to add a module with headlines. I know that if the module to load the articles, deactivate the options of images/content/etc. I will load only headlines. But what I want is a headline rotator. Do you know what I mean? Thanks !
Hello Carlos,

Sorry for the late reply. Please replace the attached file (dashboard.php) in ..\components\com_easyblog\controllers\dashboard.php. With this hack, your meta description in #__easyblog_meta will always use the blog title. Hope this helps.
·
Wednesday, 29 January 2014 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

You will need to edit the file /components/com_easyblog/helpers/helper.php and locate the method setMeta
·
Monday, 27 January 2014 10:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark! But it seems the method its too complicated for me yet.
Can you help me with this? . I need It loads (and it is possible save it too) ALWAYS the title of the current post in the meta description.
·
Monday, 27 January 2014 11:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

Please replace the attached file (helper.php) in ..\components\com_easyblog\helpers\helper.php. And please backup this file before updating Easyblog in the future because it will be replaced during updating.
·
Monday, 27 January 2014 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nick! Thanks for the file. But the fact is that I don´t see a change in the code, can you tell me the line or the changes you did?? Also, what is the feature you add? I mean If a user create a post and save it, it will automatically fill the metadescription field with the title? or its only filled when its printed/loaded?
·
Monday, 27 January 2014 21:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

Try this, and the code that was added is at line 3095.
·
Monday, 27 January 2014 22:56
·
0 Likes
·
0 Votes
·
0 Comments
·
thanks Mark! but sorry again, It didn´t work for my needs. It doesn´t filled the metadescription. To be more clear, I would need that autocompletes in the field "description" in the easyblog_meta table with the title, but none of this is working. Unfortunately i´m working in localhost, if you need something live pleaase tell me and I would try uploading to live site subdomain as soon as i can but I think it is not neccessary because Its only neccessay a clean installation of the component.
By the way, excellent work guys!!! It´s incredible the response time of support!
·
Tuesday, 28 January 2014 01:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Hm, not sure if I understand you here. Based on your initial post, it looks like you are wanting to have the blog title appear in the <meta> section of the headers. Can you please advise?
·
Tuesday, 28 January 2014 02:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Of course Mark! I try to explain better, by the way sorry for my poor english:

In roksprocket module, the only way I could have the headlines feature working with the titles, is when I wrote the title of the blog in the metadescription field. The people of rockettheme (creators of roksprocket module) didn´t think that the headlines functionality/feature would have to have the title option to select (unfortunately not) So The only choices they give is introtext- content-metadescription.
So Instead of changing the roksprocket module (because they never respond between the first 2-3 weeks) I ask to you another way to do it.
The way I tought is that automatically when a user create a post, when they save it, automatically save the title field of the blog in the metadesciption too. Doing that the roksprocket module could show the title of the blogs, altough we know actually is taking the metadescription field.
Is more clear Mark? Now is the only way I could explain what I want.
·
Tuesday, 28 January 2014 05:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Carlos,

May I conclude here, correct me if I'm wrong, you want the title of the blog you've posted appear in the section of headers as a meta-description so that the module can retrieve content from the <meta name=description> tag, right? If so, I've tested the file (helper.php) in my local and it is successfully fill in the meta-description with the blog title. This is the result: http://screencast.com/t/BPHq41QEAk4 .
·
Tuesday, 28 January 2014 11:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Nik, exactly! I´ve test it. It does what wxactly you say, but unfortunately the module does´nt take the metadescription of the headers. I think it takes the metadescription of the database, the table easyblog_meta. If you test it. You´ll find that the fields aren´t inserte there whit the header.php modification. It only works when you"print" the screen but not for the module, beacuse this module takes the data from the database, and not form the current load-page.
·
Wednesday, 29 January 2014 05:59
·
0 Likes
·
0 Votes
·
0 Comments
·
WWWWWOoooowwww!! Excelente!! Works perfect!! thank you guys!!! It´s an awesome service and company...I wish you open an spanish service, please count with me for help!! It´s the best support service in the joomla world.
·
Friday, 31 January 2014 06:02
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome and glad that your issues are resolved now.
·
Friday, 31 January 2014 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post