Hello and thank you for your time. I have an issue where partial of a phone number is being replaced with asterisks (8008). I've tried to add config.allowedContent multiple places but it hasn't fixed the issue. Is there a file somewhere with a list of words that it checks for filtration?
Thanks for the help
Related
If I understood correctly, in laravel text emails it is not necessary to add "\n" for example,
but it seems that, some times the "enters" ( new lines ) I add work properly, sometimes not.
I've been trying to figure it out anc it is a mystery, seen some people with the same issue but haven't found a solution yet.
Some examples/tests below:
Edit:
HTML is not being used! I'm calling ->text( and not->view(:
Added 2 spaces BEFORE the line break, Issue solved.
Make sure your IDE is not trimming spaces at the end!!
Which was my case with VSCode ( not sure if some plugin or native will figure out soon )
You are using Blade Template from Laravel, and Blade uses html tags.
In your case, since you are using HTML anyway, why not use breaklines, paragraphs, divs or anything that is a block element so that you can efficiently add a newline.
<p>
<br>
<div>
Or much better approach is to use Markdown template for Emails as documented from official Laravel page, Markdown mailables
I am using The Label tag for displaying the product name but some time it could be big so i need to display the product in two lines but if it goes beyond that i need ellipsis (...) after that. Thanks in advance
I already have two lines need ellipsis
Check out this image
Yes. You can provide a directive from https://gist.github.com/EddyVerbruggen/8232252e3a4667e7e20916279f98d3fc
<Label maxLines="2" .. />
I've only spent maybe 30 mins searching online for this, and couldn't come up with a decent answer.
But anyway, in Joomla there are normal input fields for the Contacts component, but there's a textarea for the Address.
This would make me assume you can enter multiple lines of address in there, and it would be displayed as separate lines... but it doesn't. Even if I enter line breaks, the output is rendered on one line.
So I try to enter <br> to separate, and upon saving, Joomla strips these tags out.
In the template, the output is being written simply by echoing $this->contact->address
Is there anyway, to explode this input and replace linebreaks with <br> marks?
UPDATE:
For now as a temporary measure I'm able to add HTML code into the database values, which saves and outputs on the front end.
On a separate note, I'm now looking to remove the Subject line from the contact form, without hacking the code. and by using overrides as much as possible. Can anyone help?
Have you tried the Sourcerer extension?
Your question is pretty old, but did you get a solution to this Lee?
To create line-breaks in Joomla, titles, text areas etc. Easiest way to do this is to use the ReReplace extension from NoNumber: http://extensions.joomla.org/extensions/edition/replace/4336
I personally use this to add line break in e.x. menu-item titles, where < br / > aren't allowed and get stripped.
With ReReplacer, you can create a custom tag e.x. {br} and then have ReReplacer replace {br} with < br / >.
So everytime you need to add a line break anywhere in Joomla, where html codes usually get stripped, you can just add {br} to have it add a new line.
Very old question but I've fallen into the same issue and tried to find a more user friendly solution.
You can enter multiple lines in the address textarea, and they are correctly outputted to the HTML page source. But as you know, newlines in HTML are not rendered, they have to be transformed to <br>.
For this PHP has a nice function, nl2br, that inserts a <br> each time it encounters a newline in a string.
So in html\com_contact\contact\default_address.php of your template, replace:
echo $this->contact->address;
with
echo nl2br($this->contact->address);
This would nicely do the job, and allow the user to naturally insert any newline in the contact address textarea that will be correctly rendered with the appropriate <br>; I believe this is quite more user friendly solution than your previous one of the user having to insert -br- tags in the address field.
I need a bit help about as follow:
Into the "profile" page is present the cover image. This is visible only into the "profile" page. What I'm trying to do is to insert the cover image into ALL other pages too (home, friends, members, ext...). Into "template.html.php" file I found the reference to the module, that is: {module name='profile.logo'}
By following the path, I also found the two files: "logo.html.php" and "logo.class.php".
I've been able to edit the cover's position and size too, but any way after many attemps I haven't been able to make the cover visible on ALL other pages.
Can someone of you guys help me please?
Thank you very much!
How about making a block and placing it in position 9 or 7?
Another way might be editing template.html.php and removing the conditional to always display profile.logo regardless of controller
Ps im at my phone its 1:40am and i cant see the code right now
This might be a very naive question but i am not able to get to it.
I have a simple text object that i wish to display only on the last page of the report after all my details section and group footer sections are displayed.
I have tried applying Suppress property on page footer to work, but it does not happen. Then i tried suppressing the text object but that did not work as well.
This is what i pushed into formula field:
if PageNumber = TotalPageCount then
false
else
true
Am i missing something.
Any help will be highly appreciated.
Thanks in advance.
Try putting your text object in the Report Footer section.
you will required to use Report Footer. please follow a link. if this is the answer to your question mark the answer.
Link:.
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.businessobjects.integration.eclipse.doc.crdesigner/reportdesigner/crconreportfooter.htm
Create a section below the last group and place your text field there so that when ever everything is displayed you will get the required text
E.g:
If you have Group1 and Group2 then create a section in group footer of Group1 using "Insert Section below and place the Text field there.
Resolved...!!! The problem was that in the Format Text dialog box, after writing the formula i had checked the Suppress Check Box because of which the Text Object was Suppressed all the time. Thanks for all your help...!!