Hi,
I run into some strange errors while creating a custom button on a view page. I followed the hints given by the help.
After the button was created the pagetitle was not set correctly. I switched to HTML-edit.
I found the line:
< DIV contentEditable=false id class='simple-xt-tag' style='background-image: ; display: inline-block;' ruleindex="154">pagetitle</DIV>
which should be:
{$pagetitle}
This error comes sometime without any reasonable changes on the pages...
second error on that is:
The section for that button:
..
{END printselected_link}
<A id="email_selected" class="rnr-button button" href="#" typeid="ib">
{$custom __EMAIL_SELECTED_}
</A>
</DIV>
{END record_controls_block}
as far as I understand it should look like
..
{END printselected_link}
{BEGIN email_selected}
<A id="email_selected" class="rnr-button button" href="#" typeid="ib">
{$custom __EMAIL_SELECTED_}
</A>
{END email_selected}
</DIV>
{END record_controls_block}
There was no Block created for this button. So it does not work.
I corrected this by hand in the html-edit-view of this page.
But after this it shows that this button as "DELETED - ..." in the event editor.
So I started again and run into both errors again and again. Once I get the button working but without a correct pagetitle. If I correct the pagetitle the button looses the block sections in html and so on.
This drives me crazy since there is no way to get all of this working fine.
Am I´m doing it the wrong way? Any hints on that?
greetings from peter