Keyword

mySQl + php help (showing img for items)

  • Mantas Phunk
  • Mantas Phunk's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #100325 by Mantas Phunk
mySQl + php help (showing img for items) was created by Mantas Phunk
Hello Everybody,

Please somebody help me. All i want to do is for example i have page with k2 listed items, I want to add small key icon in front of introtext for locked articles.

So I think it's posible to do like this. If in database item has 1 in access cell show icon if 0 don't show. Perhaps this script must go into override.. 

 

I am asking maybe somebody can write this script and suggest where to put it, because I have no knowledge how to write it.. Thank You in Advice !!! 

 

Please Log in or Create an account to join the conversation.

  • Kannan Naidu Venugopal
  • Kannan Naidu Venugopal's Avatar
  • Offline
  • Platinum Member
  • Aham Brahmasmi
More
12 years 11 months ago #100326 by Kannan Naidu Venugopal
Replied by Kannan Naidu Venugopal on topic mySQl + php help (showing img for items)
Hi Mantas Phunk,

 

Just an idea, if you're not using the default Featured Article Flag that displays next to the Title, you can use that and template override to display and image in front of the introtext without doing any changes in the database or core files.

K2 Rocks \m/

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum