View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 10477 | Bug reports | public | 2016-02-16 13:58 | 2016-03-05 10:32 | |
| Reporter | DenisChenu | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | won't fix | ||
| Product Version | 2.50.x | ||||
| Summary | 10477: Forced list for some "button" | ||||
| Description | {SAVE_LINKS} and {CLEARALL_LINKS} are replacved by I think it's not the needed system | ||||
| Steps To Reproduce | Look at https://github.com/LimeSurvey/LimeSurvey/blob/master/templates/default/views/startpage.pstpl#L31 ul Exmplain by https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/replacements_helper.php#L409 | ||||
| Additional Information | Another template can want {SAVE_LINKS} outside of a list : we force to use it in list. There are HTML5 issue too in public list:
</div> In previous template we can use Expression manager inside template.pstpl to add or not a li. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | |||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
|
@Louis : can we add the li only in template, and don't add it in core. |
|
|
Denis, my original code was just removing the old links, to replace them by a bootstrap nav-bar version. So it was working fine and easy. But, many people complained about it, and asked to leave also the original code. So I also leave the possibility to use the old keywords for replacement. So, in 2.5, if you prefer to use the old keywords for those link : you can. It will provide you the same HTML as before. |
|
|
Hi, Yes, i'm the one who ask old code : more accessibility, no js needed etc .... OK, then adding a element with specific template usage ? |
|
|
you can just use the old keywords to get the old HTML links. So, don't hesitate to ask for more : I think that much more HTML code could be let to the template side. (and of course, letting all the old replacement keywords) |
|
|
Hi Louis : i doin't want more (and more and more) core replacement keywords. What i really want it's a Core Replavement event for plugin (and maybe template can use plugin event). Adding core replacement is reamlly a never ending story :) I close this. But still : please remind to don't li : div/span are OK, but li is specific (like td/tr or p). |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-02-16 13:58 | DenisChenu | New Issue | |
| 2016-02-29 11:18 | DenisChenu | Relationship added | related to 10562 |
| 2016-02-29 11:32 | DenisChenu | Steps to Reproduce Updated | |
| 2016-03-04 15:59 | DenisChenu | Assigned To | => LouisGac |
| 2016-03-04 15:59 | DenisChenu | Status | new => assigned |
| 2016-03-04 16:00 | DenisChenu | Note Added: 35978 | |
| 2016-03-04 16:17 |
|
Note Added: 35980 | |
| 2016-03-04 16:17 |
|
Note Edited: 35980 | |
| 2016-03-04 16:19 | DenisChenu | Note Added: 35981 | |
| 2016-03-04 16:29 |
|
Note Added: 35982 | |
| 2016-03-04 16:30 |
|
Note Edited: 35982 | |
| 2016-03-05 10:31 | DenisChenu | Note Added: 35987 | |
| 2016-03-05 10:32 | DenisChenu | Status | assigned => closed |
| 2016-03-05 10:32 | DenisChenu | Resolution | open => won't fix |
| 2026-11-20 10:33 | c_schmitz | Category | Templates => (No Category) |