To make a link cursor to a URL relative to the root or arbitrary?

Hey!

I'm using the slider which came with a default model value of BC (I think it's the nivo slider), and it gives me options for the element name, URL and Image.

The URL TO which the cursor currently links must be relative to the directory of the web application, if for example I only connects them to mydomain.com/slider/somepage when really I want to just link to mydomain.com/somepage.

Is there a way to get around this?

It seems that the model you are using uses Web Apps for the slider and the page layout by controlling the cursor indicates simply the {tag_image} and this tag encapsulates the URL web app mode Details around the image.  There are two ways to work around it...

The simpler, more interventionist, is to simply add 301 redirects for content you really want.  Let's say slider links to "/ slider/somepage", that is the detail view of the web application element, but you want it goto some other content instead...

  1. Just goto the Admin of BC and goto Site Manager > URL redirects and you'll want to add a 301 redirect of "somepage/slider / ' ' / whatever-url-you-want" and it can be compared to the root of the site, if you wish.
  2. Once your redirects are in place, you can disable the web application of Carousel/Slider detail views towards Web applications > carousel (or cursor) > edit Web application settings and find the box that says "disable the detail view.

The caveat is that whenever you add a new slider, you must add a 301 Redirect again, but do not have a lot of manure with the layout web app.  This extra step might be too much for a customer to be remember/do every time so there is another way.

