- Posts: 29
- Thank you received: 0
How to remove the | seperator
-
alandoyle47@gmail.com
Inactive member - Topic Author
- Member
Less
More
13 years 10 months ago #4951
by alandoyle47@gmail.com
How to remove the | seperator was created by alandoyle47@gmail.com
Hi,
I want to use Hot scroller to show one article where I can edit the text so I do not want the | seperator but I cannot remove it, if I delete it then it is always there when I go back into the module setup.
Many Thanks
Alan
I want to use Hot scroller to show one article where I can edit the text so I do not want the | seperator but I cannot remove it, if I delete it then it is always there when I go back into the module setup.
Many Thanks
Alan
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #4960
by ivan.milic
Replied by ivan.milic on topic Re: How to remove the | seperator
To remove strip look at this post:
www.hotjoomlatemplates.com/support-forum...ove--from-authorline
Maybe I did not understand you well. If not please sorry and try to describe your problem in different words.
www.hotjoomlatemplates.com/support-forum...ove--from-authorline
Maybe I did not understand you well. If not please sorry and try to describe your problem in different words.
Please Log in to join the conversation.
-
alandoyle47@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 10 months ago #4980
by alandoyle47@gmail.com
Replied by alandoyle47@gmail.com on topic Re: How to remove the | seperator
Hi,
I am using the Hot Scroller Module not the Hot cars template and it is showing only the content of one article so all I want to see is the content in the article but it shows the seperator | at the end tof the scrolling text.
In the setup of the module I try to delete this seperator | but when I save the change it alwas shows the seperator |
So the question is how to remove it and why when I delete it in the setup it does not dissapear but always appears
I hope I made myself clear
Many Thanks
Alan
I am using the Hot Scroller Module not the Hot cars template and it is showing only the content of one article so all I want to see is the content in the article but it shows the seperator | at the end tof the scrolling text.
In the setup of the module I try to delete this seperator | but when I save the change it alwas shows the seperator |
So the question is how to remove it and why when I delete it in the setup it does not dissapear but always appears
I hope I made myself clear
Many Thanks
Alan
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #4987
by ivan.milic
Replied by ivan.milic on topic Re: How to remove the | seperator
To completely remove | from hot scroller , open file:
modules\mod_hot_scroller\mod_hot_scroller.php
around line 247 add red line so the source look like this:
}
/* Single item output - END HERE */
$html = str_replace("|", "", $html);
$html2out[] = $html;
}
modules\mod_hot_scroller\mod_hot_scroller.php
around line 247 add red line so the source look like this:
}
/* Single item output - END HERE */
$html = str_replace("|", "", $html);
$html2out[] = $html;
}
Please Log in to join the conversation.
-
alandoyle47@gmail.com
Inactive member - Topic Author
- Member
Less
More
- Posts: 29
- Thank you received: 0
13 years 10 months ago #5010
by alandoyle47@gmail.com
Replied by alandoyle47@gmail.com on topic Re: How to remove the | seperator
Hi,
That did not work I still see the seperator at the end of the text
Many Thanks
Alan
That did not work I still see the seperator at the end of the text
Many Thanks
Alan
Please Log in to join the conversation.
-
ukphotoguy
Inactive member - New Member
Less
More
- Posts: 1
- Thank you received: 1
11 years 10 months ago #26584
by ukphotoguy
Replied by ukphotoguy on topic Re: How to remove the | seperator
To remove the | between items, like when showing a single item, I made this chnage.
This is for old joomla 1.5 site using the last code base.
In the file /modules/mod_hot_scroller/tmpl/default.php
about line 88 you should see
<?php
if ($where == 'content' || $catid || $secid) {
foreach ($html2out as $key => $value) {
echo $value.' | ';
}
}
The bunch of spaces and the | crates the seperator. So edit them as you feel fit. I just removed the |
Someday I'll make it a switch.
Hope this helps someone save a couple of hours,
This is for old joomla 1.5 site using the last code base.
In the file /modules/mod_hot_scroller/tmpl/default.php
about line 88 you should see
<?php
if ($where == 'content' || $catid || $secid) {
foreach ($html2out as $key => $value) {
echo $value.' | ';
}
}
The bunch of spaces and the | crates the seperator. So edit them as you feel fit. I just removed the |
Someday I'll make it a switch.
Hope this helps someone save a couple of hours,
The following user(s) said Thank You: ivan.milic
Please Log in to join the conversation.
Time to create page: 0.150 seconds