Friendly urls

  • elrana
  • Topic Author

Friendly urls was created by elrana

How can I remove "/component/yendifvideoshare/" from urls?

My urls are something like that: web.com/component/yendifvideoshare/category/video-1

Thanks and merry christmas!
9 years 3 months ago #693

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

Replied by Administrator on topic Friendly urls

You must be getting this URL on clicking a video item from our VIDEOS module. Am I correct ?

Solution :

- Create a Hidden menu using Yendif Video Share(VIDEOS LAYOUT)

- Copy this MENU ID.

- Open the VIDEOS module's admin page.

- Find the config option "Itemid" and paste the MENU ID in the input field.

- Save the changes and try again.

Hope, this solved your issue !!!
9 years 3 months ago #695

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

  • Posts: 5

Replied by visibles on topic Friendly urls

Hi.. can you help me to find this on joomla 4 and yendif share 2.0 pro?
if this is not possible.. how to do this on joomla 4?
Thnks
1 year 10 months ago #2622

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

Replied by Administrator on topic Friendly urls

For Joomla 4,

1. Create a Hidden menu using Yendif Video Share (VIDEOS LAYOUT)
2. Go to the "Components => Yendif Video Share => Videos" menu from your Joomla backend.
3. Click on the "Options" button at the top-right corner of the page.
4. Click the "Advanced" tab and select the hidden menu you have created in the "Video Menu" setting.
5. Save the changes and check now.

Hope this solved your issue!
Last edit: 1 year 10 months ago by Administrator.
1 year 10 months ago #2623

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

  • Posts: 5

Replied by visibles on topic Friendly urls

Thanks you very much..
i did it, but the sharer url is still linking on /component.... from module of frontpage.
example:
twitter.com/intent/tweet ? .......%2F%2Fcomponent%2Fyendifvideoshare%2Fvideo%2F683%3Apanama-por-naturaleza-custodios-de-la-tardicion---randol-navarro.html%3FItemid%3D101

www.linkedin.com/shareArticle/?url=....%...andol+Navarro+%C2%B7

if i share from normal category menu.. works, but from frontpage or another playlist module does not.

Thanks for the help
1 year 10 months ago #2624

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

Replied by Administrator on topic Friendly urls

Aah. This is a BUG :-(

I promise that our next version would include a fix for this issue.

Quick Solution:

1. Edit open the following file,
{SITE_ROOT}/components/com_yendifvideoshare/src/View/Player/RawView.php

2. Locate the line (#96) below inside the "getURL" function,
return Uri::root() . Route::_( 'index.php?option=com_yendifvideoshare&view=video&id=' . $this->item->id . ':' . $this->item->alias );
3. Replace it as,
return Route::_( 'index.php?option=com_yendifvideoshare&view=video&id=' . $this->item->id . ':' . $this->item->alias . '&Itemid=' . (int) $this->params->get( 'itemid_video' ), true, 0, true );
4. Save the changes and check now.

Hope this solved your issue!
The following user(s) said Thank You: visibles
1 year 10 months ago #2625

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

Time to create page: 0.227 seconds

Business Address

PLUGINSWARE INTERACTIVE PVT LTD
Door No 2A, Venkateshwara Nagar,
1st Main Road, Velachery, Chennai,
Tamilnadu, India
Pincode: 600042
© 2013 - 2024 Pluginsware Interactive Private Limited. All Rights Reserved. The Joomla! name and logo is used under a limited license granted in the United States and other countries.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.