Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - LightMart (SKU# FLEX-00012)

TOPIC: Create "secret menu" as demo LightMart

Create "secret menu" as demo LightMart 10 years 4 months ago #7694

Hello,

I want to create "Secret menu" as the demo lighmart.

This is to put that module on the homepage and without showing an article.

I create a "Secret Menu" group in the "menu manager".
in the template that I install one by one.

and I create a "homepage" article as the demo.
and a Home menu with "homepage" as a single article linked.

But when I use it, the Article still appears
I had missed other settings.

Can you tell me how you doing? How not to show an article on the home page with Secret Menu, only displayed modules ?

Regards,
philippet
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 4 months ago #7702

Hi,

The purpose of the "secret Menu" is not to hide the article.
It is called "secret" because that menu never gets actually used by any module to show the "menu items" in the frontage. Actually it is not even secret at all.

To hide the "article" from any menu item, you should use a different method.

Follow my steps:

1- Access Joomla Backend
2- click Extensions >> Template Manager and then click "flexible_lightmart"

3- Look at the screenshot:

Attachment Pasted_Image_11_13_13__5_07_AM-7_2013-12-09.png not found






4- Look at the screenshot:

Attachment ScreenShot2013-12-09at2.12.25AM.png not found




Cheers.
Last Edit: 10 years 4 months ago by Support.
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 4 months ago #7726

Hello,

Very good response and clear.

It helped me.

Thanks,
Regards,
Philippet
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 4 months ago #7727

hello,

But there is a problem.

If I want to put a module position innertop,

It does not appear.

How?

Regards,
Philippet
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 4 months ago #7756

Hi,

The inner top should have been visible. weird!

But try this:

open this PHP file:
/templates/flexible_lightmart/layouts/template.php

look for this line:
<?php if ($this['modules']->count('innertop  + sidebar-a + sidebar-b') || $this['config']->get('system_output')) : ?>

and change it with this:
<?php if ($this['modules']->count('innertop  + sidebar-a + sidebar-b')) : ?>

Let me know if still no luck.

Regards,
Support
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 3 months ago #7889

Hello,
I tested the proposed correction in the file
/templates/flexible_lightmart/layouts/template.php

on the demo site and mine, the result is the same module position innertop
the page does not appear.

But if I add a module "sidebar-a" with the module "innertop" both appear.

There is always a pb with the module innertop alone.
How to make it appear?

Regards,
Philippet
The administrator has disabled public write access.

Create "secret menu" as demo LightMart 10 years 3 months ago #7904

Hi,

You may eliminate the "IF" php rule completely if you are publishing a module in every page already (including homepage).
<?php if ($this['modules']->count('innertop  + sidebar-a + sidebar-b') || $this['config']->get('system_output')) : ?>

If you already publishing module (innertop or sidebar-a or sidebar-b), then this IF rule becomes ineffective. Therefore eliminating it makes sense. To eliminate, remove that PHP line completely, but don't forget to remove the following
<?php endif; ?>

(because if you remove the IF line then you have to remove the ENDIF as well to avoid PHP error)

Regards,
Support
Last Edit: 10 years 3 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.172 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo