Elemental Theme Link
Permalink
Hi,
I am playing with the Elemental Theme. Near the bottom of the Home page there is a green contact button. Initially, it was linked to the Contact page. That link is now broken. How do I fix it?
Thanks
I am playing with the Elemental Theme. Near the bottom of the Home page there is a green contact button. Initially, it was linked to the Contact page. That link is now broken. How do I fix it?
Thanks
First get the url you want to use for the button. Then you edit the block. Click </> to show the html markup. At the bottom you'll find the code where you can edit the href="" to the url you want to use.
As you can see from the attached screenshot, there is no href line. I guess that's why it doesn't work, lol. Where should the href line(s) be placed? Thanks.
lol, you are right. There's no link at all. It should look like:
<p><a href="http://c57.local/5.7.4rc1/index.php?cID=159"><span class="btn btn-success">Contact Us Today</span></a> </p>
I'm making some progress. The link was established but the page is not available, supposedly. I have no trouble getting to it. Perhaps it's a permissions issue. Since the page is internal to the site, should something else be used instead of href?
Is your site online, so that I can take a look at it?
I fixed it. Thanks.
What is difference between linking to an external site and linking to a page within the same site? Thanks
What is difference between linking to an external site and linking to a page within the same site? Thanks
Well, only regarding html there is no difference.
are technically identical.
The difference in concrete5 is that C5 handles the url of the link. Let's add a link in edit mode. You can either type the url yourself or you can choose a page from your sitemap. See attached screenshot. Choosing my contact page from the sitemap the url displayed looks like:
On the page the link will be the same, but in case pretty URLs are enabled the link suddenly looks like:
That's because concrete5 handles the url of a link according to the settings you've made. External urls are not handled that way and display as they are.
<a href="http://mysite.com/index.php">absolute internal link</a> and <a href="/index.php">relative internal link</a> and <a href="http://anothersite.com/index.php">absolute external link</a>
are technically identical.
The difference in concrete5 is that C5 handles the url of the link. Let's add a link in edit mode. You can either type the url yourself or you can choose a page from your sitemap. See attached screenshot. Choosing my contact page from the sitemap the url displayed looks like:
http://c57.local/5.7.4rc1/index.php?cID=159
On the page the link will be the same, but in case pretty URLs are enabled the link suddenly looks like:
http://c57.local/5.7.4rc1/contact
That's because concrete5 handles the url of a link according to the settings you've made. External urls are not handled that way and display as they are.
Thank you, very much.