-
AuthorPosts
-
February 9, 2016 at 8:24 pm #880199
Hi guys
Pleased to say my site is nearly finished – so thanks for all you guys help.
I have just one problem
On my ad hoc projects page (http://www.jamesedwardsdesign.co.uk/ad-hoc) it is working fine – I just want to make it so that when you click a project it does not go to an article. When you click the image I just want it to do nothing, no link. Is this possible?
Many thanks
JamesNinja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 10, 2016 at 2:53 am #880365Hi,
In Joomla, if you want to view article individually, that article must be assigned to a menu item.
Please create a new menu item (or use an existing one) and assign article (or category that article belongs to) to this new menu item and also make sure that you don’t assign any module to this menu item
Regards
February 10, 2016 at 9:26 am #880631Hi – sorry I think you mis read my question. When I click a link on the ad hoc page I do NOT want it to go to a article – I would like it to just do nothing.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 11, 2016 at 4:32 am #881162I spent a lot of time to find the solution with your request
Open templates/ja_jason/html/com_content/category/isotope_item.php file
find and change
<?php echo JLayoutHelper::render('joomla.content.intro_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>$link)); ?>
to
<?php echo JLayoutHelper::render('joomla.content.intro_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>'')); ?>
Hope it helps
February 11, 2016 at 9:44 am #881228Thankyou! It works – but I want to be able to still click on links to my portfolio page on the homepage (www.jamesedwardsdesign.co.uk/portfolio) and not click on links on ad hoc page. I have tried copying the template style but it does not have any different files. Do you have any idea?
Thankyou so much
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 15, 2016 at 6:18 am #883149I spent a lot of my time to find the solution for you.
Open templates/ja_jason/html/com_content/category/isotope_item.php file
find and change
<?php echo JLayoutHelper::render('joomla.content.intro_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>$link)); ?>
to
<?php if (JFactory::getApplication()->input->get('Itemid')== 149) { echo JLayoutHelper::render('joomla.content.intro_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>'')); } else { echo JLayoutHelper::render('joomla.content.intro_image', array('images'=>$this->item->images, 'params'=>$this->item->params, 'url'=>$link)); } ?>
February 15, 2016 at 8:50 am #883276Ninja Lead… Thankyou very very much! Works perfectly 😀
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by james_edwards 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum