Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Dreamweaver template question
Old 04-26-2008, 02:16 PM Dreamweaver template question
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
I didn't know where to post this so if its in the wrong place please let me know.

I have created a new DW template and have navigation at the top and down the left.
I want to be able to add new pages to the links on the left in the template and have them duplicated thpughout the site (when I update the site with the template) - the links have a 'current' CSS style sttached which changes the button to show the page is the current one being viewed.

When I update using the template it removes all the CCS styling to that which is set in the left navigation to the template (which doesn't have a current style attached to the links) - it removes the class attribute in the HTML.

Is there a way of updating / adding links sitewide without effecting the existing styling of the links already on place?
I have tried to make the regions themselves editable but that doesn't work (when I do this the only option I get is 'class' which knocks the whole site out of whack).

Any help would be appreciated.

Thanks in advance.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
 
Register now for full access!
Old 04-27-2008, 10:59 AM Re: Dreamweaver template question
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
Is there a way of updating / adding links sitewide without effecting the existing styling of the links already on place?
Server-side includes. You can do it with PHP or ASP.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-27-2008, 04:31 PM Re: Dreamweaver template question
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Thanks LadynRed.

I was hoping it wouldn't be something like that, its a little beyond my capabilities at the moment (until I learn more)

Many thanks for the reply anyway.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 05-02-2008, 10:10 PM Re: Dreamweaver template question
toattractmoney's Avatar
Junior Talker

Posts: 1
Name: Kerrie
Location: www.toattractmoney.com
Trades: 0
bakerc,

do you want your to top navigation a different style to your left side navigation thoughout your website (and you want both styles on your style sheet -css)? I had this problem through the week and it is possible. Let me know as Im unsure wht you need.
toattractmoney is offline
Reply With Quote
View Public Profile
 
Old 05-02-2008, 11:33 PM Re: Dreamweaver template question
Super Talker

Posts: 138
Name: Shawn Lindsey
Location: Kentucky
Trades: 0
Hello,
Which version of Dreamweaver are you using. Because dreamweaver has a nice little option called "find and replace" by hitting Cntrl +F it will bring up a window, and you can choose from different options (images, source code, text and more) and you can put in the oringial source code in the top line, and the new code in the bottom line (with the new links) and then choose folder, or sitewide, in the lookin tab, and it will go through and replace and change that code in everything in that folder or on that entire site.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

ShawnITSolution is offline
Reply With Quote
View Public Profile Visit ShawnITSolution's homepage!
 
Old 05-03-2008, 03:36 AM Re: Dreamweaver template question
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
its a little beyond my capabilities at the moment (until I learn more)
It's really not difficult.

http://www.webmaster-talk.com/html-f...el-iframe.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 05-03-2008, 10:42 AM Re: Dreamweaver template question
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Thanks Chrishirst,

That looks like it will do exactly what I need (and more), I will need to set some time aside to get into it, I think I understand the concept (the whole is greater than the sum of its parts sort of thing). Until I can set aside some time I will have to carry on as I am (still getting the basics of PHP).

Quote:
do you want your to top navigation a different style to your left side navigation thoughout your website (and you want both styles on your style sheet -css)? I had this problem through the week and it is possible. Let me know as Im unsure wht you need.
The top navigation is going to stay the same (theres only 5 links on it) so its the left side navigation I am trying to sort.

The left side navigation is laid out differently, the navigation has CSS and the current page link has a class of 'current' which alters the colour to show the page is the one being vied and sets the mouse icon to normal when hovered (so it looks like the link is inactive)

When I add a page, in order to get the link duplicated throughout the site I am currently adding the link to the template, I then need to remove the editable region so it duplicates throughout the site but doing this strips out the 'current' class on the links for that region, which then means I have to re-set that section of links to an editable region, update the site, then go though and apply the class to the pages again.

I have seperated the navigation to reduce the number of links I have to do this with but uts still a headache.

Quote:
Which version of Dreamweaver are you using. Because dreamweaver has a nice little option called "find and replace" by hitting Cntrl +F it will bring up a window, and you can choose from different options (images, source code, text and more) and you can put in the oringial source code in the top line, and the new code in the bottom line (with the new links) and then choose folder, or sitewide, in the lookin tab, and it will go through and replace and change that code in everything in that folder or on that entire site
would this not then remove the 'current' class thats been assigned to certain lnks?
So, what I want is a way of updating the site with new links without stripping out the 'currnet' CSS class assigned to that section of navigation (links)

From what I have read server side includes are obviously the best way of doing this but finding the time to learn server side includes is going to be hard at the moment.

Is there any way I can work smarter with what I already have - without using server side includes (I dont want to do half a job and second guess what I'm doing). Learning a new tool or function in DW will be much quicker, I have DW CS3
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by bakerc; 05-03-2008 at 10:56 AM..
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Old 05-05-2008, 03:35 PM Re: Dreamweaver template question
Defies a Status

Posts: 2,071
Name: carl
Location: UK
Trades: 0
Sorry to dump this but I figured its better than a new thread, does anyone now how to set file permissions in DW CS3? (such as for a .htaccess file)

Thanks.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
bakerc is offline
Reply With Quote
View Public Profile Visit bakerc's homepage!
 
Reply     « Reply to Dreamweaver template question
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31157 seconds with 12 queries