-
AuthorPosts
-
June 9, 2009 at 6:20 pm #141802
Hi Guys,
I’m heavily customizing this template, and want it done so that on the home page, no content is displayed at all. On all the other pages I want the content to display.
I know I need to edit / change / add in some PHP into the index file to make this happen, just wondering if you guys can help me out?
Here’s the link to my site:
Just to clarify, I’m wanting to display the 3 rectangle images on the home page instead of content.
Thanks!
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 9, 2009 at 7:07 pm #307416Simply create a new menu item as an article and make that the default item. Your article can contain the three rectangles.
June 9, 2009 at 7:11 pm #307417Sorry, I forgot to mention that the 3 images are actually module positions that I have created, so it won’t work to have them in an article.
Any other ideas?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 9, 2009 at 7:25 pm #307420If they are just images linking to other pages you could just embed those images in an article.
Otherwise, it gets complicated.
June 9, 2009 at 7:48 pm #307423They may not be images in the future. I’m trying to change the php for the home page. I know it’s comlicated, which is why I’m seeking help in this forum.
Does anybody know how to achieve this?
Thanks guys 🙂
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 9, 2009 at 8:19 pm #307429Just had a quick look. It will need more work but as a start try opening templates>ja_mica>html>com_content>frontpage>default_item.php and remove all the lines from line 25 onwards.
Not sure if you have already modified this for your custom modules however.
Then you’ll have a little work to do in the backend and maybe adjust some css but I haven’t time to fully investigate tonight.
June 10, 2009 at 4:44 pm #307546Thanks for your suggestion, I tried this and it had no effect on the front page. Thanks for looking into it though, I appreciate it 🙂
Is anyone here skilled in PHP, that would know how to tackle this?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
June 10, 2009 at 5:08 pm #307552It should have had a big effect on your front page. It does on my test system.
If it had no effect then you must be viewing a cached version. Clear both your browser and joomla caches.
June 10, 2009 at 6:00 pm #307559OK, Yes it works, but it’s not really what I was meaning. Let me try to re-phrase the question. I want to get rid of everything under the images: (transparent box, breadcrumbs, RHCC text, basically that whole small area under my images.)
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by DreamWeb 15 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum