Announcement

#1 2014-02-04 07:40:42

hkdigit
Translation Team
Hong Kong
2013-05-23
89

[resolved] How to clone Smartpocket theme

I want to make some changes on Smartpocket TPL files, should I clone all files at

\themes\smartpocket

to new folder:

\themes\smartpocket-hkdigit


Then,  where can I config Piwigo to use the new mobile theme?

Many thanks in advance.

Piwigo 2.6.1

Offline

 

#2 2014-02-04 07:58:32

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7058

Re: [resolved] How to clone Smartpocket theme

Hi :-)

Have you change name in file themeconf.inc in folder \themes\smartpocket-hkdigit

Go to Administration -> Configuration -> theme

desactivate mobile theme and activate your mobile theme


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2014-02-04 09:04:46

hkdigit
Translation Team
Hong Kong
2013-05-23
89

Re: [resolved] How to clone Smartpocket theme

Thanks ddtdd,

It's working:

I changed the following lines:
Line 03 :  Theme Name: Smart Pocket - HKDIGIT
Line 17 : include(PHPWG_THEMES_PATH.'smartpocket-hkdigit/admin/upgrade.inc.php');
Line 19 : load_language('theme.lang', PHPWG_THEMES_PATH.'smartpocket-hkdigit/');

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact