I believe it has been removed.
You need to use the HTML module instead.
You need to use the HTML module instead.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
'Easy enough to add an html module, but how do we get the functionality that makes the welcome page message disappear after login? We want the message to only display prior to login. That is a very favorable feature that we will have to overcome in this new version.
HTML module is already included in OC 2.0
You can do the following to achieve what you want.
edit: catalog/view/theme/default/template/module/html.tpl
replace it's contents with
edit: catalog/controller/module/html.php
after
add
You can do the following to achieve what you want.
edit: catalog/view/theme/default/template/module/html.tpl
replace it's contents with
Code: Select all
<?php if (!$logged) { ?><div>
<h2><?php echo $heading_title; ?></h2>
<?php echo $html; ?></div><?php } ?>
after
Code: Select all
public function index($setting) {
Code: Select all
$data['logged'] = $this->customer->isLogged();
Thank you sir for the great tip and fast reply.
However your custom coding would then eliminate the html module from any other use correct? In other words after the modification, now you wont be able to have an html module that works like normal (logged in or not) and an html module that works like the old welcome page only until you login? All of your html modules would go away after login correct?
If that is true we solved one problem only to create another one.
can we add another html module to the mix like html module2 something like that?
Oh wait then we could just call it the "Welcome module".
For my b2b site that only takes orders from logged in businesses, this is a big deal the ability to guide them down a path with a welcome message on the home page, up until they register and login.
Thanks for the response.
Signman
However your custom coding would then eliminate the html module from any other use correct? In other words after the modification, now you wont be able to have an html module that works like normal (logged in or not) and an html module that works like the old welcome page only until you login? All of your html modules would go away after login correct?
If that is true we solved one problem only to create another one.
can we add another html module to the mix like html module2 something like that?
Oh wait then we could just call it the "Welcome module".
For my b2b site that only takes orders from logged in businesses, this is a big deal the ability to guide them down a path with a welcome message on the home page, up until they register and login.
Thanks for the response.
Signman
Yes, you are correct.
Looks like a duplication of the HTML module would be your best way forward to be able to still utilise the original module as well.
Looks like a duplication of the HTML module would be your best way forward to be able to still utilise the original module as well.
You could try this as an alternative:
viewtopic.php?f=119&t=133117
viewtopic.php?f=119&t=133117
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
THAT IS a SOLUTION!
Thanks all I coded the html module per uksitebuilder's coding and it works perfectly. The HTML module now acts like the old welcome page and disappears once logged in.
Then I loaded the free home page module by fido-x which gives me a better option html module in its place I believe.
This combination appears to give a good result. I will post more if i run into issues. Thanks all for the help.
Thanks all I coded the html module per uksitebuilder's coding and it works perfectly. The HTML module now acts like the old welcome page and disappears once logged in.
Then I loaded the free home page module by fido-x which gives me a better option html module in its place I believe.
This combination appears to give a good result. I will post more if i run into issues. Thanks all for the help.
Who is online
Users browsing this forum: No registered users and 58 guests