Enhancement: im/export templates (Templatewizard)

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Ouchhhh !!! :wink:
Erich Strikes again ... :D
Awesome work !!! 8)

Cheers,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
alchemistkevin
Posts: 15
Joined: Sun 11. Apr 2004, 22:09
Location: London
Contact:

Post by alchemistkevin »

erich_k4 wrote: install instructions:
extract the templateswitcher.php file to the root directory of your phpwcms installation

usage instructions:
simply create an contentpart text and place the following php code inside:

Code: Select all

[PHP]
$tw_form_css = '';
$tw_select_css = 'style="font-size:10px;"';
$tw_button_css = 'style="font-size:10px;"';

include "templateswitcher.php";
[/PHP]
Where do you creae the contentpart text? - Thanks
in an alternate time
culda_a
Posts: 521
Joined: Tue 28. Feb 2006, 01:39
Contact:

Post by culda_a »

Question is there a script where the user to change the template ? like to change the color of the template?
ImagePackging design,labels, catalogs,postcards,
User avatar
kukki
Posts: 1709
Joined: Mon 7. Feb 2005, 20:02
Location: Berlin Köpenick
Contact:

Post by kukki »

Hallo Erich,

ich habe nun erstmalig heute, - da ich die wenige Freizeit lieber für mein Hobby verschwendet habe :D -, den TemplateWizard in einer eigenen Testinstallation (1.2.8g) verwendet. Sozusagen meine beiden FavoritenTemplates zzgl. dem Wizard und dann die erste Fremdinstallierung. (PEPES Tutorial)
Bedauerlicherweise werden die Bilder immer nicht in den Ordner Templates übertragen, ansonsten klappte alles besser als nur die Türen. :lol: Aber es bewegt mich nun doch, weshalb diese Bildchen per Hand zu übertragen sind ... habe ich da etwas überlesen :?:

Und wenn ich die Bilder per FTP übertragen habe, dann erscheinen einfach einige nicht, obwohl diese im richtigen Ordner, (casesensitiv wurde beachtet) übertragen wurden. Mein FTP-Programm zeigt diese als Thumbnails korrekt an und die Bildeigenschaften entsprechen korrekt denen in den Verzeichnissen in /Template. :cry:
Hast Du da eine Idee :idea:

Auch die Screenshuts habe ich per Hand nachinstalliert, jetzt sind diese in der Vorschau zu sehen! :(

PS.: Anhand des Layout_07 habe ich es noch einmal gemacht mit gleichem Ergebnis:
Image
Image

Nach der beschriebenen "Handarbeit" sieht es ersteinmal besser aus!
Image

Und nachdem ich Layout_07 auch noch einmal mit dem TplWiz installierte und per Hand via FTP das gesamte Verzeichnis nach Template verschiffte kam ein richtiges Ergebnis zustande.

Dagegen sieht Pepes Seite nach dem ersten versuch halbwegs o.k. aus ...
Image

Müssen die gesamten Verzeichnisse nun doch per Hand via FTP überspielt werden?
Lieber arm dran als Arm ab!

meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
User avatar
Mr.Flash
Posts: 50
Joined: Thu 3. May 2007, 19:17
Contact:

Post by Mr.Flash »

Hey yo!
just read the whole topic..
sounds and looks great!

I guess it is not included into the main core of 1.3.3, since I don't see a "template" link at the backend.. :(

are you working on a version for phpwcms 1.3 ?
Omar
Posts: 44
Joined: Thu 10. Feb 2005, 21:55
Location: Netherlands

Post by Omar »

Does anyone know if this will work with the latest version of PHPWCMS?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi,

this RT don´t work with the V1.33.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Re: Enhancement: im/export templates (Templatewizard)

Post by phalancs »

why is this not alive anymore?

any remedy or intentions to reactivate it?

:)
2008
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Enhancement: im/export templates (Templatewizard)

Post by juergen »

Dont know phalancs, one of these projects i ever began an left it unfinished. The thing is easy: Blob vars from template Table entry into phpwcms Vars and back, all in all only 2 directives. ( Serialize <-> Unserialize) The thing is : Security. How cone one avoid bad code injection by a completed downloadable foreign Template ? As good as not in my opinion.

Sad but true !
phalancs
Posts: 793
Joined: Thu 19. Feb 2004, 05:09
Location: Germany

Re: Enhancement: im/export templates (Templatewizard)

Post by phalancs »

Well thank you for your clarification. basically its the usual problem: the biggest security issue is sitting in front of the monitor :)
But: for us pro users it can be a time saver. we could manage our own library of themes and just secundarily might share
them with others.

Ok, since i am working on a bigger project right now i think i will have a look. This might come in handy and i really dont
understand why such a gift never got implemented!

Irgendwie immer albern wenn man dann doch auf englisch spricht btw lol :)

Sag mal der Download geht nicht mehr, magst Du mir die aktuellste version schicken? wäre super, vielen dank!!!! :)
2008
Post Reply