Logo link to home page

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Logo link to home page was created by zebrafilm

Posted 12 years 2 weeks ago #2157
Please make it standard to let the site logo link to the home page.
I have to add it now every time after complains.

Thanks, Bastiaan

PS it would also be nice to add release notes of updates at the download page or somewhere around.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: Logo link to home page

Posted 12 years 2 weeks ago #2158
Hi
you can find the release notes here :
template-creator.com/en/Informations/release-notes.html

as you can see in 2.0.6 the image link can be driven directly in the template options once installed
CEd

Joomlack Webmaster and Developer

Last Edit:12 years 2 weeks ago by ced1870
Last edit: 12 years 2 weeks ago by ced1870.

Please Log in or Create an account to join the conversation.

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic Re: Logo link to home page

Posted 12 years 2 weeks ago #2159
Yup, just saw it, also the release notes. Great. Seems you can do mind reading :-)

Is it easy to add in templates I have already on websites?
Seems the index.php is still the same?

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: Logo link to home page

Posted 12 years 2 weeks ago #2160
index.php and xml are different, you can easily update the template by recreating the package in the version 2.0.6 of template creator.
or you must add the xml params and the condition on the logo image in the index.php
Ced

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

  • zebrafilm
  • zebrafilm's Avatar Offline Topic Author
  • Premium Member
  • Premium Member
  • Netherlands / Thailand
  • Posts: 87
  • Thanks: 0

Replied by zebrafilm on topic Re: Logo link to home page

Posted 12 years 2 weeks ago #2161
Sorry to bother you but:

I made a test template with 2.06, installed and tested but I don't see a link appearing on the logo. (yes added one in the backend)

Checked your code: XML is clear but I see no difference between 2.05 en 2.06 in the index.php logo div.

What did I miss?

(Nice idea by the way to make it a parameter)

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: Logo link to home page

Posted 12 years 2 weeks ago #2165
I have just tested it again on a new install, in 2.0.6 I have this code
Code:
<?php if ($this->params->get('logolink')) { ?> <a href="<?php echo htmlspecialchars($this->params->get('logolink')); ?>"> <?php } ?> <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.png" width="286px" alt="<?php echo htmlspecialchars($this->params->get('logotitle'));?>" /> <?php if ($this->params->get('logolink')) { ?> </a> <?php } ?>
and it works.
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.672 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 669 guests and one member online