Intro area layout & multilingual

Permalink Browser Info Environment
Hi,

First of all this is a great theme, works very well for us and has everything we need.

A couple of issues I've had with it:

1. The intro area picks up it's own layout columns when $intro->getTotalBlocksInAreaEditMode()>0 is called in themes/supermint/elements/intro.php:

....
$intro = new Area('Intro');
$intro->load($c);
$display_intro = $intro->getTotalBlocksInAreaEditMode () > 0 || $intro->getTotalBlocksInArea() > 0 || $c->isEditMode() ;
if ($display_intro) :
?>


$display_intro is always true on the Full and Wide templates and I get an empty rectangle on page when the intro area is empty. On Full_Wide there is no problem since it doesn't have columns in the intro area. I placed an overriding intro.php with this call removed from the line and it fixes it.

I'm not entirely sure that this isn't due to some kind of a mashup with another theme I had installed before Supermint which uses templates with the same names. Anyway is it really needed? Am I disabling something important for editing by removing $intro->getTotalBlocksInAreaEditMode(), since there is a $c->isEditMode() already there ?

2. The tags filtering in the page-list block templates doesn't play well with multilanguage and doesn't use translated tags names. I can tag pages in different languages with different tags and maybe it should be done this way, but the "show-all" tag on the page-list block always remains in english. I hope this can be fixed in an upcoming update.

Keep up the good work!

Type: Discussion
Status: In Progress
vivanov
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
Thank you for the feed-back.
For the block test, i removed the getTotalBlocksInAreaEditMode test. It live here for some page-type output issue on first Concrete version. I hope that this is fixed now.

For tags in multi language i need documentation about this. Which add-on are u using for multilingual ?
vivanov replied on at Permalink Reply
vivanov
I'm using Concrete's own 'multilingual', no add-ons. I believe it got included in the core in a recent version, just a bit before I got involved with the CMS actually.

Here's the docs on concrete's sitehttp://documentation.concrete5.org/developers/concepts/localization...

When I get to System&Settings -> Multilingual -> Translate Site Interface I get to see the tags in translation strings in 'SelectAttributeValue' context, but "show all" doesn't appear there and when I translate tags they don't get picked up by the page-list block template.
sebastienj replied on at Permalink Reply
sebastienj
Ok, i will investigate this.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.5.3
Version Installed - 5.7.5.3
Database Version - 20150731000000

# concrete5 Packages
Peak (0.9.6), Supermint Theme (3.3.1.3).

# concrete5 Overrides
languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/site/bg_BG.po, languages/site/bg_BG.mo, languages/site/en_GB.po, languages/site, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, themes/peak/css/presets/defaults.less, themes/peak/css/presets, themes/peak/css/drakon-custom.less, themes/peak/css/main.less, themes/peak/css/build/base.less, themes/peak/css/build/layout.less, themes/peak/css/build/typography.less, themes/peak/css/build/responsive-slides.less, themes/peak/css/build/flaunt.less, themes/peak/css/build/next-prev.less, themes/peak/css/build/skeleton.less, themes/peak/css/build, themes/peak/css, themes/peak/elements/header.php, themes/peak/elements/footer.php, themes/peak/elements, themes/peak, themes/supermint/elements/intro.php, themes/supermint/elements, themes/supermint, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/site/bg_BG.po, languages/site/bg_BG.mo, languages/site/en_GB.po, languages/site, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, themes/peak/css/presets/defaults.less, themes/peak/css/presets, themes/peak/css/drakon-custom.less, themes/peak/css/main.less, themes/peak/css/build/base.less, themes/peak/css/build/layout.less, themes/peak/css/build/typography.less, themes/peak/css/build/responsive-slides.less, themes/peak/css/build/flaunt.less, themes/peak/css/build/next-prev.less, themes/peak/css/build/skeleton.less, themes/peak/css/build, themes/peak/css, themes/peak/elements/header.php, themes/peak/elements/footer.php, themes/peak/elements, themes/peak, themes/supermint/elements/intro.php, themes/supermint/elements, themes/supermint

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.5.30

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gnupg, hash, iconv, imagick, imap, intl, ionCube Loader, json, libxml, mailparse, mbstring, mcrypt, memcache, mhash, mysql, mysqli, mysqlnd, OAuth, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, phalcon, Phar, posix, pspell, Reflection, session, SimpleXML, snmp, soap, sockets, SourceGuardian, SPL, sqlite3, standard, tidy, timezonedb, tokenizer, uploadprogress, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, yaml, zip, zlib.

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 1000
memory_limit - 256M
post_max_size - 1024M
sql.safe_mode - Off
upload_max_filesize - 1024M
memcache.max_failover_attempts - 20
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.