Jump to content

Changing Category Image Sizes and Editing Header Links


Recommended Posts

Hi

I am trying to update a PS shop for a client and have a few queries. 

The original store was v 1.5.6.2 and I upgraded it to v1.6.1.8 - the upgrade kind of went smoothly.

 

1) The theme they are using is Kronan

- I need to change the links in the top of the header where it now says: Contact | Sitemap

eg:

header.jpg

 

I thought I had to edit a file:

themes/themeXXX/modules/blockpermanentlinks/blockpermanentlinks-header.tpl

 

but there is no file named that in the theme folder themes/themeXXX/modules/blockpermanentlinks/ - it has a translations sub-folder but no files in it?

 

list.jpg

 

I also looked in the default theme but there isn't a 'blockpermanentlinks' folder under modules there?

 

Where do I look to be able to edit the links, if I look at a page source, it is surrounded by:

<!-- Block permanent links module HEADER -->

So I guess that is the right area but I can't find where to edit it :-(

 

2) I am also trying to change the size of the category image, the page is created by:

Catalog > Categories - there is one category called COLLECTIONS

If I View it, it comes up with several Categories if I click Edit on any of the category lines I get an Edit Page

 

I want to change the cover size to 300 x 400. 

 

I went into Preferences / Images clicked to edit Category Default and changed the size there.

I then regenerated all the images.

 

When I go back to the edit Category page - I get the message saying the image should be 300 x 400 (so it's updated what it wants), however when I view the category page the image are still wider than they are high. 

If I do a view source they are around:

<!-- Subcategories -->
          <div id="subcategories">
              <!--<h3>Subcategories</h3>-->
              <ul class="inline_list">
                                    <li class="clearfix">
                        <a href="http://**thesite**.com/test/10-speed-ii" title="SPEED II" class="img">
                                                            <img src="http://**thesite**.com/test/c/10-category_default/category-ii.jpg" alt="" width="300" height="300" />
                                                    </a>

- It seems to be trying to display them as 300 x 300

 

Where do I need to look/edit to make them display as 300 x 400.

 

Thanks

Ernie

 
 
Link to comment
Share on other sites

In category.tpl, it is the following code generating the width and height:

width="{$mediumSize.width}" height="{$mediumSize.height}"

So I suggest going to the Preferences > Images tab and changing the size of "medium_default".

 

If you've already done that, then the old size may be cached. Go to Advanced Parameters > Performance and then click the "Clear cache" button.

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...