How to update duplicate links

my (church) website has a number of HTML "Calendar" pages. One page for each month, with easy navigation from one page to another. These pages list services and activities that happen during the month. I retain several previous months' pages as well as future months, so that visitors can see what sort of stuff goes on at the church. On the home page and on several other pages I have a Spry menubar tab named "calendar". Each new month, I edit the menubar tab links to navigate to the current month Calendar page. Is there an easy way to update all these links simultaneously? Or should I direct the menubar links to a single dummy page as an intermediate page that will redirect immediately to the current page (so I only have to edit the dummy page each month)?

You are not referencing the Library item properly although this is a creative attempt. The correct way to do it (with this example) would be to start with this code on your page containing the spry menubar -
<li><a href="#">Home</a></li>
In Design view, select the word "Home" and on the Quick tag selector (at the bottom of the document pane) click on the "<a>" so that the entire link is selected. Then in the Library category of the Assets panel, select ThisMonth.lbi, and click on INSERT at the bottom of the Library pane. And you will have replaced that Home link with the Library item. Your resulting code would look like this -
<li><!-- #BeginLibraryItem "/Library/ThisMonth.lbi" --><a href="../pages/2013_01.html">Home</a><!-- #EndLibraryItem --></li>
Now, DW will manage that link for any changes you make to the Library item.

Similar Messages

  • How to update duplicate row from table

    Hi,
    how to update duplicate row from table?
    First to find duplicate row then update duplicate row with no to that duplicate row in oracle.
    can you give me suggestion on it?
    Thanks in advance.
    your early response is appreciated...

    In order to find a duplicate row, see:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1224636375004
    (or search this forum, your question has been asked before)
    In order to update it, just create and use an Oracle sequence, have it start and increment at a value that doesn't exist in your table.
    If that doesn't get you going, post some CREATE TABLE + INSERT INTO statements, and the results you want from them, in other words: a complete testcase.

  • How to update Solaris Link Editors: (ld) in Solaris 10

    Hi,
    How do I update Solaris Link Editors: from 5.10-1.500 to 5.10-1.1505 ?
    This is wat I get:
    bash-3.00# /usr/ccs/bin/ld -V
    ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.490
    gcc version is 3.4.3
    bash-3.00# /usr/sfw/bin/gcc -v
    Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
    Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure prefix=/usr/sfw with-as=/usr/sfw/bin/gas with-gnu-as with-ld=/usr/ccs/bin/ld without-gnu-ld enable-languages=c,c++ --enable-shared
    Thread model: posix
    gcc version 3.4.3

    Try and check if there is any patch which contains /usr/ccs/bin/ld, that should do the trick..
    .7/M.

  • How to update duplicate id?

    Hi friends,
    I have a table EMP with duplicate IDs.
    For example:
    ID
    100
    100
    200
    200
    200
    To make it unique, I would like to concatenate at the end of each a sequence-no or rownum, like this desired output:
    ID
    1001
    1002
    2001
    2002
    2003
    How do I write a sql to do this?
    Thanks a lot,
    Ms Inday

    Hi,
    crystal wrote:
    Sorry Sol...the ID is varchar2 there is "-" in it like 100-001 :( is there another solution?That's exactly the kind of confusion that is avoided if you post your CREATE TABLE statement.
    I think there are less than 10 duplicates each number....This does what you requested:
    MERGE INTO  table_x     dst
    USING  (
               SELECT  ROWID     AS r_id
            ,        ROW_NUMBER () OVER ( PARTITION BY  id
                                               ORDER BY      NULL     -- ROW_NUMBER requires ORDER BY
                              )     AS seq_num
             FROM    table_x
           )          src
    ON     (src.r_id     = dst.ROWID)
    WHEN MATCHED
    THEN UPDATE
           SET     dst.id     = dst.id || '-' || src.seq_num
    ;With this technique, you can have 10, or 100, or any number of rows with the same original id. The id column must be long enough to accept the longer values. (If necessary, do an ALTER TABLE to make the column bigger before doing the MERGE.)

  • How to update element link

    hi,
    in oracle applications 11i global hrms : From Compensation and Benefits-> Element Link (Form Name : PAYWSLEL)
    How can I update/ add Group field to an existing element link?
    thank you...

    Once the Element Link is created, it canot be updated. You'll have to use a new Element Link.
    Cheers,
    VB

  • How to update all links globally

    Somehow all the links in my html file all point to images
    with a fully qualified path on my PC, including the drive. I need
    to make all these links point to the relative path im my server.
    Can anyone tell me what option converts these to path
    relative to the current html page?
    Dreamweaver MX 2004
    Many Many Thanks
    -A

    > qualified path on my PC, including the drive.
    This usually means that your site is not defined properly,
    and will always
    occur when a file is saved outside the root of the site.
    Please show me one of these broken links. Also, please tell
    me the defined
    path to the local root folder.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "awardblvr" <[email protected]> wrote in
    message
    news:ec4stn$ph3$[email protected]..
    > Somehow all the links in my html file all point to
    images with a fully
    > qualified path on my PC, including the drive. I need to
    make all these
    > links
    > point to the relative path im my server.
    >
    > Can anyone tell me what option converts these to path
    relative to the
    > current
    > html page?
    >
    > Dreamweaver MX 2004
    >
    >
    > Many Many Thanks
    >
    > -A
    >
    >
    >

  • How to Update Function Link Text in Portal MastHead

    Can someone please advise the steps to control the link text in the Function section of the Portal MastHead (e.g. Log Off, Help, etc...).
    Thanks for your help!
    Scott

    If you just want to remove these simple links, you do this within the configuration of the masthead iView:
    http://help.sap.com/saphelp_nw04s/helpdata/en/97/d4ee3d6434445ae10000000a11405a/content.htm
    If you want to change the functions within the portal personalisation:
    Look in the 'Portal Personalization' workset of the 'eu_role' . Im assuming that you have the eu_role assigned to the everybody built in standard group. 
    This workset has all the options within that list.
    ¡        Portal Theme (page)
    ¡        Portal Language (page)
    ¡        User Mapping (page)
    ¡        User Mapping (Remote iViews) (page)
    ¡        User Password (page)
    ¡        User Profile (page)
    ¡        WorkProtect Mode (page)
    You can modify this, or copy it and modify it as you please.

  • How do update image links to an external location?

    Hi, I did a Google search and a forum search, but have not found what I'm looking for...
    I am opening an Illustrator file downloaded from our company server. All images used in this Illustrator file are stored in a sub-folder on the same company server.
    When I open up the Illustrator file none of the images appear because the links are broken. Rather than download all of the images used in the Illustrator file to my local machine and re-linking the images, I want to know if there's a way to relink the images to the external images location on the company server.
    I hope this makes sense... Thanks in advance for your help.
    -John

    John,
    I am afraid you wish cannot be fulfilled.
    As you probably know, opening/saving AI files from/to to the company server is risky in terms of file corruption.

  • HT4623 How to update an iPhone with iOS 4

    I have already got an iPhone 4 that has been recently updated but I have now got my sisters old iPhone 4 as I smashed mine and she has never updated it how do you update it from iOS 4? Thanks

    UPDATING iOS
    Over the air updating of iOS needs iOS 5 or later
    The following link explains how to update
    This link explains  how to update using itunes
    This explains how to transfer purchases to your computer

  • Updating my links in a spry menubar

    I just made my first spry menu bar and I'm wondering how to
    update my links. If I update a link in the spry property inspector
    on one page, it only changes the html on that page doesn't seem to
    want to update the spry menu on subsequent pages. How can I
    accomplish this?

    I was hoping you weren't going to say that <G>! Can
    spry menubars be created as a Library item, then when I make a
    change it applies the change to anywhere in the site that library
    item is?

  • How do I duplicate a sheet while also linking the corresponding cell values?

    How do I duplicate a sheet while also linking the corresponding cell values? 
    I have a page that I want to duplicate, then add to the duplicated spreadsheet, while having the original cells linked so they are updated as I update the original sheet.  I've found tutorials on how to do this on excel, but I'm having trouble doing so on Numbers.

    Hi Millie,
    You wrote:
    "My recipe sheets include two tables. The first calculates the cost per item, the second table takes the original recipe and calculates along with the sales estimates. The latter of these tables are all the same format, so in each one column A lists the ingredient name, column D is the amount needed per week (column E is the unit - oz, pound, etc).    Could I then generate a search for "flour" etc. within column A of each of these tables?  Currently they are all named the "estimated sales" but I could change that."
    Shouldn't need to change the table name, unless the aim is to shorten the formula as written. That's assuming each sheet is named with the item being baked.
    With the same name for all these tables, the cell or range references to cells on these tables will be Recipe (sheet) name::estimated sales::cell or range ref
    With the recipe name used as the Table name (and that name being unique to the document) the sheet name may be omitted from the cell/range address: Recipe name::cell or range ref
    Regards,
    Barry

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

  • How do I disable linked smart-object auto-update/refresh?

    Working in the CC3D features, I am constantly making changes to my bump map. Every time I step-backwards, or make a significant change to the bump texture (smart object?), CC auto-saves the layer. This specific file is a very very large document (3 gigs in the bump texture layer alone), and the 3D layer has lots of lights and is very complex. This auto-refresh/update really bogs down the time that it would take me to make my changes. I have a very fast machine (I know it's fast, I dont need to list my specs), and I have all shadows disabled.
    How do I disable linked smart-object auto-update/refresh?

    If you do not like a feature like smart objects there is nothing forcing you to use it. Use some other features to do what you want. Please don't ask Adobe to introduce bug into smart object support.
    You could work on your bump maps textures in external files. When your done some time in the future you could edit your project with the smart object layer and use replace smart object. Only then will all smart filters be applied to the smart layer with the replaced smart object.
    Or if by CC Auto save Layer you referring to CC Generate feature you can disable that feature.
    I have no idea what your referring to when you write "CC auto-saves the layer" being a feature. I know CC Generate will write layers out as web files but that more a Web feature then a 3d feature.  Where do you see your layer being saved?

  • How to make the document dirty after updating the links?

    Hi,
    I am using the below code to update the link resources by providing new URI. The link resources are getting updated, but the document is not becoming dirty.
                    InterfacePtr<ICommand> updateCmd(CmdUtils::CreateCommand(kLinkResourceStateUpdateCmdBoss));
                    InterfacePtr<ILinkResourceStateUpdateCmdData> updateCmdData(updateCmd, UseDefaultIID());
                    updateCmdData->SetResource(ref.GetUID());
                    updateCmdData->SetDatabase(ref.GetDataBase());
                    updateCmdData->SetNotify(true);
                    updateCmdData->SetUpdateAction(ILinkResourceStateUpdateCmdData::kUpdateURI);
                    updateCmdData->SetURI(newURI);
                    updateCmd->SetUndoability(ICommand::kRegularUndo);
                    CmdUtils::ProcessCommand(updateCmd);
    How do I make the document dirty after updating the resources?
    Thanks,

    Thanks. It is working fine.
    I called PreDirty(docPtr), before updating the links.

  • With the new update, I can't figure out how to merge duplicate "Faces" files together, so I end up with one location per face.

    With the newest update, I can't figure out how to merge duplicate files in "Faces" (iPhoto).  I have more than one file going for a face, and use to be able to click and drag them into merging.  Can't seem to do it now.  Can anyone please help?  Thanks

    Are you talking about iPhoto or Photos? If Photos, do you mean that Photos has several files for the same person but they are labeled differently and you are trying to merge them as one? If so, then you have to rename one of the files to match the other one with the correct name.  If this is not what you mean then could you explain more clearly what you mean. To give an example if I click on Faces and Photos shows me all named faces in the top and on the bottom there are suggested faces that can be dragged onto a face in the top level to merge.  If you try to merge two face groups in the top level that are the same person but for some reason the faces are labeled differently you have to label them with the name you want to use and then they will automatically merge.

Maybe you are looking for

  • Mapping Problem(file to 2 basic idocs)

    Hi, In my scenario sender File(divided into 3 parts) and receiver 2 basic IDOCS I am having the conditions, 1) file field Trans_id(part-1 field) = 20 or 30 then only entire mapping required to transfer the file fields into SAP.(total scenario require

  • Can't start Photoshop CS6

    I can't start my Photoshop CS6 during I'm using a mandatory active directory user accout to login to the computer.  How can I fix it?

  • Dynamic WHERE Clause in a Calendar

    I would like to have a Calendar display values based on a dynamic WHERE clause created using PL/SQL anonymous block evaluating the values of items that the user uses as filters. I have done this dynamic SQL for reports and would lke to do the same fo

  • Need help on content protection

    i can't connect to blackberry apps world because it keep saying that i need to turn off my content protection, and don't know how to do so. can anyone help please??

  • HT4972 My general settings menu does not have a software update option- how do I update? Thanks

    Hi, I am really struggling to update my iphone software. I believe that I am currently on version 4.2.1 and would like to update yet my general settings menu does not offer a software update option. What would be the best steps to take? Any help woul