Creativity suffix "onepage" - valid as standard?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Dec 02, 2016 5:26 pm
Reply with quote
Report this post
Hi!
Is it possible to determine that all menu items are suffix "onepage"?
Of course I can add the suffix manually to all items. However, that´s rather inconvenient.
Where can I set the parameter "onepage" to true or 1 or whatsoever?
Thx for your help.
Andre
User avatar
Fresh Boarder

teitbite
Wed Dec 07, 2016 1:47 pm
Reply with quote
Report this post
Hi

Edit file /layout/default.php and replae line 27:

Code: Select all
$tpl_page_suffix = $this->page_suffix != '' ? ' class="'.$this->page_suffix.'"' : '';

with
Code: Select all
$tpl_page_suffix = ' class="onepage"';
User avatar
Moderator

GK User
Wed Dec 07, 2016 1:59 pm
Reply with quote
Report this post
Thanks for the reply TEITBITE!

I doesn´t work like this. Indeed the modules in bottom1 are displayed below each other.

However, the bottom1 area is not stretched to the border of the monitor. It is still limited to the width of the corresponding template layout settings (template width / tablet width).

Any additional tricker that can be pulled?
User avatar
Fresh Boarder

teitbite
Fri Dec 09, 2016 7:52 pm
Reply with quote
Report this post
Hi

What I suggested will add this suffix permanently to any page. Please tell me the url to Your site so I'll see what else is needed.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.