Relationship Graph View Issue Dependency Graph
related to child of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
14669Feature requests[All Projects] Import/Exportpublic2019-09-24 10:11
ReporterMazi Assigned ToMazi  
PrioritynoneSeverityfeature 
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary14669: Missing option to include your own logo at PDF response export
Description

While exporting the statistics to PDF now supports having your own logo (see https://bugs.limesurvey.org/view.php?id=14232), the PDF response export is missing a feature of being able to add your own logo.

As discussed at the DEV meeting a while ago we will work on that and provide a patch for Limesurvey 4 which works similar to adding your logo to the statistics PDF:

  • If a custom logo_responseexport.jpg exists at the admin theme, use that one
  • If no custom theme is used, use the default logo_responseexport.jpg file from the shipped admin theme. For this we will simply copy and rename the already existing logo_statistics.jpg file.
TagsNo tags attached.

Activities

DenisChenu

DenisChenu

2019-03-20 13:12

developer   ~51060

Logo by survey can be great too :)
But can be in Theme option for this survey (with inherit)

Mazi

Mazi

2019-03-20 13:21

partner   ~51061

"Logo by survey" -> Great idea, we just need to properly check this e.g.

  • IF logo with proper name available at survey theme -> take that one
  • ELSEIF logo with proper name available at admin theme -> take that one
  • ELSE -> take logo from shipped admin theme
DenisChenu

DenisChenu

2019-03-20 14:23

developer   ~51066

In 4.0 : there are inherited options , maybe it can be used for file too .

Maybe can use same dropdown than Theme Logo ? Have

  • Global image
  • Theme image
  • Survey image


DenisChenu

DenisChenu

2019-03-20 14:40

developer   ~51067

With fixed logo name

  1. Logo name in upload/survey/XXXX/images/
  2. Logo name in survey template (with inheritance).
Mazi

Mazi

2019-03-20 14:52

partner   ~51068

We'll check that option. Where can we find some sample code?

DenisChenu

DenisChenu

2019-03-20 15:06

developer   ~51069

Image list is constructed here : https://github.com/LimeSurvey/LimeSurvey/blob/develop/application/models/TemplateConfiguration.php#L833-L848

Maybe create a getImageFileList in Survey::model ?

Mazi

Mazi

2019-09-19 12:02

partner   ~53656

Feature added to Limesurvey 4: https://github.com/LimeSurvey/LimeSurvey/pull/1304.

@cdorin, please mark this one as done.

Issue History

Date Modified Username Field Change
2019-03-20 11:51 Mazi New Issue
2019-03-20 11:51 Mazi Status new => assigned
2019-03-20 11:51 Mazi Assigned To => Mazi
2019-03-20 11:51 Mazi Relationship added child of 14232
2019-03-20 11:52 Mazi Relationship added related to 14668
2019-03-20 13:12 DenisChenu Note Added: 51060
2019-03-20 13:21 Mazi Note Added: 51061
2019-03-20 14:23 DenisChenu File Added: Capture d’écran du 2019-03-20 14-23-07.png
2019-03-20 14:23 DenisChenu Note Added: 51066
2019-03-20 14:40 DenisChenu Note Added: 51067
2019-03-20 14:52 Mazi Note Added: 51068
2019-03-20 15:06 DenisChenu Note Added: 51069
2019-09-19 12:02 Mazi Note Added: 53656
2019-09-24 10:11 cdorin Status assigned => closed
2019-09-24 10:11 cdorin Resolution open => fixed