View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003939 | Composr alpha bug reports | [All Projects] General / Uncategorised | public | 2019-10-31 21:21 | 2020-03-24 16:03 |
Reporter | Chris Graham | Assigned To | Salman | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Summary | 0003939: Default homepage_hero_slider slides are full of English | ||||
Description | In site/pages/modules/galleries.php default slides are created, but they are full of English. This is fairly problematic. It's not only that English is hard-coded, it's that right now there is no consideration of the content being potentially available in multiple languages on the same site at the point of installation - which is something we support for all other default content. And if we did put all this through the translation system as language strings, we'd be repeating a lot of HTML/CSS for each translation, which we do not want to have to do. We can't channel it through included pages or page templates as that would be pretty bloaty, considering this is content that is significantly 'deeper' than pages. So I suggest changing the default content to use a Tempcode INCLUDE directive, to some new templates named something like GALLERIES_DEFAULT_HERO_SLIDER_1.tpl etc. Once it is moved to templates, the English can be replaced with normal language string references. I also wonder if this content is represented properly in the Setup Wizard - any default content like this needs to be removable by the setup wizard. See sources/hooks/modules/admin_setupwizard/banners.php as an example. | ||||
Tags | No tags attached. | ||||
Sponsorship open | |||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-31 21:21 | Chris Graham | New Issue | |
2019-10-31 21:21 | Chris Graham | Status | non-assigned => assigned |
2019-10-31 21:21 | Chris Graham | Assigned To | => Salman |
2019-10-31 21:21 | Chris Graham | Relationship added | related to 0003938 |
2019-11-02 14:25 | Chris Graham | Project | Composr testing platform / automation goals => Composr alpha bug reports |
2020-03-24 16:03 | Chris Graham | Status | assigned => resolved |
2020-03-24 16:03 | Chris Graham | Resolution | open => fixed |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |