Jump to content

Add a link to home in CMS Block


Recommended Posts

Thank you for your reply.

 

I wanted a link in the CMS Block to the Homepage (eg. above "About us" in the Information Block)

 

http://www.designplus-shop.co.uk/

 

I can't help thinking that this must be possible. I thought everyone would want a link back to their homepage (in addition to using the logo as a link).

 

Iain.

 

The only way I can think of is hardcoding it in blockcms module

 

<ul class="block_content">

<li class="bullet"><b style="margin-left:2em;"><a href="http://www.designplus-shop.co.uk/" title="Design Plus">Home</a>

</b></li>

<li class="bullet"><b style="margin-left:2em;">

<a href="{$cms_page.link}" title="{$cms_page.name|escape:html:'UTF-8'}">{$cms_page.name|escape:html:'UTF-8'}</a>

</b></li>

...

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

Another way to do it. It does require DB access.

 

Add a "Home" link to the CMS and set the "Link_rewrite" to something.... anything that you will reconize. Like CHANGEME.

 

Go into the DB and go to 'cms_lang'

Find your "Home" meta title

Change the "Link_rewrite" to "../../../../"

 

I had to do it this way because i have multiple CMS blocks and only wanted home in one of them. Hope this helps.

Link to comment
Share on other sites

  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...