VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.


joomfreak-logo

It's time to pass this project on to someone passionate about continuing its journey. joomfreak offers a unique opportunity to build upon a well-established platform and keep providing the Joomla community with quality templates and tools.

If you're interested, we'd love to hear from you!
[email protected]

Welcome, Guest
Username Password: Remember me

Copied Template is not displayed
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Copied Template is not displayed

Copied Template is not displayed 19 Oct 2015 13:28 #7602

Hello,

I want to use 2 Versions of JF Calla Exteriors:
Main Menu with Template 1
and Second Menu with a modified copy.

So Ive copied the template in Template Manager: Styles, modified Site Title (use as text) in the copy to recognize, how it changes and after this I modified Menus assignment. In Template 1 Main Menu active, in Template 2 Second Menu active.

But nothing happens. Still Template 1 is displayed everywhere. (?)

Thank you
Tobias

Joomla 3.4.3
PHP 5.6

  • Posts:4
  • Tobi1
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Copied Template is not displayed 20 Oct 2015 02:45 #7603

Can you please send me your website url and the super admin access?

joomfreak
The following user(s) said Thank You: Tobi1

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Copied Template is not displayed 20 Oct 2015 06:04 #7606

I've send it as message to you.
Thank you.
Tobias

  • Posts:4
  • Tobi1
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Copied Template is not displayed 22 Oct 2015 02:33 #7616

If Search Engine Friendly URLs is disabled, template style work fine.

joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0

Re: Copied Template is not displayed 22 Oct 2015 10:47 #7621

Thank you, I see its working if Search Engine Friendly URLs is disabled. But is it the only solution? Search Engine Friendly URLs are important for crawling and ranking ...

  • Posts:4
  • Tobi1
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: Copied Template is not displayed 23 Oct 2015 03:40 #7625

I found a solution.
Inside libraries/cms/application/site.php
search for this line: public function getTemplate($params = false)

Inside that function I added a single line code:
 
// Get the id of the active menu item
$menu = $this->getMenu();
$item = $menu->getActive();
 
if (!$item)
{
//added new line
$this->route();
 
$item = $menu->getItem($this->input->getInt('Itemid', null));
}
 


Hope this help you.

joomfreak

  • Posts:2940
  • isupport
  • Moderator
  • OFFLINE
  • Karma: 0
  • Page:
  • 1
  • 2
Time to create page: 0.98 seconds
Saturday 09 November 2024

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.