[r1422] Change fc-template views within the same menu-item

More
12 years 10 months ago #27407 by ggppdk
mmm, the template positions of the overridden template are used, i was speaking of the parameters in the xml file displayed inside the Content Type configuration, and inside item and category


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 10 months ago #27454 by mcmurdok
Is it possible to use the template positions of the template which overrides the original template?

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

More
12 years 10 months ago #27456 by mcmurdok
Thank you, I just saw r1426 and now it seems to work.

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

More
12 years 10 months ago #27458 by ggppdk
o, yes, I was about to answer you,

it was a bug in the code, ... anyway i don't think details are neccessary, i fixed it ;)

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
12 years 10 months ago #27468 by mcmurdok
One thing that I just noticed:
If I use a filter on a category-view with an URL-setted template (clayout) then javascript of the filter doesn't pass this manually setted category-template through.

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

More
12 years 10 months ago #27480 by ggppdk
Yes , i ll update the template to use this variable too in the URL

You can update your templates now:
in all of your templates , edit category_items.php and
1. replace:
Code:
var matches = element.name.match(/(filter[.]*|letter)/);
with:
Code:
var matches = element.name.match(/(filter[.]*|letter|clayout)/);
2. Just after <form action=...
add these lines:
Code:
<?php if ( JRequest::getVar('clayout') == $this->params->get('clayout', 'blog') ) :?> <input type="hidden" name="clayout" value="<?php echo JRequest::getVar('clayout'); ?>" /> <?php endif; ?>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.499 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save