Including site logo in auto nav
Permalink
Hello
I wanted to include site logo in auto nav as I don't want a separate block for logo.
Concrete 5.7.5.3
website- traceink.com
Thanks in advance
I wanted to include site logo in auto nav as I don't want a separate block for logo.
Concrete 5.7.5.3
website- traceink.com
Thanks in advance
Hi Prachir,
To include an image in the Auto-Nav block, you will need to create a custom block template.
In the custom template you can include the existing link and image that you are currently using.
This explains how to apply the custom block template:
http://documentation.concrete5.org/editors/in-page-editing/block-ar...
This explains how to create a custom block template:
http://documentation.concrete5.org/developers/working-with-blocks/w...
To include an image in the Auto-Nav block, you will need to create a custom block template.
In the custom template you can include the existing link and image that you are currently using.
<a href="http://traceink.com/"> <img src="/application/files/1814/5295/2915/Untitled-1f.png" alt="Untitled-1f.png" width="90" height="90" class="ccm-image-block img-responsive bID-1881"> </a>
This explains how to apply the custom block template:
http://documentation.concrete5.org/editors/in-page-editing/block-ar...
This explains how to create a custom block template:
http://documentation.concrete5.org/developers/working-with-blocks/w...
Thank you sir.
I followed all the steps but now I am receiving following error after creating separate template
syntax error, unexpected '<'
I am attaching the screenshot
Thanks in advance
I followed all the steps but now I am receiving following error after creating separate template
syntax error, unexpected '<'
I am attaching the screenshot
Thanks in advance
@Prachir
Did you paste the link and image tag directly into the PHP file?
If so, this is causing the error. They need to be displayed using echo.
Did you paste the link and image tag directly into the PHP file?
If so, this is causing the error. They need to be displayed using echo.
echo '<a href="http://traceink.com/"><img src="/application/files/1814/5295/2915/Untitled-1f.png" alt="Untitled-1f.png" width="90" height="90" class="ccm-image-block img-responsive bID-1881"></a>';
Thank you very much sir
it is working fine now
it is working fine now
Thanks in advance