Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Remove this......
Dom Rand
Member
April 25, 2014 - 1:22 pm
Member Since: April 2, 2014
Forum Posts: 219
sp_UserOfflineSmall Offline

RemoveImage Enlarger

I need to remove this detail circled, any suggestions where it might be in the code?

Have had a look and cannot find it…

"Dont believe everything you read on the internet just because there is a picture with a quote next to it" Abraham Lincoln

Avatar
Matthew Ogborne

Founder
April 25, 2014 - 1:34 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy Dom,

I’m not sure, but I can tell you how to find it :)

Go to System > Configuration > Right at the bottom left click on Developer

Now in the top left hand corner, change the view to the website view (should be the second option down)

Expand the second options block out and turn on ” Template Path Hints” to yes.

Now view that page and you’ll see red blocks around the sections, the template path will be in the name.

And to turn the template/blocks off, just set ” Template Path Hints” back to no

I made a video for this for a diferent topic a while back, I’ll come back and post that video here in a few momento’s.

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Avatar
Matthew Ogborne

Founder
April 25, 2014 - 1:36 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Dom,

It’s a different block but the principles are just the same as shown in the video below.

Oh and I’m hoping it’ll just be a little bit of commenting out of some PHP to remove the labels for you.

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Avatar
Matthew Ogborne

Founder
April 25, 2014 - 1:37 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Oh and PS, if you press Alt and Prt Scr you’ll only take a screenshot of the window that is in focus.

I’ll stop typing now :D

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Dom Rand
Member
April 25, 2014 - 1:39 pm
Member Since: April 2, 2014
Forum Posts: 219
sp_UserOfflineSmall Offline

<?php

$b_current_category = Mage::registry(‘current_category’);

$b_current_id = $b_current_category->getId();

$b_slideshow=Mage::getModel(‘slideshow/slideshow’);

$b_cat_slideshow = $b_slideshow->getSlideshowByCategory($b_current_id);
if(!is_array($b_cat_slideshow) || count($b_cat_slideshow) < 1)
{
$b_parent_id = $b_current_category->parent_id;
$b_cat_slideshow = $b_slideshow->getSlideshowByCategory($b_parent_id);
}

$b_img_path = Mage::getBaseUrl(‘media’).DS;

$b_dummy_img = Mage::getDesign()->getSkinUrl(‘images/’).’space/cat_dummy.gif’;

?>

<?php if(is_array($b_cat_slideshow) && count($b_cat_slideshow) > 0): ?>

<div class="b_cat_slider_wrapper">

<div class="b_dummy">

<img src="<?php echo $b_dummy_img; ?>" width="<?php echo $b_cat_slideshow[0][‘width’]; ?>" height="<?php echo $b_cat_slideshow[0][‘height’]; ?>">

</div>

<ul>

<?php foreach($b_cat_slideshow as $s): ?>

<li>

<a href="<?php echo $s[‘link’]; ?>" title="<?php echo $s[‘description’]; ?>">

<img src="<?php echo $b_img_path.$s[‘image’]; ?>" alt="<?php echo $s[‘description’]; ?>">

</a>

</li>

<?php endforeach; ?>

</ul>

</div>

<script type="text/javascript">

jQuery(‘.b_cat_slider_wrapper ul’).binamic_slider();

</script>

<?php else: ?>

<?php

$b_category = Mage::registry(‘current_category’);

if($b_category->getImageUrl()):

?>

<div class="b_cat_main_img">

<img src="<?php echo $b_category->getImageUrl() ?>" alt="<?php echo $this->htmlEscape($b_category->getName()) ?>"/>

</div>

<?php

endif;

?>

<?php endif; ?>

<div class="category-products b_categories">

<ul class="products-grid">

<?php

$_categories=$this->getCurrentChildCategories();

if($_categories->count()):

$categorycount = 0;

foreach ($_categories as $_category):

if($_category->getIsActive()):

$cur_category=Mage::getModel(‘catalog/category’)->load($_category->getId());

$layer = Mage::getSingleton(‘catalog/layer’);

$layer->setCurrentCategory($cur_category);

$catName = $this->getCurrentCategory()->getName();

?>

<li class="item">

<a class="b_cat_img" href="<?php echo $_category->getURL() ?>" title="<?php echo $this->htmlEscape($_category->getName()) ?>"><img src="<?php echo Mage::getBaseUrl(‘media’).’catalog/category/’.Mage::getModel(‘catalog/category’)->load($_category->getId())->getThumbnail(); ?>" width="140" alt="<?php echo $this->htmlEscape($_category->getName()) ?>" /></a>

<h6><a href="<?php echo $_category->getURL() ?>" title="<?php echo $this->htmlEscape($_category->getName()) ?>"><?php echo $this->htmlEscape($_category->getName()) ?></a></h6>

</li>

<?php

endif;

endforeach;

endif;

?>

</ul>

</div>

"Dont believe everything you read on the internet just because there is a picture with a quote next to it" Abraham Lincoln

Dom Rand
Member
April 25, 2014 - 1:49 pm
Member Since: April 2, 2014
Forum Posts: 219
sp_UserOfflineSmall Offline

Where in this beast of code is that?

"Dont believe everything you read on the internet just because there is a picture with a quote next to it" Abraham Lincoln

Avatar
Matthew Ogborne

Founder
April 25, 2014 - 2:35 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Hi Dom,

I believe it’s this part:

<h6><a href="<?php echo $_category->getURL() ?>" title="<?php echo $this->htmlEscape($_category->getName()) ?>"><?php echo $this->htmlEscape($_category->getName()) ?></a></h6>

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Dom Rand
Member
April 25, 2014 - 3:06 pm
Member Since: April 2, 2014
Forum Posts: 219
sp_UserOfflineSmall Offline

Spot on cheers

"Dont believe everything you read on the internet just because there is a picture with a quote next to it" Abraham Lincoln

Avatar
Matthew Ogborne

Founder
April 26, 2014 - 8:28 am
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy Dom,

Happy days :) Have a fab weekend,

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
34 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5221

Posts: 27485

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606