sourcer

Search
Other Bug Reports questions
Forum

sourcer

Renske Verreijt's Avatar Renske Verreijt
Hello,

After I downloaded the Pro version Sourcer and created the php code via module 'custom html' and then put it on the page, strange things happen. Fonts, colors and positions change. What's going wrong?

You also indicated on the website that you do not need a Pro version with a php code. As soon as I click on PHP in the tab, I get the message that you must purchase a Pro version.

Hopefully I hear soon from you!

Greets
Renske
Peter van Westen's Avatar Peter van Westen ADMIN
Regarding the styling:
You probably copy/pasted along <code> styling with the {source} tags.
But I can't tell without seeing it.

Regarding the PHP tab:
The Pro version comes with some extra functionality in the editor button to help you insert code more easily.
The Free version still supports handling of PHP code, but you need to insert it manually.
Please post a rating at the Joomla! Extensions Directory
Renske Verreijt's Avatar Renske Verreijt
Thanks for your quick response.

As soon as I enter the php code via the tab (I suspect sourcer) put {source} before and after the code. As soon as I remove this, the error message on the page disappear, but the code it selves appears. So it is not displaying (the extern newsfeed) it correctly (newsfeed).

What can I do.
Peter van Westen's Avatar Peter van Westen ADMIN
If you remove the {source} tags, then the PHP code won't be interpreted by Sourcerer. So that is expected behavior.

So I guess the issue is with whatever custom PHP code you are placing.
Do you have basic PHP knowledge? If not, then it is probably not the best idea to use a tool like Sourcerer.
Please post a rating at the Joomla! Extensions Directory
Renske Verreijt's Avatar Renske Verreijt
I know a very little bit about it. This method was advised to me by the program maker of Gridbox (Joomla). The module was created, via <coding> -> php tab. In this link you can see the preview, with the complete code: 20accountants.nl/nieuws

Hope you can help me further.
Peter van Westen's Avatar Peter van Westen ADMIN
Your code is not correct. This isn't all PHP code. It is HTML mixed with PHP.
You are now placing HTML code as PHP code.

The PHP code tab is for just PHP code. It will surround the code with the <?php ... ?> tags.

By placing your code - that is HTML with its own PHP blocks - inside the PHP tab, you get nested PHP tags.
And that will break.

So take the code and place it in the normal code tab, not the PHP tab.

Again, Sourcerer is a power tool. And if you have no idea on how php code works, it might not be the best idea to use it.
Please post a rating at the Joomla! Extensions Directory
Renske Verreijt's Avatar Renske Verreijt
Thanks for your quick response!

It works now properly. I had posted the code via a new module. That went wrong. I did some research and found out that the code had to be placed via an article. So I did this and it works now. My question is whether I had to purchase the Sourcer Pro for this or whether it was also possible with the free version. If the latter is the case, can I still cancel this order?
Peter van Westen's Avatar Peter van Westen ADMIN
Well, with just the free version, you don't get any support. And this was not a bug report, it was a support request.
But I'll send you a refund. If you have any more support questions regarding Sourcerer, you'll have to get a subscription.
Please post a rating at the Joomla! Extensions Directory
Renske Verreijt's Avatar Renske Verreijt
Thank you for your (free) advice and this gesture! I really appreciate that!
You can only post on this forum if you log in