Keyword

Use Article Title as Module Title Dynamically

  • Greg Mann
  • Greg Mann's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago - 11 years 7 months ago #110347 by Greg Mann
Hello
Is there a way to use the k2 content module, and then dynamically insert the title of the article that it is pulling from a category, as the module title?

Here's what I'm trying to accomplish: I have several blog posts. I want to use the k2 module to pull the latest article ( I've got that going on already) and put it on my frontpage, but I want the article title to become the module title, so that I can style it using a module class suffix. So that when I post a new blog post, that module title changes to reflect the title of the new post.

Here's a screen shot: gbmann.com/images/screen1.jpg

Thanks
Greg Mann
Newark OH

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


Powered by Kunena Forum