Kunena Menu
Testimonial [pbck_testimonial_author_url] target
9 years 9 months ago #40274
by ajaey
Testimonial [pbck_testimonial_author_url] target was created by ajaey
Hello CEd and community,
i try to change the testimonial author url for an external link. The Link works but i have no chance to set it with a target for a new tab or window like [target="_blank"]
But i need it.
I searched all the php and xml scripts but i cant find a code snipped where i can change or add this feature.
I hope you can help me.
Regards, AJaey
i try to change the testimonial author url for an external link. The Link works but i have no chance to set it with a target for a new tab or window like [target="_blank"]
But i need it.
I searched all the php and xml scripts but i cant find a code snipped where i can change or add this feature.
I hope you can help me.
Regards, AJaey
Please Log in or Create an account to join the conversation.
9 years 8 months ago #40286
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Testimonial [pbck_testimonial_author_url] target
Hi
in
plugins\pagebuilderck\testimonials
edit the file
plugins\pagebuilderck\testimonials\layouts\edit_testimonials.php
on
function ckUpdatePreviewArea() {
line 164
you will find that line 172
this shall work, you will need to go again in the options, make a change to update the fields and the new attribute shall be added
CEd
in
plugins\pagebuilderck\testimonials
edit the file
plugins\pagebuilderck\testimonials\layouts\edit_testimonials.php
on
function ckUpdatePreviewArea() {
line 164
you will find that line 172
just replace it with something like this$ck('#previewarea .pbck_wrap .pbck_testimonial').eq(i).find('.pbck_testimonial_author_url > a').attr('href', $ck('.item_author_url_href_edition',el).val());
$ck('#previewarea .pbck_wrap .pbck_testimonial').eq(i).find('.pbck_testimonial_author_url > a').attr('href', $ck('.item_author_url_href_edition',el).val()).attr('target', '_blank');
this shall work, you will need to go again in the options, make a change to update the fields and the new attribute shall be added
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 8 months ago #40367
by ajaey
Replied by ajaey on topic Testimonial [pbck_testimonial_author_url] target
Thx... that works.
Should be fine if this would be a possible option in the plugin settings
Should be fine if this would be a possible option in the plugin settings
Please Log in or Create an account to join the conversation.
Time to create page: 0.191 seconds




