Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

How to display an article without the template
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to display an article without the template
#7403
How to display an article without the template 14 Years, 2 Months ago Karma: 0
Hi, i'm trying to use this extension in a page under development.

I want that when click in a image it displays a lightbox with an article in it, but this article needs to be show whitout the template. Only the article itself.

Don't know if its a problem with the link in the .ini file or what...

On the link section of the ini file i have image.jpg=index.php?option=com_content&view=article&id=257

With that link the lightbox displays the page where i have the module, not the one in the link

You can see the problem in here

I'm using the joomla core lightbox

Thanks

Last Edit: 2010/09/22 22:32 By dgsa82.
The administrator has disabled public write access.
 
#7406
Re:How to display an article without the template 14 Years, 2 Months ago Karma: 760
Hello,

Use the following link:

index.php?option=com_content&view=article&id=257&tmpl=component

instead of:

index.php?option=com_content&view=article&id=257

In other words add "tmpl=component" variable to link. If Joomla! find this variable in a request it loads a page without template layout.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#7417
Re:How to display an article without the template 14 Years, 2 Months ago Karma: 0
i change the link as you recomended, but still opens a diferent article and still use the template. Already clean the cache and put the same link on all de images, but in some open the image in the lightbox and in others open the wrong link.

These is the .ini file im using:

Code:

[TITLE]

ao-profamilia.jpg=AO Profamilia

cyclofem.jpg=Cyclofem

depo-provera.jpg=Inyectable Trimestral

postinor.jpg=Anticoncepciуn de Emergencia


[DESCRIPTION]

ao-profamilia.jpg=Con Prescripciуn Mйdica

cyclofem.jpg=Anticoncepciуn hormonal inyectable mensual

depo-provera.jpg=Medicamento Inyectable cada 3 meses que previene el embarazo.

postinor.jpg=Pildora del dнa despues


[LINK]

ao-profamilia.jpg=index.php?option=com_content&view=article&id=257&tmpl=component

cyclofem.jpg=index.php?option=com_content&view=article&id=257&tmpl=component

depo-provera.jpg=index.php?option=com_content&view=article&id=257&tmpl=component

postinor.jpg=index.php?option=com_content&view=article&id=257&tmpl=component



Please help.

you can see the problem here

Thanks
Last Edit: 2010/09/23 16:02 By dgsa82.
The administrator has disabled public write access.
 
#7419
Re:How to display an article without the template 14 Years, 2 Months ago Karma: 0
Problem solved, i wasnґt using the " before and after everi title, description and link so the correcr sintax is image.jpg="name"

Thanks any way
The administrator has disabled public write access.
 
Go to topPage: 1