May 17, 2012, 11:01:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Become a Bigace 3.0 beta tester
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to Remove: "Written at: 08. October 2010 by "  (Read 1658 times)
0 Members and 1 Guest are viewing this topic.
milanz
Member
**
Posts: 24


« on: October 08, 2010, 09:47:58 AM »

Hi,

im new on forum and new in CMS open source waters, im not progaming type of person so ill use what u will give me Smiley or show me the way how to fix it. So my site with BIGACE is in creating mode so i have question how to remove "Written at: 08. October 2010 by " when i post/change aritcle.


Plz help

milanz
Logged
milanz
Member
**
Posts: 24


« Reply #1 on: October 08, 2010, 10:08:45 AM »

Hi,

im new on forum and new in CMS open source waters, im not progaming type of person so ill use what u will give me Smiley or show me the way how to fix it. So my site with BIGACE is in creating mode so i have question how to remove "Written at: 08. October 2010 by " when i post/change aritcle.

And i need help for changing site name, i found post how to change in BIGACE 2.4 version: Administration / Templates.

There edit: Blix (Header)

This is for the Browsers title:
Code:

          <title>{$MENU->getName()}</title>  (WHERE I SHOULD PASTE THAT CODE)

Plz help

milanz
Logged
Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #2 on: October 08, 2010, 10:32:49 AM »

Hi and welcome in the Bigace Community!

To edit the templates, open Administration go to Themes => Templates.

The <title> will be automatically rendered by the {metatags} Smarty Tag. You can see its docu here: http://wiki.bigace.de/bigace:smarty_tags:metatags

In Blix, you need to edit BLIX (Header) - now you have multiple options:

1. remove the {metatags} TAG and add your own instead, like <title>{$MENU->getName()}</title>
2. Install the SEO extension, then you can edit the title explicit for every page in the Menu administration page.

For your first question, edit BLIX Template and find and reomve this code block:
Code:
<p class="info">
<em class="date">{translate key="written_at"} {$MENU->getCreateDate()|date_format:"%d. %B %Y"} {translate key="written_by"} {user id=$MENU->getCreateByID()}</em>
</p>

Hope that helps, if not let me know what you exactly want to achieve.

Regards Kevin
Logged

milanz
Member
**
Posts: 24


« Reply #3 on: October 08, 2010, 10:58:11 AM »

first to thanks u to quick reply

for my fist question i solve problem.

second (site name), i cant figureout what to change and where, i went to template Blix.heder and try to change meta tags and i do that:

first i delete     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> and replace it with <title>{$MENU->getName()}</title> isnt work
then i delete {metatags item=$MENU} and replace it with <title>{$MENU->getName()}</title> isnt work, and thats all of meta words in blix header template???

first of all i dont even know where to write my new site name in that code <title>{$MENU->getName()}</title>

thanks for answer

milanz

Logged
Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #4 on: October 08, 2010, 02:08:44 PM »

If you just want to add your sitename to each page title, you could try to go to Administration => System=> Configuration and change the key "sitename" in "community".

Otherwise you might want to use <title>{$MENU->getName()} | {sitename}</title> or <title>{$MENU->getName()} | My personal homepage</title>

{sitename} uses the configuration key named above.
Logged

milanz
Member
**
Posts: 24


« Reply #5 on: October 09, 2010, 11:45:05 AM »

hi,

thanks for answers i manage my site name now thanks again.

But i have new question about google analytics. In ur documentation says that i should insert in template code before </head> this code "{google_analytics id='UA-xxxxxx-x'}", i have ID and all nessecery information from google analytics, but i dont know where i should put code in???

In the default BLIX temlpate for BIGACE i cant found </head>, could u direct me vher i sould insert code for google analytics.

THX milanz

P.S: I take a little time and translate BIGACE administrator panel in Slovenian language if u need it for expanding ur BIGACE CMS language repository ill be glad to send u.
Logged
fathex
Team
Bigace Pro
*****
Posts: 133


« Reply #6 on: October 10, 2010, 12:12:30 PM »

The Blix template says
Code:
{include file="BLIX+Header.tpl"}
somewhere in the code, so there is a template called "BLIX (Header)" that is included in the main template where the HTML-Head section should be.
You will have to look for <head>...</head> in the template "BLIX (Header)".
« Last Edit: October 11, 2010, 10:20:47 AM by ftheuke » Logged
milanz
Member
**
Posts: 24


« Reply #7 on: October 11, 2010, 08:12:53 AM »

hi,

i found that part of code in BLIX template, but i cant find </head>, here is all code in my BLIX template

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$MENU->getLanguageID()}" lang="{$MENU->getLanguageID()}">
{load_translation name="blix"}
{load_translation name="bigace}
{load_item id="-1" itemtype="1" assign="topLevel"}
{configuration cache="blix.design"}
{portlets assign="blixPortlets"}
{include file="BLIX+Header.tpl"}
<hr class="low" />

<div id="content">
  <div class="entry single">
<h2><a href="{link item=$MENU}">{$MENU->getName()}</a></h2>
{modul menu=$MENU}
<p class="info">
<em class="date">{translate key="written_at"} {$MENU->getCreateDate()|date_format:"%d. %B %Y"} {translate key="written_by"} {user id=$MENU->getCreateByID()}</em>
</p>

{hooks_action name="smarty_tpl_footer" item=$MENU}

  </div>
</div>

<hr class="low" />

<div id="subcontent">

{foreach from=$blixPortlets item="myPortlet"}
   <h2><em>{$myPortlet->getTitle()}</em></h2>
   {$myPortlet->getHtml()}
{/foreach}

</div>

<hr class="low" />
{include file="BLIX+Footer.tpl"}
Logged
Kevin
Global Moderator
Bigace Guru
*****
Posts: 3045



WWW
« Reply #8 on: October 11, 2010, 10:02:32 AM »

As mentioned by ftheuke, look into the blix header template.
Its in there Wink
Logged

fathex
Team
Bigace Pro
*****
Posts: 133


« Reply #9 on: October 11, 2010, 10:18:02 AM »

I think the way I described the solution was neither convenient nor self-explaining, so I modified my advice.  Sad
« Last Edit: October 11, 2010, 10:19:44 AM by ftheuke » Logged
milanz
Member
**
Posts: 24


« Reply #10 on: October 12, 2010, 09:04:07 AM »

hi,

i put code in header before </head>, will se if will work

thanks

milanz
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF | Simple Machines LLC