I am using AT-Lite .8. I would like to make all my modules display much like blocks, with templated title and content. I have looked on the AutoTheme user forums to no avail. Anyone know how to do this?
Thanks,
Nick
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Autotheme template for all modules
-
- Rank: Helper
- Registered: Jan 29, 2004
- Last visit: Oct 21, 2009
- Posts: 852
-
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Hi, if you mean multiple modules per page like blocks I can tell you that this is not possible.
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 29
All I want to do is make a template that would apply to ALL modules, and would automatically put the name of the module on the page. I do not want custom module templates, this is for my entire site. Nor do I want multiple modules on the smae page.
-Nick -
- Rank: Team Member
- Registered: Dec 07, 2003
- Last visit: May 09, 2010
- Posts: 2703
Well that depends on what modules you have installed... the theme engine will try to overide any hardcoded themes... but some modules are not softcode insofar as themes... pnPHPbb2 is an example of this. It can often require a second theme style sheet, depending on your theme and style sheet.
--
David Pahl
Zikula Support Team -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 29
OK, I am not sure if you are understanding what I am saying. I want to use the same theme template for my entire site (theme.html). Nothing custom for any modules. I want to be able to define a template (like area1.html) for *modules*, just like I do with blocks. So, when I put my module tag in the main theme template, it will use my module template such as "module.html" and insert the module name and module content.
-Nick -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
Well you could always use pnModGetName(); - just add this to your template:
This will get the name of the module.
YOu will not be able to use modules like blocks, you can only have ONE module per page load (well you can use pnModLoad() ), but it would take quite a bit of work to acheive what you want.
So basically use pnModGetName(); just before your tag and it will work on each page. Since you will only ever have one module per page load you don't need an external template - you add the HTML directly to the main theme template.
-Lobos
-Lobos
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 25, 2006
- Posts: 13
that was perfect tahnks from me too ..
:)
http://www.loanskey.…n_consolidation.php
http://www.loanskey.…a_mortgage_loan.php
http://www.loanskey.…ine_payday_loan.php
- Moderated by:
- Support
