This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Add $cmtx_reference to "Add Comment"
#1

Hi

How can I change the headline over the form so it includes some information about what the user is about to comment on?

Instead of only showing "Add Comment" I want it to dynamically change based on the $cmtx_reference for example or is there a better way to have a dynamic <h3> above the form?


I want to change this element:
Code:
<h3 class="cmtx_form_heading">Add Comment </h3>
To something like

Code:
<h3 class="cmtx_form_heading">Add Comment about Product XYZ</h3>

Where "Product XYZ" can change based on which page the user visits.

Thanks in advance!
Reply
#2

Hi try uploading this file to your /system/modification/xml/ folder.


Attached Files
.xml form_heading.xml Size: 970 bytes  Downloads: 9

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by mtnlvy
06-Jan-2019, 06:29 PM
Last Post by allseo
19-May-2018, 08:03 AM
Last Post by Steven
04-Mar-2016, 06:53 PM
Last Post by jemie
23-Oct-2015, 05:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)