Slider visible in Home with two language

18 views
Skip to first unread message

Davide Passoni

unread,
Jun 4, 2013, 6:19:04 AM6/4/13
to quicka...@googlegroups.com
Sorry, I have this problem.
I put in configuration the url page/la-cena-di-pitagora.html like homepage
When I go in home I see the slider 
But if I select english the page traslate have a different url and the slider are hidden.
How I can do it?

Davide

Christopher Castro

unread,
Jun 4, 2013, 7:00:18 AM6/4/13
to quicka...@googlegroups.com
Did you try this ?:

In backend, go to: Structure > Blocks.
Locate your slider block, click on "configure".
Then under the "Language" section in the configuration form, select the languages you want your block to show up.

That shuld work I guess


2013/6/4 Davide Passoni <davide...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "QuickApps CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quickapps-cm...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Christopher Castro.
Analista Programador Senior PHP/MySQL
Pamplona, España
QuickApps.es
https://github.com/QuickAppsCMS/QuickApps-CMS

Davide Passoni

unread,
Jun 4, 2013, 7:51:39 AM6/4/13
to quicka...@googlegroups.com
thank for the answer
I solved this way:
In backend, I go to: Structure > Blocks.
Locate your slider block, click on "configure".
Then under the "Page" section in the configuration form, I select "only the page list" and write in textarea

/page/la-cena-di-pitagora.html
/page/la-cena-di-pitagora-1.html
/

So it work!


2013/6/4 Christopher Castro <ch...@quickapps.es>

Christopher Castro

unread,
Jun 4, 2013, 8:03:21 AM6/4/13
to quicka...@googlegroups.com
Oh!, I see

But I think it is a mini-bug in QACMS's core.
I believe "QuickApps::is('view.frontpage')" fails when a customized frontpage is set via Configuration panel.

---

If in your layout is something like this lines below, they may cause the problem:

<?php if (QuickApps::is('view.frontpage')): ?>
    // YOUR SLIDER HTML CODE
    // WILL FAIL WHEN USING CUSTOMIZED FRONTPAGE
<?php else: ?>
    // OTHER STUFF WHEN IT'S NOT INDEX (FRONTPAGE)
<?php endif; ?>

---

So, check if this patch works for you:

(Of course you must undo the "only the page list" thing you just did in order to verify if this patch solves the problem)

Regards!



2013/6/4 Davide Passoni <davide...@gmail.com>
Reply all
Reply to author
Forward
0 new messages