How do I change a link to affect all...

User 2827537 Photo


Registered User
13 posts

After building my index page, I duplicated it, scrubbed out everything except, the grid, a row, headers and footers, and saved that page as a template from which to build all pages. This way I have consistent elements such as Button Links, Email Buttons, http elemets etc.

The Button Links on the template page each have a Class assigned to to each. But now that I need to change the link on one button, it will not change the same button on 75 other pages.

Am I missing something obvious here? How do I change a link that affects an identical element across the entire site?
User 515127 Photo


Registered User
116 posts

Hi Freddy - let me preface my remark by saying I'd rather be wrong, hope someone one explains a simpler way to do what you desire to accomplish?

Once you have created a link button, or set a link up, that reference is in the html portion and as far as I know, you cannot do a cascading update after the creation. The CSS properties are shared but the link reference is HTML that is created in the HTML page body and thus, the link property content is unique to each page.

If you are planning ahead for many pages sharing a common link - and you expect or think an edit of that object may be forthcoming, then the only obvious way (that I can come up with off hand) would be to use an html element that pulls up external content and include that external file in your resources.

If you use a common ID for the objects, you could use a shared external java script to update the common object's internal HTML when the page loads - but that may not work as you envision, across every platform or browser.

The problem with the ideas I have come up with - they require pre-planned provisioning, or else substantial retro-fit, they won't save you labor on your current iteration.

Regards,
Gordon
User 2699991 Photo


Registered User
5,305 posts
Online Now

If your html editor has the ability to do a "Find & Replace" function, try it from there. (do it for whole site not just the open document)

Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2827537 Photo


Registered User
13 posts

Thanks. I think I get the drift, but all this is way above my head.
The Find & Replace function seems like the sensible place to start, except I am working in RSD, not an html Editor. Unless you are refering to a feature within RSD.

Hmm.. sounds like one item on 75 pages needs to be changed, one by one.
User 2699991 Photo


Registered User
5,305 posts
Online Now

You use the HTML editor after you export it , but before you load it onto your hosting (ftp)
Mastering The Understanding With Hands-On Learning
NEW TO "COFFEECUP SITE DESIGNER" FOUNDATION 6 FRAMEWORK?
STUCK ON SOMETHING?

LEARNING & UNDERSTANDING "THE HOW TO"? THE WHY'S & THE WHEREFORE'S?
WITH WAYAN'S STEP BY STEP TUTORIALS


A simple quick way to contact me
https://mawarputih.coffeecup.com/forms/contact-wayan/
User 2088758 Photo


Senior Advisor
3,111 posts

Use an html element and either use php or ssi to work around this.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2706435 Photo


Ambassador
444 posts

CoffeeCup is supposed to be including a "master/template" feature sometime this early summer where a change on one page would be propagated through other pages. Perhaps you can hold out a little longer?

I called CoffeeCup about this because its a make or break feature for me because my site will grow to a hundred or so landing pages broken into different sets for google adwords directs. If I make a change on a landing page, I could have almost a dozen sets of pages to change where links or other items/graphics might not be able to share a find and replace function. Coffeecup assured me this feature is coming. This was a feature in ... Frontpage! I still use Expression Web, and I love this feature.
User 2466413 Photo


Registered User
22 posts

"CoffeeCup is supposed to be including a "master/template" feature sometime this early summer where a change on one page would be propagated through other pages."

If Scott could give us a conformation on this that would be super! :)
User 289442 Photo


Registered User
161 posts

Well, as many here know; the CC standard is: "soon"
User 2088758 Photo


Senior Advisor
3,111 posts

gl33 wrote:
"CoffeeCup is supposed to be including a "master/template" feature sometime this early summer where a change on one page would be propagated through other pages."

If Scott could give us a conformation on this that would be super! :)


I do not think that there will be a "master/template" feature as RSD kinda works that way right now. I did hear there will be libraries introduced in future versions of RSD.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.