Closed (fixed)
Project:
WebApp
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Feb 2014 at 17:26 UTC
Updated:
3 Mar 2014 at 16:28 UTC
Jump to comment: Most recent
I found pretty handy to use the token [site:name] ( or [current-domain:name] if you are using Domain Access) for the title of the application, however I had to make a couple of changes to the code,that I want to share here on webapp.module (sorry not to contribute with a patch, skills yet to come ;) :
1)
line 71 'content' => variable_get('webapp_title_content'),
added the function to use tokens:
line 71 'content' => token_replace(variable_get('webapp_title_content')),
2)
removed line 258 /* '#maxlength' => 12,*/
because I couldn't use token [current-domain:name]
Why the limitation of 12 btw, it didn't hurt at least on IOS7.
Congrats again for the module.
Comments
Comment #1
grienauerI rewrite the code when I find some time!
thx for submitting your code!
the limitation is/was set because iOS only displays 12 characters...
I will add the info as an footnote I think
greetings from Vienna,
Nico
Comment #2
grienauerUpdated the Module and has now support for Tokens in the iOS App Title :)
Thx for submitting the changes!
Comment #3
grienauer