Elxis CMS Forum

Extensions => Components => Topic started by: rentasite on June 27, 2009, 14:22:08

Title: eBlog Title + Slogan [SOLVED]
Post by: rentasite on June 27, 2009, 14:22:08
hi,

I have created an eBlog and set as 1st page (homepage) for that site... the eBlog item (Blog to link). So, when someone lands on that site... he sees the eblog.

But i don't want the eblog's Title and the Slogan to appear at all. What files should i edit, and what exactly should i change?

thanks
Title: Re: eBlog Title + Slogan
Post by: xmanhattan on June 27, 2009, 16:55:16
Supernet,

Did you set the eblog as a HOME page eblog item link or is it a front page item as a component?

I don't think that you have to fill in the slogan at all, so in that case it would be empty.
Title: Re: eBlog Title + Slogan
Post by: rentasite on June 27, 2009, 16:58:50

I have set it as an item link. But that's not the point.

Ok with the slogan, its empty now and not showing.  -   Now i have to dissapear the title.

Spiros
Title: Re: eBlog Title + Slogan
Post by: xmanhattan on June 27, 2009, 17:09:02
Just a mention.  If you do not display the eblog title, then there must always be only one eblog.

I believe that the code that you want to change is in the file \components\com_eblog\eblog.php.

If you know php then I would say that you can do this (line 83):
Code: [Select]
//$this->_config->title = $row->title;
Title: Re: eBlog Title + Slogan
Post by: rentasite on June 27, 2009, 17:12:01
Just a mention.  If you do not display the eblog title, then there must always be only one eblog.

Yeap, thats how its going to work. One only blog.

I'll update this topic. Trying what u said Peter.

thanks
Title: Re: eBlog Title + Slogan
Post by: rentasite on June 27, 2009, 17:25:35

Solved. Thanks Peter :)
Title: Re: eBlog Title + Slogan [SOLVED]
Post by: ks-net on June 27, 2009, 18:10:09
i would prefer to hide it using css.....
or with php if statements and css (in my tpl index.php) to hide it .... selectively only at frontpage ...

all are relative to tpl and not to core files.... so updates won't effect in future my  changes!