TinyPortal

Development => Support => Topic started by: rhynes on March 21, 2008, 10:04:12 PM

Title: installing smf mods to tinyportal theme...
Post by: rhynes on March 21, 2008, 10:04:12 PM
How is it done???

I'm currently running tinyportal (great peice of work btw), and tp-january theme. Using global announcements as an example, I installed it and of course it doesn't work cause i'm not using the default theme.

Following the install.xml, there are files to be changed that are not a part of the theme. So I copied them from the default directory to the tp_january. Still no go. On my other board i'm using the default template, and global announcements shows under the mod section but not under this theme.

What am I doing wrong?

Thanks.
Title: Re: installing smf mods to tinyportal theme...
Post by: G6Cad on March 21, 2008, 10:06:31 PM
If the files the mod uses are missing from the template you have installed, you dont have to do anything with, the template will look for the files in the default theme, so remove the files you copied from the default and just make the changes to the files that comes with the theme.  :D
Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 21, 2008, 10:14:49 PM
removed the files but it's still not working :(

I uninstalled the mod once, then reinstalled... i'll check the files in default manually and post back...
Title: Re: installing smf mods to tinyportal theme...
Post by: Smoky on March 21, 2008, 10:22:47 PM
you will need to manually edit the custom theme with the mods edits     to the files that the custom theme has.. if there arent files in the theme that the xml file says to edit.. do not worry, them info is passed from the default.. post back if any questions  ;)
Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 21, 2008, 10:32:34 PM
ok, I checked all the files, all the mod additions are where they are supposed to be. Still not working.

The only difference is the index.template.php file in both the default and the custom directories now have the mod additions. remove from one or the other, still no workie.

Is there anything that needs to be done to TP itself?

I'm going to try to add a different mod, see if it works.
Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 21, 2008, 10:39:13 PM
hrrrmmmm... just installed the awards mod for a test, just simple changes to display.template.php and profile.template.php

still no go... neither of these files exist in the january template. I even cut and pasted them to the january template so they don't exist in the default at all... still no show. 

wtf.
Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 21, 2008, 11:31:56 PM
I'm going to start a post at the smf forums, I don't think this is a TP problem.

When I kick back to the default, the mods still aren't showing... Install new ones don't appear either.
Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 22, 2008, 01:31:14 AM
Ok, it's the theme... links don't appear but they work.

When global announcements is installed, it provides a link for functionality but not a clickable link in the admin section...

small problem, but workable.
Title: Re: installing smf mods to tinyportal theme...
Post by: Zetan on March 22, 2008, 07:24:18 AM
You don't need to edit any of the TP files.

As you now know, Custom themes have files that are also found in the Default theme.

Title: Re: installing smf mods to tinyportal theme...
Post by: rhynes on March 22, 2008, 03:15:10 PM
Yeah, i'm still trying to wrap my head around the concept of the smf and tinyportal combined...

The GA mod works, just no link to be found... not a big deal. Every other mod i've put in works now...

Thanks.