Custom Modules
Legion 19
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Custom Modules
Legion
OP
19
From: -
From: -
Right I figured but didn't want to stuff it up. Thanks heaps works perfect!
1 Re: Custom Modules
Philipp Esselbach
From: -
Editor
0From: -
Basically the same but with $article_title and in /blocks/articles_latest.php:
if (strlen( $article_title ) > 22 )
{
$article_title = substr( $article_title, 0, 20 ) . "...";
}
1 Re: Custom Modules
Legion
OP
19
From: -
From: -
Thanks and for the articles?
1 Re: Custom Modules
Philipp Esselbach
From: -
Editor
0From: -
You need to add the following before the previous $news_latest line:
This will limit the news stories to 20 characters
if (strlen( $newsstory_title ) > 22 )
{
$newsstory_title = substr( $newsstory_title, 0, 20 ) . "...";
}
This will limit the news stories to 20 characters
1 Re: Custom Modules
Legion
OP
19
From: -
From: -
In the second image attached in the first post you will notice that the text links are limited to a single line using a character limitation. How would I implement this into your code?
1 Re: Custom Modules
Philipp Esselbach
From: -
Editor
0From: -
You find the HTML output of latest news in /blocks/news_latest.php:
It is necessary to clear the cache (Main / Clear Cache in admin section) after every block modification.
$news_latest .= "· <a href=\"" . $seo_url . "news" . $preferences[ 'param_action' ] . "story" . $preferences[ 'param_page' ] . $newsstory_seo . ".html\">" . htmlspecialchars( $newsstory_title ) . "</a><br />";
It is necessary to clear the cache (Main / Clear Cache in admin section) after every block modification.
Hello,
Last week I purchased the professional version of Contentteller. First I would just like to say this is a very impressive content managment system. So far everything is going well with the setup. However there is one small aesthetic issue I cannot solve.
I want my new menus to look like the old ones. I have attached images of the old and new menus.
The issue is I cannot work out how to separate each data entry into its own table.