0

I recently bought a new domain and transfered my old site's files to it. It's all nice, but the logo still points to the old site. How can I adjust it? Here's my new site home page and the logo is in the upper left corner (blue colored with a book image in it)

https://tutoring.solutions

1

That sort of thing is completely in the control of the template designer; Joomla doesn't care how that's set.

Not being familiar what template you're using, it's hard for me to tell precisely how it's done. From the site's markup, it looks like it's in a module (would probably be a custom HTML module). I'd look for one of those called something like "logo" first. It might also be in a configuration parameter for the template itself (Extensions->Templates then click on the template).

Those are the two most typical ways of handling it. Unfortunately, it might be hardcoded in the template's index.php file as well, or done in multiple other manners as well.

If the template was a purchased one from one of the template houses, maybe if you add which one it to your question, someone might come up with a better answer.

Addendum: To see if it's coded in the template's index.php file you need to ook in the template's index.php file. One way is to go to Extensions->Templates->Templates, then click on the template name. There will be a list of files on the left. Click "index.php" there. DO NOT CHANGE ANYTHING IN THAT FILE! Look for the lines in that file around something like this:

<jdoc:include type="modules" name="logo" />

Again, don't make any changes but copy out the few lines above and below that, and that might give us a better chance of figuring this out. Or not (template sellers write notoriously hard to read code).

| improve this answer | |
  • this one: demo.joomlaplates.com/jp_x2 – papakota Jun 3 at 2:18
  • The logo image is in Joomla Custom HTML module in "logo" position. But there's no way to change a URL there. There's just this code there: <p><img src="images/logo.png" alt="logo" width="193" height="40" /></p> – papakota Jun 3 at 2:26
  • I think it's in this file in templates/jp-x2/layouts/template.php and this line of code <a id="logo" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['modules']->render('logo'); ?></a> – papakota Jun 3 at 4:04
  • I would agree with Arlen that this is probably within the scope of the template theme customisation. Try going into Extensions / Templates / Styles and click on the style you're using on that page and see what configuration options you've got there. – Robbie Jackson Jun 3 at 9:49
  • 1
    As a secondary rant, I just loved their "uses latest web techniques" blurb that lists PHP 5.2, a version that reached the end of its life and stopped receiving any sort of updates OVER 9 YEARS AGO!!!!! (5.2 was first released in 2006, and died in 2011.) – Arlen Jun 3 at 15:11
0

I solved it myself by going to PHPMyAdmin. There I chose my site’s db. Went to SEARCH. Ran a search for “logo” in all tables. Found it in table “modules”. Edited the info there and saved it. That’s it! Before all that, I grepped in Ubuntu terminal window all my site’s folders and didn’t find it there… with this command:

xxx@xxx:~$ sudo grep -Ril “repetit.moscow” /var/www/tutoring.solutions/public_html

| improve this answer | |
  • 2
    Using phpmyadmin find the value of the "title" field of the record in the modules table that you modified, then go to Extensions / Modules and search for that module using its title (or part of its title). Once you've found it, click on it to edit it. I'd be surprised if there wasn't a configuration option there to define the URL. – Robbie Jackson Jun 3 at 22:09
  • Actually, you're right. Next time it would be much easier and quicker. Thanks for this advice! – papakota Jun 3 at 23:19
  • @papakota having visited your website and watched the background video I have decided I would like to learn Russian. – Eoin Jun 5 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.