Jump to content

[SOLVED] Moon theme


Recommended Posts

Try to change this code in blocktopmenu.php from this

$this->_menu .= '<a >getLink().'">'.$name.'';



to

if ($id_category==1)
       $this->_menu .= '<a href="'.__PS_BASE_URI__.'">'.$name.'';
   else
       $this->_menu .= '<a >getLink().'">'.$name.'';



and now it is linked to homepage.

Link to comment
Share on other sites

{if $MENU != ''}

<!-- Menu -->





  • {$MENU}
    {if $MENU_SEARCH}
  • 125-395-large.jpg
    <form id="searchbox" action="search.php" method="get">
    <input type="hidden" value="position" name="orderby"/>
    <input type="hidden" value="desc" name="orderway"/>
    <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query}{else}{l s='Search'}{/if}">
    </form>

    {/if}

[removed][removed]
[removed][removed]
<link rel="stylesheet" type="text/css" href="{$this_path}css/superfish-modified.css" media="screen">
<!--/ Menu -->
{/if}



THIS IS WHAT IT SAYS!
Link to comment
Share on other sites

Not tpl file code need changes is in blocktopmenu.php
And I didn't formatted code correctly so replace

 $this->_menu .= '<a href="'.$categorie->getLink().'">'.$name.'';


with

    if ($id_category==1)
   $this->_menu .= '<a href="'.__PS_BASE_URI__.'">'.$name.'';
   else
   $this->_menu .= '<a href="'.$categorie->getLink().'">'.$name.'';

Link to comment
Share on other sites

Ok I have solved the logo I just need help with the home link....Anyone there????


Hi! Sorry to come into your thread but i have been trying to figure out how to change the logo as it now shows a big question mark. Could you tell me how & which file you changed yours? TIA!
Link to comment
Share on other sites

Ok I have solved the logo I just need help with the home link....Anyone there????


Hi! Sorry to come into your thread but i have been trying to figure out how to change the logo as it now shows a big question mark. Could you tell me how & which file you changed yours? TIA!


Damn I dont even remember, I fiddle around so much.... But I am pretty sure, I deleted the logo code that was there and add my own code...using my own image that I uploaded if you get me...

I believe it was in the header.tpl
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...