Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-14-2008, 12:54 PM   #1 (permalink)
Junior Member
 
Join Date: 04-14-08
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

microbox is liked by many
Need help changing PHP layouts/templates

I downloaded a PHP gaming league script and installed it onto my website. The final results are here: http://microbox.890m.com/www/

But the problem is, I don't like the layout and designs that it uses. I need to know what's the easiest way to edit the layout and designs.

I want the layout to look similar to my homepage here:
http://microbox.890m.com/league.htm

I know that Frontpage has a VERY easy visual designing system, which is what I used to create the homepage. Is there any software that will do the same for PHP webpages?

If not, then what is the easiest way to do it?
microbox is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-15-2008, 02:53 PM   #2 (permalink)
Junior Member
 
Join Date: 04-14-08
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

microbox is liked by many
lol.. maybe I haven't made it clear enough.. so I'll rephrase it into one simple question:

What is the best software with WYSIWYG interface to edit Smarty TPL templates?
microbox is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-21-2008, 06:50 PM   #3 (permalink)
Contributing Member
 
jump's Avatar
 
Join Date: 05-19-07
Location: Australia
Posts: 65
iTrader: 0 / 0%
Latest Blog:
None

jump is liked by many
Quote:
Originally Posted by microbox View Post
lol.. maybe I haven't made it clear enough.. so I'll rephrase it into one simple question:

What is the best software with WYSIWYG interface to edit Smarty TPL templates?
You can use Dreamweaver:
http://www.smarty.net/faq.php#19

I have a site which has a script with Smarty templates but I did not use DW to edit.

All I did was create the template which was to be used for the site.

Then I found the main smarty layout files. In my case it was:
- main.tpl
- header.tpl
- footer.tpl

Then I added my design layout to these files one at a time, checking changes after each edit and making sure to keep all PHP statements and template tags unchanged. For example, if header.tpl looks like this:

Code:
<HTML> <HEAD> {popup_init src="/javascripts/overlib.js"} <TITLE>{$title} - {$Name}</TITLE> </HEAD>
I can add anything I want to any .tpl file as long as I don't mess up the code which the script needs to generate the content in the places where it is supposed to go.

After establishing the basic layout with the above 3 templates, I worked my way down through all the other .tpl files making minor layout changes where required.

I used a text based editor to avoid code-bloat which is common among WYSIWYG editors.

So what you can do is design your template first in some kind of WYSIWYG editor (like Dreamweaver for example), then use a text based editor to make changes to the actual templates, or you can change your tag delimiters in DW as suggested in the above link.
jump is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layouts? thevoid SEO Forum 3 02-01-2004 01:37 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 12:58 PM.
© Copyright 2008 V7 Inc