Tab text different from Title

  • jmtmay
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #15076 by jmtmay
Is it possible or is there a way to modify the code so that the wording on the tabs could be different from the heading of the article?

For instance, I would like the tab to say "Welcome," but the heading say "Welcome to Your Beach Vacation"

Thanks!

Please Log in to join the conversation.

More
13 years 2 months ago - 13 years 2 months ago #15086 by ivan.milic
Not without module modification. You can involve new parameters, or you can do some string operations on same field.
In modules\mod_hot_newsflash\tmpl\default.php

you have:
Code:
line 107: <li class="ui-tabs-nav-item ui-tabs-selected" id="nav-fragment-<?php echo $loop; ?>"><a href="#fragment-<?php echo $loop; ?>"><?php echo $heading[$loop]; ?></a></li>

and:
Code:
line 116: <h2><a href="<?php echo $link[$loop]; ?>"><?php echo $heading[$loop]; ?></a></h2>


variable is $heading[$loop] first is for tab second is for title. You can enter for example:

"Welcome| to Your Beach Vacation"

then for tab take chars before |

for title just replace | with "".

If you can not handle this yourself we can do custom job for you
Last edit: 13 years 2 months ago by ivan.milic.

Please Log in to join the conversation.

  • jmtmay
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #15104 by jmtmay
If we're going to have to modify it, then I think I would rather add in a field for Tab Title. Could you do that and also move the tabs to the left instead of the right? So it would be tabs, photo, then text? How much would you charge to do that and how quickly could you get it done? You can email me if you don't want to post costs on the forum.

Thanks!

Please Log in to join the conversation.

More
13 years 2 months ago #15154 by ivan.milic
You must send me your email using "Report To Moderator", then we will get back to you.

Please Log in to join the conversation.

  • jmtmay
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #15159 by jmtmay
Done. Thank you.

Please Log in to join the conversation.

Time to create page: 0.160 seconds
Powered by Kunena Forum