[Joomla template] issue when using option tmpl=component

More
11 years 6 months ago #35589 by rottenberg
Hello
When I use the option tmpl=component some element are not displayed.

The most simple is to give an example :

classic url : bibliactiv.com/

url with the option tmpl=component : bibliactiv.com/?tmpl=component

The differences :
    The title of the first article is not display in the tmpl=component list (in the example : Le Louvre
    the result of the pagination is not displayed in the tmpl=component list


I have partially solved the first problem : I give 0 in Main element (I just use intro elements)

I have not solved the display of the result of pagination

Is it possible to solve the 2nd problem.

thank you for help

best regards

Michel

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

More
11 years 6 months ago #35606 by ggppdk
Hello,
can you do a view page source, the pagination must be there !!
but because some other CSS of joomla is not loaded, it does not get displayed ??

But you can post a link here, and i can see immediately if it is a CSS issue

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
11 years 6 months ago #35617 by rottenberg
Hello

I gave a link in the initial post :
classic url : bibliactiv.com/

url with the option tmpl=component : bibliactiv.com/?tmpl=component


I have had a look in the source page of tmpl=component.

there is the source of the pagination :
Code:
<!-- BOF pagination --> <div class="pagination"> <div class="pageslinks"> <span class="pagination"><span>Début</span><span>Précédent</span><strong><span>1</span></strong><strong>[url=/index.php/fr/?start=10" title="2]2[/url]</strong><strong>[url=/index.php/fr/?start=20" title="3]3[/url]</strong><strong>[url=/index.php/fr/?start=30" title="4]4[/url]</strong><strong>[url=/index.php/fr/?start=40" title="5]5[/url]</strong>[url=/index.php/fr/?start=10" title="Suivant]Suivant[/url][url=/index.php/fr/?start=40" title="Fin]Fin[/url]</span> </div> <p class="pagescounter counter"> Page 1 sur 5 </p> </div><!-- EOF pagination -->

How can I get the css file corresponding ?

best regards

Michel

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

More
11 years 6 months ago #35620 by Rooney

rottenberg wrote: How can I get the css file corresponding ?


You need to install the Firefox plugin Firebug. It is an essential tool for debugging CSS for webpages. I have attached an example analysing your page.

Well, actually I wanted to add an image but get following error, sorry:

Could not upload attachment to /phpbb/files/893_dc164c8a563e5ea8cf86536ee3907f06.


Rooney

Joomla! 3.9.24 and FC 3.3.9

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

More
11 years 6 months ago #35622 by ggppdk
Hello,
i am sorry, i thought link was a sample, LOL

1. But i found it for you, (CSS problems are usually very easy to find, but requires some time to correct), and it is not related to FLEXIcontent

2. All components of your site, will not show pagination because your Joomla template --deals_plazza-- has a bug ??, it is adding code to hide pagination:

a. It is adding:
<link rel="stylesheet" href="/templates/deals_plazza/css/print.css?v=1.0.0" type="text/css" /> <!-- stylesheet -->

b. Inside it has:
.unseen,#line,#header ul, #breadcrumbs,.article-info-term,#close,.display-limit,#bottom,.pagination,#footer,#header-image {display: none;}

3. I think your joomla template: deals_plazza,
is checking this variable tmpl=component to add the code to hide pagination, it thinks you are printing !!, it should be checking variable: print=1 , but some components do not use it , so maybe they know the issue but they did it on purpose, please report this to the Template Authors, or you can maybe fix yourself,
just search inside your template for : JRequest::getVar('tmpl')=='component' or something similar and use JRequest::getVar('print')==1 instead
... (NOTE this is only a suggestion code will NOT be exactly like this )

-- To Rooney: i will check permissions of phpBB folder for posting file


-- 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
11 years 6 months ago #35627 by kenmcd

Rooney wrote: ...
Well, actually I wanted to add an image but get following error, sorry:

Could not upload attachment to /phpbb/files/893_dc164c8a563e5ea8cf86536ee3907f06.

Rooney

Fixed.
You should be able to upload images again now.
Just tested - worked for me.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.303 seconds
Save
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