Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Problem with SIG Pro 2.0.3

More
15 years 8 months ago #22603 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Problem with SIG Pro 2.0.3
Here is the solution until I patch it to 2.0.4. Obviously it's something to do per server.

Open up the file: /plugins/content/jw_sigpro.php (in Joomla 1.5) or /mambots/content/jw_sigpro.php (in Joomla 1.0).

Locate line 98 and replace this block:
		// define the template folder path (for overrides)
		if(file_exists("{$mosConfig_absolute_path}/templates/{$mainframe->getTemplate()}/html/{$plg_name}/{$thb_template}") && is_dir("{$mosConfig_absolute_path}/templates/{$mainframe->getTemplate()}/html/{$plg_name}/{$thb_template}")){
			$templatePath = "{$mosConfig_live_site}/templates/{$mainframe->getTemplate()}/html/{$plg_name}/{$thb_template}";
		} else {
			$templatePath = "{$mosConfig_live_site}/plugins/content/{$plg_name}/templates/{$thb_template}";
		}

with this code:
		// define the template folder path (for overrides)
		if(file_exists("{$mosConfig_absolute_path}/templates/".$mainframe->getTemplate()."/html/{$plg_name}/{$thb_template}") && is_dir("{$mosConfig_absolute_path}/templates/".$mainframe->getTemplate()."/html/{$plg_name}/{$thb_template}")){
			$templatePath = "{$mosConfig_live_site}/templates/".$mainframe->getTemplate()."/html/{$plg_name}/{$thb_template}";
		} else {
			$templatePath = "{$mosConfig_live_site}/plugins/content/{$plg_name}/templates/{$thb_template}";
		}

Save and reload your page.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum