Post by Jimmy Hill » Tue Apr 04, 2017 3:44 pm

Hello, I'm having no luck adding some modules to my Front Page at http://greenland-fishery.org.uk/stores
I want to add 2 modules, each 50% of width, one with New Products and one with some custom html. I'd like them to sit beneath my intro text and above the footer, as in my screen-draft as attached here.

Any suggestions, please?

Attachments

screeny-modules.png

screeny-modules.png (530.46 KiB) Viewed 2560 times


New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by ashwani_multi » Tue Apr 04, 2017 5:52 pm

opencart version please

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by Jimmy Hill » Wed Apr 05, 2017 1:24 pm

Version 2.3.0.2

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by ashwani_multi » Wed Apr 05, 2017 4:48 pm

HI

please modify
catalog\view\theme\default\template\common\home.tpl

Code: Select all

<?php echo $header; ?>
<div class="container">
<?php echo $content_top; ?>
  <div class="row"><?php echo $column_left; ?>
    <?php if ($column_left && $column_right) { ?>
    <?php $class = 'col-sm-6'; ?>
    <?php } elseif ($column_left || $column_right) { ?>
    <?php $class = 'col-sm-9'; ?>
    <?php } else { ?>
    <?php $class = 'col-sm-12'; ?>
    <?php } ?>
    <div id="content" class="<?php echo $class; ?>"><?php echo $content_bottom; ?></div>
    <?php echo $column_right; ?></div>
</div>
<?php echo $footer; ?>

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by Jimmy Hill » Wed Apr 12, 2017 3:13 pm

Thank you, Ashwani, that worked up to a degree. But I'd like the two columns to fill the width ie they should both be 50%, Currently there's a large space in the centre, please see my screenshot...

Attachments

Screenshot 2017-04-12 08.12.11.png

Screenshot 2017-04-12 08.12.11.png (769.85 KiB) Viewed 2511 times


New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by Jimmy Hill » Tue Apr 18, 2017 2:01 pm

... Or is there a way that the space could collapse when empty? Currently (since adding Ashwani's code) my site has a large unsightly space.

Any suggestions please?

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by viethemes » Tue Apr 18, 2017 3:08 pm

Could you show two modules on the home page again so we can take a look at the problem closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Jimmy Hill » Tue Apr 18, 2017 3:19 pm

Hello Viethemes, thanks for your help...

The modules don't have any content, but are in place at http://greenland-fishery.org.uk/stores/ - you'll see the large space where they sit.
Not sure really what you're asking... do you want me to put some content in them?

The screenshot in my initial post (screeny-modules.png) shows what I'd like to achieve.

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by ashwani_multi » Tue Apr 18, 2017 7:00 pm

hi can you share your site url
its easy to explain

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by viethemes » Wed Apr 19, 2017 9:54 am

Jimmy Hill wrote:
Tue Apr 18, 2017 3:19 pm
Hello Viethemes, thanks for your help...

The modules don't have any content, but are in place at http://greenland-fishery.org.uk/stores/ - you'll see the large space where they sit.
Not sure really what you're asking... do you want me to put some content in them?

The screenshot in my initial post (screeny-modules.png) shows what I'd like to achieve.
I have just made a extension to improve the layout system. Please download it in the attachment file and set up like this screenshot http://prntscr.com/ey3k6l
Installation Guide:
- Step 1: Go to Admin > Extensions > Installer and install the extension.
- Step 2: Go to Admin > Extensions > Modifications > click on the Refresh button
- Step 3: Go to Admin > Design > Layout > set up your layout

Attachments


http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by viethemes » Wed Apr 19, 2017 11:14 am

I have just published the extension here https://www.opencart.com/index.php?rout ... n_id=30520. It is free :)

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by ashwani_multi » Wed Apr 19, 2017 1:15 pm

please enable module on home page so i can tell you what to do
thank you

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by Jimmy Hill » Wed Apr 19, 2017 3:02 pm

viethemes wrote:
Wed Apr 19, 2017 11:14 am
I have just published the extension here https://www.opencart.com/index.php?rout ... n_id=30520. It is free :)
Sorry, that hasn't worked for me... And my site has a Warning at the top of the screen now:

Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66

What should I do?

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by Jimmy Hill » Wed Apr 19, 2017 3:34 pm

I've disabled the Viethemes modification - it didn't work and it caused some unsightly code to appear at the top of the screen.

Anyone else got any suggestions how to display content on the Home Page, please?

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by Jimmy Hill » Wed Apr 19, 2017 3:42 pm

ashwani_multi wrote:
Tue Apr 18, 2017 7:00 pm
hi can you share your site url
its easy to explain
Ashwani, I have put some content into the 2 modules and enabled them - http://greenland-fishery.org.uk/stores/
But they have now filled the width and I still have a large amount of white space.

Any suggestion, please? Thank you for your help...

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by ashwani_multi » Wed Apr 19, 2017 4:32 pm

share temp admin access please

Opencart Quick checkout
View All modules
Any opencart issue contact me at support@opencartextensions.in

Thank you


User avatar
New member

Posts

Joined
Tue Dec 09, 2014 2:40 pm
Location - Ludhiana,Punjab,India

Post by viethemes » Wed Apr 19, 2017 4:51 pm

Jimmy Hill wrote:
Wed Apr 19, 2017 3:02 pm
viethemes wrote:
Wed Apr 19, 2017 11:14 am
I have just published the extension here https://www.opencart.com/index.php?rout ... n_id=30520. It is free :)
Sorry, that hasn't worked for me... And my site has a Warning at the top of the screen now:

Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66Notice: Undefined index: column in /home/gfishery/public_html/stores/system/storage/modification/catalog/controller/common/content_top.php on line 66

What should I do?
Have you installed via Extension Installer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by Jimmy Hill » Wed Apr 19, 2017 5:10 pm

[/quote]
Have you installed via Extension Installer?
[/quote]

Yes.

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by Jimmy Hill » Wed Apr 19, 2017 5:10 pm

ashwani_multi wrote:
Wed Apr 19, 2017 4:32 pm
share temp admin access please
Done. By PM

New member

Posts

Joined
Sun Mar 18, 2012 11:36 pm

Post by viethemes » Wed Apr 19, 2017 5:36 pm

Jimmy Hill wrote:
Wed Apr 19, 2017 5:10 pm
Yes.
Please go to Admin > System > Tools > Backup/Restore and import this SQL file https://www.dropbox.com/s/yrfk6tuipl00j ... l.sql?dl=0

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: Google [Bot] and 278 guests