Logo image link

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu May 22, 2014 2:20 pm
Reply with quote
Report this post
Hello,

For my website "ERMC", I decided to place the files from the "usa" directory to the root directory of the "public_html" directory.

So far, most of the features work, however, when I click on the image logo (Primo and Lucia Caday ERMC), it points to the former location:

/usa/ directory.

I cannot find the file that I should change where the /usa/ directory. was linked to the logo image.

Cornelio
User avatar
Expert Boarder

GK User
Thu May 22, 2014 8:40 pm
Reply with quote
Report this post
Hi,
without template code hacking probably you can not change it,
but you can try to add whole URL inside configuration.php
find and add
Code: Select all
   public $live_site = 'http://ecosystems-research-and-management-center.org/';


if this will not help please...

:idea: open in edit mode :
\templates\gk_news\layouts\blocks\logo.php
find all
Code: Select all
 <a href="<?php echo JURI::root(); ?>" .....

and replace with
Code: Select all
 <a href="http://ecosystems-research-and-management-center.org"
User avatar
Platinum Boarder

GK User
Fri May 23, 2014 5:07 am
Reply with quote
Report this post
Thanks PawelF,

I tried both, as you suggested, ,but it points still to the old directory location.

Can the link location be added to the override.css? /templates/gk_news/css/override.css

If so, how should the script be added?

Cornelio







Pawel F wrote:Hi,
without template code hacking probably you can not change it,
but you can try to add whole URL inside configuration.php
find and add
Code: Select all
   public $live_site = 'http://ecosystems-research-and-management-center.org/';


if this will not help please...

:idea: open in edit mode :
\templates\gk_news\layouts\blocks\logo.php
find all
Code: Select all
 <a href="<?php echo JURI::root(); ?>" .....

and replace with
Code: Select all
 <a href="http://ecosystems-research-and-management-center.org"
User avatar
Expert Boarder

GK User
Sat May 24, 2014 6:20 pm
Reply with quote
Report this post
I talked about php file not override.css which is used only for CSS styles.
Please read more carefully what I've written.
User avatar
Platinum Boarder

GK User
Sun May 25, 2014 8:29 am
Reply with quote
Report this post
Hi PawelF,

I did read your responses carefully. I changed the codes as you suggested for both the

configuration.php
Code: Select all
public $live_site = 'http://ecosystems-research-and-management-center.org/';

and the

logo.php
Code: Select all
<a href="http://ecosystems-research-and-management-center.org/> " id="gkLogo" class="cssLogo">


I copied the above codes from the most current changes to the above php files. Did I make any mistake above?

I even cleared the cache several times. But the incorrect URL remains the same.

In the old versions of Joomla, I used to hardwire change the template css file and add the link to the css code for the logo.

But, from instructions of another moderator (from other forum topics), changes to the template.css or other css can be done also using the override.css. That was why I suggested it.

Cornelio




Pawel F wrote:I talked about php file not override.css which is used only for CSS styles.
Please read more carefully what I've written.
User avatar
Expert Boarder

GK User
Sun May 25, 2014 8:44 am
Reply with quote
Report this post
Hmm, it is strange why you still have "/usa/" especially when you made all those two changes.
But do you really know HTML?
Code: Select all
<a href="http://ecosystems-research-and-management-center.org/> " id="gkLogo" class="cssLogo">

there is small mistake inside your code.
besides, did you changed 2x as I asked in this file.


p.s.
Please turn off "index.php" from URLs
http://www.gavick.com/documentation/joo ... in-joomla/
User avatar
Platinum Boarder

GK User
Sun May 25, 2014 8:46 am
Reply with quote
Report this post
Don't worry.
Please zip your logo.php and send me I will check and fix if necessary, and we will try again.
//only zipped files can be added here//
User avatar
Platinum Boarder

GK User
Sun May 25, 2014 8:56 am
Reply with quote
Report this post
I have good day, so prepared for you that file.
Please unzip and replace with this new file logo.php.

I added new URL in 3x places not in one like probably you did. :whistle:

p.s.
I suggest to disable style color change at the footer of template, you don't need this. And it can be easily disabled from template settings.
Also footer links they don't work like people expect.

Have a nice sunny day.
User avatar
Platinum Boarder

GK User
Wed May 28, 2014 1:39 am
Reply with quote
Report this post
Thanks very much PawelF,

It turned out, after reviewing my other previous posts (about a year ago), I added a Custom HTML for the logo and manually placed the URL linked to the former directory. After I removed that link directory, it is now working properly.

Cornelio
User avatar
Expert Boarder


cron