how can meta description form change to WYSIWYG

  • Posts: 138
  • Thank you received: 4
9 years 8 months ago #226704

-- HikaShop version -- : 2.4

hi ,
First, thank you for your efforts.
how can meta description form change to WYSIWYG editor? (It is essential)
and displaye in produact page tabullar, simiilar description,comment,...
Please explain in detail,very thanks


Joomla Developer | am.ebrahimzadeh[at]gmail.com

Please Log in or Create an account to join the conversation.

  • Posts: 138
  • Thank you received: 4
9 years 8 months ago #226723

hi,
I add this code in administrator/component/com_hikashop/views/products/tmpl/normal.php :

	<tr class="hikashop_product_meta_description_row">
							<td colspan="2" width="100%">
								<table class="admintable"  width="100px">
									<tr>
										<td class="key">
											<?php echo JText::_( 'PRODUCT_META_DESCRIPTION' ); ?>
										</td>
									</tr>
								</table>
								<?php if(isset($this->product_meta_description_published)){
										$publishedid = 'published-'.$this->product_meta_description_id;
								?>
								<span id="<?php echo $publishedid; ?>" class="spanloading"><?php echo $this->toggle->toggle($publishedid,(int) $this->product_meta_description_published,'translation') ?></span>
								<br/>
								<?php }
									$this->editor->content = @$this->element->product_meta_description;
									echo $this->editor->display();
								?>
							</td>
						</tr>
in backend show WYSIWYG editor but not worked,
please help


Joomla Developer | am.ebrahimzadeh[at]gmail.com

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
9 years 7 months ago #226744

Hi,

The meta description field is used to generate the meta description in the page.
I let you read documentation about the HTML meta description but it is not possible to put HTML content into it.

Your posted several message in the forum, mostly about customization and we already told you that the customization that our support can provide is more than limited.
We already been nice by giving your some tips about CSS or some other stuff but ; they are few points that warn my attention.

Now, please understand that you posted your message on Sunday, during a week end.
Now, please understand that our support team reply to support message during the week and like every human people, we need to breath, eat but we also need to sleep and take some rest.. We also enjoying having a life.
Now, please do not send private message to moderators of that forum in order to have a faster reply ; it won't help you and might have the totally opposite effect. Specially if you're doing that during the week and and you're disturbing our support team.
Now, please understand that our support team is provide you some FREE support and that support is not including any help on customization. The support is there to help you to use and understand HikaShop.
Now please understand that we reply on decent hours and under a totally acceptable time. So you need to be and stay patient.

I will let you read my forum signature for the rest.
And I hope that I'm clear enough.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: aminweb

Please Log in or Create an account to join the conversation.

  • Posts: 138
  • Thank you received: 4
9 years 7 months ago #226812

hi
I was surprised by your words!!!!!!
I'm not going to disturb the focus hikashop team. And also when you're a 24-hour ongoing support, we also support our company 24 hours done.So we do not rest.
So, please do not answer arrogant.
However, my question:( If the answer is possible. Please)

I want a form editor smillar description form , in backend and forntend(only product page in tab)
But I can not use the custom fields becuse I use that in other part.
thanks


Joomla Developer | am.ebrahimzadeh[at]gmail.com
Last edit: 9 years 7 months ago by aminweb.

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
9 years 7 months ago #226815

Hi,

However, my question:( If the answer is possible. Please)

The answer of your question is already in my previous message ; in the first paragraph.

I was surprised by your words!!!!!!

I was also very surprised to receive a private message from you yesterday in order to ask for help on that forum thread.

And also when you're a 24-hour ongoing support

We are not.
And I am not in the HikaShop support team ; like it is clearly written in my signature.

So, please do not answer arrogant.

I am not answering arrogant ; I am currently angry.
Once again, I am not in the HikaShop support team but I'm helping the HikaShop users for free when I have the time to. Like some voluntarily work or charity work.
I'm trying to help people here ; and a simple thing that I'm asking is that people do not send me private message.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: aminweb

Please Log in or Create an account to join the conversation.

  • Posts: 138
  • Thank you received: 4
9 years 7 months ago #226899

very thanks.
but It did not answer my question,
Forget meta description!!!
I want a form editor smillar description form , in backend and forntend(only product page in tab)
But I can not use the custom fields becuse I use that in other part.


Joomla Developer | am.ebrahimzadeh[at]gmail.com

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
9 years 7 months ago #226910

Hi,

The meta description field is used to generate the meta description in the Joomla header page.
If you put some HTML content in that "meta description" field ; you will generate issues in your page header.
So ; I don't see the point to change that texteara into a wysiwyg if it generate problems in your website afterwards.
It is not that I don't want to help you but I want to warn you about the problematic of that field.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: aminweb

Please Log in or Create an account to join the conversation.

  • Posts: 138
  • Thank you received: 4
9 years 7 months ago #226947

hi Jerome,
At first, thank you for your efforts to guide.
I say in above post : I Don`t want change meta desciption.meta description forget it.then, do not talk about it(meta description)


I want a form editor smillar description form , in backend and forntend(only product page in tab)
But I can not use the custom fields becuse I use that in other part.
at Short: only only I want 2 description form in backend and forentend.( But I can not use the custom fields becuse I use that in other part. )

Beforehand ,Thank you for your help Jerome
I am waiting for your help


Joomla Developer | am.ebrahimzadeh[at]gmail.com

Please Log in or Create an account to join the conversation.

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 7 months ago #226949

Hi,

I still think that you should use a custom product field of the type "wysiwyg" for what you want to do. That way you can easily get the editor in the backend and have it save the data in the database automatically.
Then, turn off the frontend display setting of that field, and display it manually where you want on the product page with some custom code in the "show_default" or "show_tabular" view file:

<?php echo $this->element->column_name; ?>
where column_name is to be replaced by the column name of the custom field.

The following user(s) said Thank You: aminweb

Please Log in or Create an account to join the conversation.

  • Posts: 138
  • Thank you received: 4
9 years 7 months ago #227028

very thanks nicols,
worked perfect,but one problem:
when add custum field (ex: column_name,column_name2,column_name3)
in show show_block_dimensions and when add

<?php echo $this->element->column_name2; ?>
in show other part
I want when insert column_name2 in above code , in show block dimensions hidden(dont show duplication )
please attentaion to attach image


thanks


Joomla Developer | am.ebrahimzadeh[at]gmail.com
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 7 months ago #227037

Hi,

To not display the custom field value in the show_block_dimension so you just have to not add the code.
And to add it in a tab, so in the show_tabular view, you just have to edit that view and add the same code in the div of one of the tabs.

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum