LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2009, 05:01 PM   #1
vhenry
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Web Dev IDE or Editor Templates


Hi,

After years of starts and stops, finally made the plunge and joined the linux community a couple months ago - can I say I'll never look back? Loving Ubuntu and all the open source software replacements.

After doing my web development in dreamweaver, I've just begun experimenting with Netbeans, Aptana, Gedit, Jedit and Geany on the Linux side, but there's one nagging feature I've not been able to duplicate and hoping you guys can help.

In Dreamweaver, when starting a new web project, I'd create a template that housed my header, navigation and footer, and create all the pages of the site from this template. That way, as the site grew larger and I needed to change, say a navigation bar item, I'd make the change on the initial template and DW would apply it to the other pages of the site - quite useful.

Please tell me there is a way to duplicate this functionality with one of the Linux editors? Am I simply doomed to have to update the navigation on each and every page - please, say it ain't so. :-)
 
Old 05-28-2009, 06:42 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If you use netbeans to write java apps, you can edit the default template. I'm sure you can do the same for any type of content.
 
Old 05-28-2009, 06:53 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
This may be a silly question ... but wouldn't one normally put
navigation into a separate frame, rather than replicating it into
every single page?



Cheers,
Tink
 
Old 05-28-2009, 08:11 PM   #4
vhenry
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
This may be a silly question ... but wouldn't one normally put
navigation into a separate frame, rather than replicating it into
every single page?



Cheers,
Tink
Tink, the way things work in DW, the code is automatically replicated on each page if you create from the template - more as a placeholder, not even editable. If there is another/better tool or way to do my web development, I'm all ears. :-)
 
Old 05-28-2009, 08:11 PM   #5
vhenry
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
If you use netbeans to write java apps, you can edit the default template. I'm sure you can do the same for any type of content.
Will give this a quick try later in netbeans.
 
Old 05-28-2009, 08:17 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by vhenry View Post
Tink, the way things work in DW, the code is automatically replicated on each page if you create from the template - more as a placeholder, not even editable. If there is another/better tool or way to do my web development, I'm all ears. :-)
Hmmm ... what is your requirement, then? I don't really
know much about dreamweaver, aside from the fact that it
produced rather large documents when I last looked at it
MANY years ago (7+), and I didn't like it much for that
very reason ....



Cheers,
Tink
 
Old 05-28-2009, 10:05 PM   #7
vhenry
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
Hmmm ... what is your requirement, then? I don't really
know much about dreamweaver, aside from the fact that it
produced rather large documents when I last looked at it
MANY years ago (7+), and I didn't like it much for that
very reason ....



Cheers,
Tink
requirement is to be able to modify page elements common to all pages (i.e. navigation, header, footer) on one page and have that replicated across the entire site. Alternative is if I wanted to add one item to menu, I'd have to add this to all 100+ pages.
 
Old 05-29-2009, 12:39 AM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Heh ... so you're not using frames at all? Most unusual.

What one could do (if one was eager) is to use m4 macros
for those elements.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE/Web Development Editor of the Year jeremy 2008 LinuxQuestions.org Members Choice Awards 46 03-16-2009 03:22 AM
LXer: Learn to Design Web Themes and Templates with New Wiki LXer Syndicated Linux News 0 03-31-2008 10:30 AM
IDE/Web Development Editor of the Year jeremy 2007 LinuxQuestions.org Members Choice Awards 59 03-04-2008 12:37 PM
Free Web Site templates UltimaGuy Programming 1 02-17-2004 09:50 AM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 09:36 PM


All times are GMT -5. The time now is 04:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration