Ajax call in category view template

4 years 1 month 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:
?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.

4 years 1 month 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.