Code: Select all
class ControllerProductWeeklySpecials extends Controller {
Code: Select all
class ControllerProductWeeklySpecials extends Controller {
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
If you can't contribute, keep the comments to yourself. At least those users before you that read this posts appreciate it more than you do, and pick up knowledge from here. If it does not benefit you, seriously, write a better one yourself.marvl wrote:MarketInSG, may I suggest you refrain from making "how to" posts? As evidenced by this inept effort, you are not very good at it. A good "how to" post answers specific questions, it does not create more unanswered questions. Yours, in a word, sucks. And in two words, really sucks.
On the first line of the controller file you need to replace this:pooks wrote:Im trying to change page name into products getting this error constantly any fix?
Fatal error: Class 'Controllerinformationproducts' not found in /public_html/system/engine/front.php on line 39
Code: Select all
class ControllerInformationStatic extends Controller {
Code: Select all
class ControllerInformationYOURPAGENAME extends Controller {
use the followingkeiron1992 wrote:awesome contrib, it works great, how can I force a user to be logged in to view the page?
Code: Select all
$this->customer->isLogged();
Thank you, one more question...MarketInSG wrote:use the followingkeiron1992 wrote:awesome contrib, it works great, how can I force a user to be logged in to view the page?
You can probably check if the person is logged in, and if not, redirect away.Code: Select all
$this->customer->isLogged();
Information pages landing system (like a table of contents)
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
Code: Select all
<?php echo file_get_contents('http://www.YOURSITE.com/information/information/info&information_id=1'); ?>
Code: Select all
<?php echo file_get_contents('http://www.YOURSITE.com/index.php?route=product/product/review&product_id=1'); ?>
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
Code: Select all
<a href="' . <?php echo $this->config->get('config_url'); ?> . 'index.php?route=information/o-firmie">O firmie</a>
Code: Select all
<a href="' . <?php echo HTTP_SERVER; ?> . 'index.php?route=information/o-firmie">O firmie</a>
https://creadev.org | support@creadev.org - Opencart Extensions, Integrations, & Development. Made in the USA.
Code: Select all
ReWriteRule ^o-firmie/?$ index.php?route=information/o-firmie [L]
custom links seo url
Users browsing this forum: No registered users and 78 guests