Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
hcg_themes
We don’t need no stinking Themes!
hcg_themes is a modified version of the hcg_templates plugin.
hcg_themes was created as an interim step for testing the new proposed Themes mechanism in Textpattern. Yes, you heard that right, Textpattern is slated to have the ability to easily import Theme packages.
Proposed folder layout:
- /files
- /images
- /textpattern
- /themes
- /default
- /files
- Scripts – .js, .swf, …
- /forms
- Presentation – Forms (.txp)
- /images
- Graphics – .jpg, .gif, .png, …
- /pages
- Presentation – Pages (.txp)
- /styles
- Presentation – Style (.css)
- /files
- /default
Features
- Import a complete theme set – Pages, Forms and Styles.
- Export your themes for archive purposes or offline editing.
Installation
- Create the /themes folder in the root of your Textpattern install.
- Make the /themes folder writable by the web server.
- Install hcg_themes via Admin / Plugins.
Download
hcg_themes_v0.5.txt (Textpattern 4.3.0 and above)
Last edited by hcgtv (2015-09-26 15:13:19)
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Re: hcg_themes
Hi Bert,
I moved the topic in the plugin author support forum and updated your profile so as to be able to start topics there should you have any other plugins under your sleeve.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: hcg_themes
colak wrote #292513:
I moved the topic in the plugin author support forum and updated your profile so as to be able to start topics there should you have any other plugins under your sleeve.
Thank you sir, you are most kind.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
Offline
Re: hcg_themes
Hi, the help content of the plugin seems to be outdated.
Naming conventions example…
- themes
- forms
- comments.comment.txp
- default.article.txp
- plainlinks.links.txp
…
- forms
…should be:
- themes
- forms
- comment.comments.txp
- article.default.txp
- link.plainlinks.txp
…
- forms
Offline
#6 2016-06-17 13:14:25
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: hcg_themes
Heads up:
I tried this on 4.5.7 and it garbled my txp_form table on re-importing, causing a JS error whenever I opened a page under Admin > Forms. Might be this is caused by the plugin not taking suffixes into account (rah_eo_form_name.html). On the other hand I have two suffixed forms and only one went wrong. Anyways, looking at the txp_form table I found my form’s name was split so I had the suffix in the name column and the name part in the type col which created an inaccessible twistie on top of the forms column on Admin > Forms.
I’ve not yet tried hcg_themes on 4.6, so it might be this is only an issue in versions up to 4.5.7. But regardless my advice is to have a backup at hand when importing.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#7 2016-06-17 15:03:28
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: hcg_themes
Another issue I see with this plugin: Before importing anything it creates a backup (which actually is a good thing) in a folder named preimport-data
. But you don’t really have a safety copy with this feature cause that folder’s contents is overwritten on the next import. That’s also valid, BTW, for hcg_templates, its predecessor. Perhaps also for the plugin it’s based upon (mcw_templates) and those that are derived from hcg_templates (cxc_templates, mem_templates).
To my mind, the preimport-data
folder should have a timestamp in its name.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Pages: 1