-
AuthorPosts
-
March 16, 2012 at 2:37 am #175043
Hi,
Is there a way to have ja_news_fp put an image placeholder when there are no images available for the featured and normal news articles? Right now, in the normal article, it shows a stripe background image on the upper left corner. It would be nice to have an image placeholder to make it look uniform with the rest that have pictures. Thanks.
Daniel
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
March 16, 2012 at 4:36 am #443915That would be a customisation I am sure you could achieve if you are good at coding, otherwise I suggest using an image created by you just for that purpose and adding it in the article manually through code!
March 16, 2012 at 4:42 am #443918Hi Blaine,
Thanks for the response. I understand about creating the image myself, but I don’t understand what you mean by “adding it in the article manually through code”. Can you elaborate that further? Thanks.
Dan
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
March 16, 2012 at 5:10 am #443928Well just like the article would have an image, you create one as a default image, If you want this to happen dynamically, I do not think that is possible with out hacking.
March 17, 2012 at 4:21 pm #444146Hi,
Can anyone help here with the coding? 🙂
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
March 18, 2012 at 6:58 am #444273Hi Blaine,
Are you saying that in order to put an image placeholder, I have to put an image in the article just like the other articles that has pictures? Can you please direct me exactly to the information in the Userguide that mentions or explains this, or if you can possible provide me with a hack? I really appreciate you help on this.
Thanks.
Blaine FriendBlaine
- Join date:
- August 2007
- Posts:
- 1443
- Downloads:
- 0
- Uploads:
- 25
- Thanks:
- 98
- Thanked:
- 177 times in 154 posts
March 20, 2012 at 5:07 am #444664Well, I did give you a link to the user guide for Teline above.
I would suggest you open an article and see how it is coded and follow that example.
Here is sample code for an article from the link I provided you on my previous reply:
<div class="ja-typo-feature-news clearfix">
<div class="inner"><img src="images/stories/demo/other/julian-assange.jpg" border="0" alt="Julian Assange" />
<h2><a href="#" title="Sample link">WikiLeaks Founder on the Run, Chased by Turmoil</a></h2>
<p>Lorem ipsum dolor sit amet consectetuer laoreet et nec porta interdum. Dictum habitant odio Lorem Aliquam senectus porttitor orci adipiscing augue ac ...</p>
</div>
</div> -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Blaine 12 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum