Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Mon Jul 06, 2009 6:07 am
Reply with quote

I am running phpnuke 8.1 patched and the latest version of DS.
I copied the default theme and renamed it and changed all /templates/default paths to reflect the new theme. When editing the css files changes are not seen.
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Jul 07, 2009 1:12 am
Reply with quote

I have no idea what 'DS' is but assuming that you are editing the stylesheet in themes/YourTheme/styles/xxx then the problem is likely to be a browser caching issue.
If you clear your browser cach the changes should show up immediately.

Oh wait....
You cannot just copy the files from themes/YourTheme/ to modules/Forums/templates...
A 'theme' is for the presentation of phpNuke, a 'template' is only for the presentation of the forums module.
You can override the forum template in themes/YourTheme/forums/xxx

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Tue Jul 07, 2009 1:25 pm
Reply with quote

DS is referring to Digital Shop and the theme and templete files are those found in the Digital Shop Module
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Jul 07, 2009 3:31 pm
Reply with quote

I don't think you need to change any file paths, just select the new theme name in the administration area.
If your shop still has the original theme as the default then the changes won't update unless you are editing the stylesheet in the default theme as that is the one thats 'active'.
Do you have a link to your shop so I can see which stylesheet it's using?

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Sat Jul 18, 2009 8:51 am
Reply with quote

http://www.ourmusictown.com/modules.php?name=Digital_Shop

also I have developed a new issue.. I had added a flash file to the footer.tpl of my theme and now even though I have removed all code and cleared browser cache it is still showing up
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Sat Jul 18, 2009 9:46 am
Reply with quote

I don't see it, sorry.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Sat Jul 18, 2009 9:57 am
Reply with quote

you're right its no longer there I will have my web host check the caching on the server sorry but thanks for the quick response!
 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Sat Jul 18, 2009 10:06 am
Reply with quote

I forgot that I changed it back to the default theme I have now set it to the new theme and it is back. I had added the following code to the footer.tpl in the Digital Shop template current theme directory:

<table><tr><td>
<table><tr><td>
<object> <param> <param> <embed></embed></object></td></tr></table></td></tr></table>

checked it then knew it would be better to not have it on the bottom of all my shop pages so I removed it and now it is still there.
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Sat Jul 18, 2009 10:19 am
Reply with quote

You are using the 'default' Shop template as I can see it calling the css file for it
Code:

modules/Digital_Shop/templates/default/style.css

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Tue Jul 21, 2009 12:45 am
Reply with quote

so its obvious to me that coping the default theme is not the way to go I just cant seem to find all the path refferences. so I have gone to editing the default theme and that is working well (just simple stuff color changes that kind of thing) I am having an issue adding details to items. I get the following error when clicking on either of the text areas in the edit item form:
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Tue Jul 21, 2009 5:28 am
Reply with quote

You don't need to change any paths, just copy the 'default' directory completely, save it to your PC. Rename it from 'default' to 'music' (or whatever you want to call it) and then upload it back into the 'template' directory and then switch it over in the administration area.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Thu Jul 23, 2009 8:37 am
Reply with quote

I received that message after witching back to the default theme
 
View user's profile Send private message
Guardian




Joined: Dec 09, 2006
Posts: 335

PostPosted: Thu Jul 23, 2009 9:47 am
Reply with quote

If you have been editing the code, it might be easier to make a back up of the default Shop template , delete it from your site and then upload a clean one from the package you downloaded.

I don't use Internet Exploder but it could be just one of the browser security settings gone ape, there is an option under tools for turning javascript errors off which should be turned off by defauly but some spyware can mess with it.

_________________
Code Authors Nuke Reviews 
View user's profile Send private message
randy




Joined: Dec 09, 2008
Posts: 10

PostPosted: Fri Jul 24, 2009 7:06 am
Reply with quote

switched over to firefox and everything works fine

thanks!
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©