PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
d3fin3d
New Member
New Member


Joined: Mar 30, 2007
Posts: 5

PostPosted: Fri Mar 30, 2007 10:43 am Reply with quote Back to top

I wonder if you guys can help.

Due to the realisation that NukePHP 7.9 was unsecure, I downloaded and installed a clean copy of RN 2.10.00 and began building my site again from scratch.

I then copied my modified theme from 7.9 into RN's themes folder and ran it.

Here's my problem: After loading the theme, most content text is now centered as opposed to aligned to the left like it was before. From forums to news articles to surveys it's pretty much all centered when loading the site through IE. However with firefox the site seems to align all the problematic text fine. It seems the problem only occurs on IE and is due to XHTML (
Only registered users can see links on this board!
Get registered or login to the forums!
).

Any ideas on how to resolve this? Do I need to edit a few specific files so that the slign tags have the value of left?

The theme in question is "WD-OpticsV1" from WarpedDesignz.com.

Thanks in advance.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Mar 30, 2007 10:59 am Reply with quote Back to top

What I had to do was go find some key TD tags in my theme and add align="left" to them to get it to look how it did before under IE.
View user's profile Send private message
d3fin3d
New Member
New Member


Joined: Mar 30, 2007
Posts: 5

PostPosted: Fri Mar 30, 2007 11:27 am Reply with quote Back to top

Hi Gremmie,

Thanks for the reply.

Any tips on where to start/which files to go through/which specific TD tags to modify? I'm only a few days into working with nuke, so any tips would be a huge help Smile.

Thanks.
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Mar 30, 2007 11:43 am Reply with quote Back to top

Well unfortunately there is no cook-book answer. It is pretty theme specific. If your theme uses .html files that it reads in and evals, then start with those. You kind of have to stare at the HTML in your editor in one window and look at it in your browser in another and try to see where things line up.
View user's profile Send private message
d3fin3d
New Member
New Member


Joined: Mar 30, 2007
Posts: 5

PostPosted: Fri Mar 30, 2007 2:34 pm Reply with quote Back to top

Well I found quite a few td tags within the theme which needed align="left". I had to pretty much adjust every single tpl forum file within the theme to get the forum looking right.

I have also edited a few html files within the theme, however the rest of the site is still largely centered (there were only a few html files within the theme: blocks, footer, header, a blank index file, story_page and story_home. None of which control the rest of the site, ie downloads, topics, surveys, links, every other category, the entire admin section, etc).

So, I have no idea how to fix the rest of the site without editing the raven files (perhaps modules?). No idea where to start with that. I wonder if there's a way to write a script which will add align="left" tags without having to edit every single file on the site. Or just a script which will align=left anything that has no align tag.

I'm surprised that I seem to be the only one with pretty much the entire site centered. Is it just a conflict between the theme and ravennuke?

Any more ideas?
View user's profile Send private message
Gremmie
Former Moderator in Good Standing


Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA

PostPosted: Fri Mar 30, 2007 2:51 pm Reply with quote Back to top

Look at the OpenTable()/CloseTable() functions in theme.php. Those are used extensively throughout those modules you list as having problems.
View user's profile Send private message
d3fin3d
New Member
New Member


Joined: Mar 30, 2007
Posts: 5

PostPosted: Fri Mar 30, 2007 3:40 pm Reply with quote Back to top

Gremmie,

Thanks for that and all your help today. Smile. modifying those td's seems to have solved the remaining problem.

Cheers.
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum