Logo link to home page

More
12 years 7 months ago #2157 by zebrafilm
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.

More
12 years 7 months ago - 12 years 7 months ago #2158 by ced1870
Replied by ced1870 on topic Re: Logo link to home page
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 7 months ago by ced1870.

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

More
12 years 7 months ago #2159 by zebrafilm
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.

More
12 years 7 months ago #2160 by ced1870
Replied by ced1870 on topic Re: Logo link to home page
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

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

More
12 years 7 months ago #2161 by zebrafilm
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.

More
12 years 7 months ago #2165 by ced1870
Replied by ced1870 on topic Re: Logo link to home page
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

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

Time to create page: 0.242 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1044 guests and one member online