Jump to content

Block with free editable content


Recommended Posts

Hello....

Let me put it differently.

What i would like is to add some more content to the information block.
This is possible, i have added contact for instance.

I would like to have that contact link direct the visitor to contact-form-php.
As there is no editing in the template for this issue since it is generated in the cms, is the another way how I can accomplish this?

Thnks!

Link to comment
Share on other sites

Hallo Tropischbruin,

I have indeed added the link block, this i can redirect tot the contact-form.php.
For opening hours i have created a new openinghours.php and openinghours.tpl. Works just fine!

There is something funny with all those links though. I have links in footer selected in my footer. in this module there are only three links activated. But in my footer there are a few more. I have no idea where they come from and how to remove them.

www.pukt.nl/shop

the four left footer links are not put there by me! any idea how i can remove them?

Link to comment
Share on other sites

You can add new lines to the info block, its quite easy, you just ned to edit the blockinfo.tpl file located in the folder of the same name.

<!-- Block informations module -->

{l s='Information' mod='blockinfos'}

       {foreach from=$cmslinks item=cmslink}
{$cmslink.meta_title|escape:htmlall:'UTF-8'}
       {/foreach}


<!-- /Block informations module -->



Just add a normal link line either before the foreach code (that will display above the cms page links) or after the foreach code (that will display after the cms page links.

See my example below.

<!-- Block informations module -->

{l s='Information' mod='blockinfos'}

    This will display above the cms links
       {foreach from=$cmslinks item=cmslink}
{$cmslink.meta_title|escape:htmlall:'UTF-8'}
       {/foreach}
    This will display below the cms links


<!-- /Block informations module -->

Link to comment
Share on other sites

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...