Ajax call in category view template

More
9 years 6 months ago #49996 by Ghix
Hello,

I am calling an item with ajax in a category_items.php:
It works but not fully as I want. I am loading this:
Code:
?option=com_content&id=5&view=article&type=raw&tmpl=component"

It seems that some css is loaded during this call changing the layout of the page.

I read that I should create a file view.raw.php or view.html.php

I locked at this point.
Somebody could tell me in few words how to do?

Thanks,

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

More
9 years 6 months ago #50005 by ggppdk
Hello

the plugins will load their CSS/JS and helper functions used by plugin will load CSS/JS of 3rd party libraries

and we do not have:

view.raw.php

there is somewhere in the forum a contributed:

view.json.php


the above would be usable with:
&format=html
&format=raw
&format=json

you could try copying:
view.html.php
as
view.raw.php

and using
&format=raw

but note we have not tested or do not provide any support for the above


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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.259 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