The second is to add a new field to your Web App carousel and to change the layout of the list view of carousel include the new URL field we add.

  1. First, let's add a new field to our web application of carousel - goto BC Admin Web Apps > carousel > edit Web application settings
  2. Click on the "Domains" tab on the top of the screen
  3. Click on the "Add a field" button and the name, let's use "ContentURL" (there is a 'URL' field by default for each web application that uses default URL generated the question - we do not want that if we create another field for the URL we really want to make a link to) when she asks for the Type of field we will use 'Text (String' and check the 'compulsory '.  (Note: we use text (hyperlink) due to a limitation in BC Web Apps we can't calculate the value of the hyperlink immediately, instead, it manually creates the full markup for the link which is not good for us, since we need the image of the carousel inside our link)
  4. We have added the new field to our web application to the next, we will add this domain available to our web app
  5. Click on the link to "Develop" on top of the BC Admin - this will lead us to the beta to change code editor (I stay away from changes to the Colombia-British regular site/page editor since it sometimes removes code)
  6. In the "Files" Panel on the left, navigate to page layouts > WebApps > carousel and click on the file "list.html.  This is the layout for the display of the list that is used in your home page template - the scale of the site.
  7. If you used "ContentURL" under the new domain name, then you just need to replace this:
  8. {tag_image}
  9. with this:

  • {tag_image_nolink}
  • That's all. All is ready!  When you add the new field "ContentURL" values, you can use URLS related site as root ' / some pages ' or you can use absolute URLS if you want like "http://yoursite.com/some-page" but I think it's cleaner if you are using relative URLS.
  • If you decide to go this route and do not use the default display of the elements for the elements of web application Carousel, follow the instructions in the first example on how to disable the display of the details to appear in the search results or your sitemap.xml file.  And, from now on, ensure that each carousel has a "ContentURL", added to it, so she was going to meet somewhere...
  • Good luck. Let me know how it goes.

    Tags: Business Catalyst

    Similar Questions

    • I have an external page on my USB key I want to make a link to Muse. How to create the link?

      I have an external page on my USB key I want to make a link to Muse. How to create the link?

      Hello

      Check this thread, use .pdf in Adobe Muse

      He talks of the .pdf files in the discussion, you can use your html instead of the PDF file.

      Please let me know if you have any other questions.

    • Can a site the browser to examine all the links (relative to the root) as belonging to another area?

      One of my sites gets its images on another server (and domain). Therefore, instead of paths relative to the root, I use full http:// URL.

      Is not a big deal, except that the area where these images are stored too, sometimes changes. I have to find/replace all http:// on the right, so they point to the new domain.

      I just thought that a cleaner solution (which can - hopefully - already exist) might be to insert a single line at the top of the HTML file indicating the browser to view all the links related to the root as belonging to another area.

      Something like:

      < meta domain = "alternatesite.com" / > "

      "< img src="/images/image.jpg "/ >

      Where only one line should be changed, and the code would read as it is located on alternatesite.com, even if it is com.

      It is already doable and if so, what is the right syntax?

      Thank you!

      You have skills with the script server? It would certainly be a way to do.

    • Links related to the root &amp; local test server

      Yesterday, I realized that I have to use links to the root in a SSI file included so that it would work from templates and pages in my main directory (or other directories, besides), for example, "src=/image/picture.jpg". However, as my site is PHP, in order to test the pages or even to use the Live View, I do use a server 'test '. I did it without much trouble using a package called EasyPHP, support that puts in place a local web server as well as the module PHP, MySQL, etc. It all works very well.

      The problem is that, in order to support multiple web sites, I have to use a "virtual directory" spec to direct the web server to the correct location of the files in my site. In the configuration for the test server, so I have to specify a URL prefix such as 'http://localhost/corinthian' of this particular site. Which worked previously, but breaks when using the root-relative links because the server see the "root" as the main directory "localhost" instead of "localhost/Corinthian. So now my SSI does not appear correctly because it is not resolved to the appropriate directories.

      I don't think it's fixable, unless someone else has run into it and can think of something I could try. Anyone? Break some of my code in a SSI was certainly more of a challenge than I expected!

      You have two options:

      1. Set up local virtual hosts.  I did and it works great!  See http://www.apptools.com for more information on how to do it.
      2. Make your root-relative links

      /whatever/whatever.php">

    • Everyone was able to set up mail for other services? I would like to make a link to a GoDaddy account. All the information but can not make it work.

      I entered the information on GoDaddy under Manual Configuration and the mail app tells me that it cannot connect to the server. It connects to a gmail account, but it is not useful. I was wondering if anyone has tried a link to GoDaddy or other account manually and what additional measures it takes.

      Our messaging app currently does not work with these types of configurations. It would be better to wait for an update of the mail application that our developers are working on.

      Thank you!

    • How to make "Open link in a new tab" back to the second line after "open"?

      I've recently upgraded to FF4.0, but I'm so used to opening new tabs by right-clicking on a link and selecting "Open link in a new tab" instinctively moving a notch and clicking on it in the second selection. New FF4.0 there for the first option. Is there anyway to reposition?

      You can reposition it using the editor from Menu Add-on - https://addons.mozilla.org/firefox/addon/menu-editor/

    • The root site links does not work; CS5.5.

      My links do not work when I put my files on the test server. I test on a test server and I can't really go coding every link I have to update the old current site.

      How to make relative to the root links site work in DW and server? This article seems close and I think that the way in which my hosting is set up, this is what causes the problem. That is, I have a few sites in the same package deal with my hosting company. Some are areas of the add-on and some are subdomains; don't know the technical difference between either but he did cause hell to set up sites.

      My current root directory includes public_html / that article condemns; However, I can't work without this site. I noticed that my navigation bar runs from the first page, click, but when I visited another page in the index, I am unable to navigate to the index page again in the navigation bar. It seems to be adding whatever page I'm on the path. Say for example I am on concretepokerrepair.co.uk/bespoke.php and I click on 'home' I get 'concretepokerrepair.co.uk/bespoke/index.php '; how weird!

      Any ideas?

      Get it; was an old file .htaccess on download folder my pictures.

      The navigation bar has been fixed by adding a "/" before the initial directory.

    • Real vs virtual of the file; Links from the root of the Document vs. Site?

      I'm at my wits end with this... I sent DAYS fighting this one.

      I have my files in the following directory structure

      /_CSS

      /_include

      / FAQ

      / Staff

      / Documents/postcard

      / Documents/forms

      EACH html file (as it is in /FAQ /Staff or same/Documents/Forms) includes the file /_include/header.html which (among others) has lines such as:

      "< link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

      In the definition of my site, I have 'links relative to the root of the site'.

      Now, I guess this means that all files in the root and start searching for files. HOWEVER, this is NOT the case.

      I have the following in my include file:

      "< link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

      "" < link rel = "stylesheet" href = "... / _css/main.css" type = "text/css" media = "screen" / >

      If I have NOT two lines, some files do not find the CSS files

      WHY?

      I lost DAYS on it and I just want to know why.  I'd like TO get this sorted out.

      I files and RANDOMLY CSS files will not be judged and the layout is screwed.

      While writing this email, I just noticed that it screwed up again.

      The/_include/head/html file contains the following:

      < link href ='http://fonts.googleapis.com/css?family=Cantarell' rel = "stylesheet" type = "text/css" > <! - use a Google web - >

      " < link rel ="stylesheet"href="/_css/main.css "type =" text/css"media ="screen"/ >

      " < link rel ="stylesheet"href="/_css/print.css "type =" text/css"media ="print"/ >

      " < link href="/_include/p7pmm/p7PMMh04.css "rel ="stylesheet"type =" text/css"media ="all"/ >

      " < script type =" text/javascript"src="/_include/p7pmm/p7PMMscripts.js "> < / script >

      " < link href="/_include/p7hgm/p7hgm08.css "rel ="stylesheet"type =" text/css"media ="all"/ >

      " < script type =" text/javascript"src="/_include/p7hgm/p7HGMscripts.js "> < / script >

      My site definition file has "relative links to:" the value 'Site root' so (if I understand correctly) there should be NO reason then the file: ".

      /Document/postcard/postcard.html

      Cannot find the file/_css/main.html.  BUT he can't find it!

      Can someone help me with this?  I'm at the point of desperation here.

      You can see the site here: http://www.NevadaWomensCare.com.  If you can understand why /Documents/Postcard/Postcard.html can't find /_css/main.css then I would REALLY appreciate it.

      This code snippet

      Postcards
      [an error occurred while processing the directive]

      indicates that understands it not handled by your server.

      The server has been configured to parse all .html files to include? The existence of the Include directive in the code (rather than the content of the Include file) does not suggest.

      If this is not the case, the page of the postcard must have a .shtml extension (rather than .html) to tell the server to parse the page to understand them.

    • How to make my movieclip link button to a URL?

      I have a movieclip and actionscript on a separate layer that controls the clip. However, I would like to be able to make a link to a URL when I click on the button. Based on what I have anyone know how teck my code? Allows to pretend is the site I want to make a link to "http://www.google.com/ig?hl=en'. '"

      Here is the code:

      ProductMarketingIcon_mc.onRollOver = function() {}

      ProductMarketingIcon_mc.gotoAndPlay ("normal");

      }

      ProductMarketingIcon_mc.onRollOut = function() {}

      ProductMarketingIcon_mc.gotoAndStop ("normal");

      }

      ProductMarketingIcon_mc.onPress = function() {}

      ProductMarketingIcon_mc.gotoAndPlay ("over");

      }

      Thanks for your help!

      It's as2:

      ProductMarketingIcon_mc.onRollOver = function() {}

      ProductMarketingIcon_mc.gotoAndPlay ("normal");

      }

      ProductMarketingIcon_mc.onRollOut = function() {}

      ProductMarketingIcon_mc.gotoAndStop ("normal");

      }

      ProductMarketingIcon_mc.onPress = function() {}

      getURL ("http://www.google.com/ig?hl=en");

      ProductMarketingIcon_mc.gotoAndPlay ("over");

      }

    • How can I make multicolored links change their color reversal or stationary?

      I made links with distinct colors using css, but the links with new colors have no hover property. I want these links change color when the cursor passes over them in the same way other links on my page only. I tried to make a new css for < hover > rule and tried to write to the property in the css code, but without result. I searched the web and this forum for an answer and found notheing that works. Anyone know how to give links with several colors of a hover property that will make them change color? All my other links change color as defined in the properties page, but links with the new rules of color change of color more. It's probably pretty basic. I'm new to DW, using CS6. If anyone can provide a step by step and show where the code needs to be inserted, it would be very useful. Thank you in advance!

      For those looking for an answer on how to change the a: hover color for a single hyperlink, after a little greater experimentation, I found that adding to my CSS allows me to change the color of a single binding a: overview!

      . Wrapper (div/link here your name) a: hover {}

      color: #(votre couleur préférée ici);

      }

      A simple solution to a simple problem. I hope this is a help to someone out there.

    • Is it possible to make a link to a specific page in an embedded Tumblr blog

      Hello. I have a Tumblr blog embedded on a site of Muse of customers. Is it possible to make a link to a specific page in the Iframe Tumblr, and have it wrapped in there Web site? I have interacted any help.

      Hey, one thing I tried, even if it is pretty kludgy.

      1. Reproduced on page of the Muse blog
      2. Copied the specific URL tumblr in the posts that I wanted to make a link to
      3. Make the iframe URL in each new page addressed to the URL of this blog post-specific tumblr.

      Just a thought since I couldn't figure out how to make the direct iframe to tumblr anchor or something similar.

    • Several buttons call function to link to a unique URL?

      Howdy,

      So, I've got tons o ' buttons that each must make a link to unique URLS, and I want to minimize as much as possible of coding.  The code below works, but I'll have to do it about 50 times. Can I associate URLS with the button instance names and then reuse the same function?

      In case you don't to already guess, I am a newbie to AS3

      cap_mc. CapTeam_btn.addEventListener (MouseEvent.CLICK, capPage);

      function capPage (evtObj:MouseEvent) {}
      trace ("clicked")
      var url: String = " " http://www.mydomain.com ";
      var request: URLRequest = new URLRequest (url);
      try {}
      navigateToURL (request, "_blank");
      } catch (error) {}
      trace ("Error occurred!");
      }

      }

      Thanks in advance!

      You can.  the easiest way is to use a movieclip button (because the movieclip class is dynamic you can add properties):

      cap_mc. CapTeam_mc.addEventListener (MouseEvent.CLICK, capPage);

      cap_mc. CapTeam_mc.urlS = "http://www.mydomain.com."

      function capPage (e:MouseEvent) {}

      navigateToURL (new URLRequest (e.currentTarget.urlS));

      }

      but you can also create an object to associate the button names with url strings and still use the buttons.

    • When I click on the URL bar or the search bar, it is not select the text or show the cursor as before.

      AS says the question, when I clicked on the search bar in previous versions, 'Google' would disappear and I would see the blinking cursor. When I click on the URL to a blank tab, he would choose the text, and I'd see a slider when I typed or backspaced to delete the selected text. Now, none of this happens.

      After a bit of troubleshooting, it seems that any theme I use is causing this problem.

      In the previous version of Firefox, I used the exact same plugins modules and the theme and never had this problem.

      I went thru and I tried to disable all the modules and plugins, and if I run in safe mode, I have the same result. None of the modules or plugins causes this. It seems to be a theme that I use that causes this.

      As I said in my original question, it happened with any theme, I used. Some changed the color, some are not.

      This can be locked, unless someone else has the same problem and wants to continue to use Firefox 15 or more.

      I went back to an earlier version. Unless they add the ability to change this absurd, useless, counterintuitive behavior, I don't "upgrade" any time soon.

    • How to make a link to send to my website for an elegant form fillable and electronic for several signing sessions and downloads from our Web site?

      How to make a link to send to my website for an elegant form fillable and electronic for several signing sessions and downloads from our Web site?

      Hi stacey1246,

      You can create an interactive PDF form & publish it on your website interactive Edition PDF web forms. Use the same to collect data of forms using Adobe Acrobat and form on the web.

      Kind regards
      Nicos

    • Make a custom page when you access the URL of the root of a Web application

      A BC blog post says it's now possible to "make a custom page when you access the URL of the root of a Web App site. For example, if you have a "blog" Web App, items can be made available to/blog/my-blog-post, and you will be able to customize the page/blog"

      Is this possible? It doesn't for me due to unique URL problem yet.

      For example the web page is / banksy - Guide of Banksy

      But web app components must be on/banksy/web-app-item but need to change to/banksy-editions / Banksy choose your weapon (green) | Gallery hang up Banksy Guide

      I don't see any documentation, support BC do not know and ask me the Forum to discuss. Someone at - he found a workaround?

      Thank you

      Paul

      You have a page with the same name as you want for the web application folder.

      1 remove this page from banksy (Dungeon of backup of your content)

      2. change your url web app for /banksy you need

      3. create a folder called /banksy (it will allow you to make a folder)

      4. create an index.html in the folder of Banksy page - put your content to the page that you deleted here

      You will then have an index for the file page and the web application will work...

      /Banksy - index page

      /Bansky/ - index page

      /Banksy/index.html - index page

      / web banksy/something - point app

    Maybe you are looking for

    • Why have they taken the ring friends off on the series 2 Watch?

      Could not find easy access to my friends that I had saved on the ring of friends on my series 1 shows that I did the update and now that I have the series 2 it just seems to does not exist. Why that disappears, it is one of the more practical thing t

    • Cannot log on to Mozilla; Mailbox 'Size' outdated

      I had to create an account for my husband's address to connect to this application. I was in the limbo of the internet today, unable to connect. I asked and received the response on my user name, but has received no response on the re-establishment o

    • Changes to the login items does not take effect

      I deleted a program from the list of login items and saved the changes. Now, the changes are saved. However, when I stop and restart the system, program seems to return to the boot and login items list goes back to the original. No matter how many ti

    • Battery Lenovo G70-80

      I bought a brand 'new' Lenovo G70-80 from BestBuy a couple of weeks. I never noticed until last night, but battery does not charge even if the adapter is plugged. Someone else has the same problem and if so, were you able to get a replacement for you

    • Windows 7 and scanning. All-in-one printer, HP Photosmart C5180

      I had some experience in the past with an upgrade of Windows 2000, XP and a printer/Scanner, I remember more that now, but I managed to get an upgrade for the printer but the scanner never worked despite the many phone calls from HP again. I have a H