Hi.
Can i include a module in a style?
Like including html templates with the <!-- INCLUDE page.html --> tag, can i type something like <!-- INCLUDE module --> or can i somehow redirect to a module page
Including mods in styles
Re: Including mods in styles
Hence moving.Big Pink Box™ wrote:While phpBB.com is offline, support related to styles themselves (code questions, "How do I do XYZ?", etc.) should be asked in the temporary MOD/Styles support forums.
-
- Registered User
- Posts: 7
- Joined: Thu Feb 05, 2009 12:11 am
Re: Including mods in styles
*push*
Re: Including mods in styles
You will have to define what a "module" is.pellefjant wrote:Can i include a module in a style?
Like including html templates with the <!-- INCLUDE page.html --> tag, can i type something like <!-- INCLUDE module --> or can i somehow redirect to a module page
-
- Registered User
- Posts: 7
- Joined: Thu Feb 05, 2009 12:11 am
Re: Including mods in styles
By module i mean a user defined ucp module(MOD)
Re: Including mods in styles
You could easily make a link to a ucp page, but you would have to include the code in the PHP page to embed it in another page.
-
- Registered User
- Posts: 7
- Joined: Thu Feb 05, 2009 12:11 am
Re: Including mods in styles
i've tried this code in a style template:
<!-- INCLUDEPHP test.php -->
But it doesn't seam to work... it gives me no error either.
<!-- INCLUDEPHP test.php -->
But it doesn't seam to work... it gives me no error either.
Re: Including mods in styles
You would have to enable php in templates on your Security Settings page.
-
- Registered User
- Posts: 7
- Joined: Thu Feb 05, 2009 12:11 am
Re: Including mods in styles
Where should i put the php script ?
Re: Including mods in styles
Don't you mean to use a normal link ? somehing like ?
Code: Select all
<a href="test.php">To module...</a>