Using mod_dn to display front page items, which causes problem

Pompatzis
13 years, 10 months ago
Hello,
I developed a site in joomla for a customer, who now wants a mobile version of it. In the past i found "mobile" to be very easy to install and handle. However, for this particular site, i could not get the mobile version of the site to show the articles that are posted in the front page.
The reason is because i use mod_dn (display news) to display front page items and i have set the #Leading, #Intro, Columns and #Articles to 0 in the "Home" menu item...

Is there a way to go around this problem? This component is working perfectly in other pages in which i dont use mod_dn and its really a pitty..

Thanx
Barnabas
13 years, 10 months ago
I installed DisplayNews on my test site and was able to get it to work.
(For those unfamiliar with this extension, it is a module which you place in a position on your template. It then picks up your front page articles and puts them on your web page.)
I had to make a copy of the module so I now have one for the desktop site and one for the iphone view.
On the iphone view I set the position to mj_iphone_header2 (I did find that you can't put it in the same place as a menu)
saved
I had the home page as you described with 0 for the number of items, and it worked.

You will need more copies for the other templates.
Let me know how you get on.
Pompatzis
13 years, 10 months ago
Hey Barnabas!
Thank you for your immediate response and for your help!! Your suggestion worked like a charm and my problem is fixed! Once again thanx!!

Can i make another question though? I have been trying to change the width and height size of the header image. The way i was doing it so far was the following:

I created a module using Simple Image Holder and in position i put mj_iphone_header. The image i put the module holding, is my site's normal header.

However as far as i understand, by default the module resizes it to 280x33 which is rather small for what i need. Which code do i need to change in the template to make the header a bit bigger?
Thank you in advance!
Barnabas
13 years, 10 months ago
You are welcome. Thanks for posting the result.

I don't know the answer to your next question.
Could you ask it as a new post? That way when people are searching for the same answer, they can see your post from it's title. This post is about mod_dn.
Hope you don't mind.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.