Ideas

Do not show 'View Details' link on Homepage sub ad if there are none

Note You are not authorized to edit this feature.

Do not show 'View Details' link on Homepage sub ad if there are none

1.9.0 CRM Complete

In ~~\Assets\Lava\AdList.lava, wrap the line that shows the link for View details in a conditional if statement, so it does not show if there is no ad content.

 {%- if item.Content == '' -%}

    <p>

      <a class="view-details btn btn-default" href="{{ itemLink }}" role="button">View details »</a>

    </p>

  {%- endif -%}


Photo of Ken RoachSubmitted by Ken Roach, Porirua Elim Christian Centre  ·   ·  CRM
Photo of Jon EdmistonComplete Jon Edmiston, Spark!  · 
Planned Version 9.0
Ministry Strength 1 / 5
Feature Size Small
Login to add a comment...

Submission Success Tips

Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.

  • Clear Title: Craft a straightforward and descriptive title that instantly conveys the essence of your idea.
  • Concise Description: Provide an idea description that is succinct, ensuring it effectively communicates the concept without unnecessary verbosity.
  • Provide Additional Details: With a concise description complete, now provide any other details that are needed to better understand the requirements.
  • Thorough Ministry Need Review: Provide a comprehensive overview of the ministry need your idea addresses, emphasizing its significance.
  • Cover the WHY: Clearly articulate the rationale behind your idea, explaining why it's essential and how it aligns with the organization's goals and mission. Oftentimes a clear "why" sheds light into other possible options.