Joomla add/edit article and section screens blank - php

I'm using Joomla v1.5.26 and for whatever reason when I navigate to MYSITE.com/administrator/index.php?option=com_content&task=add or if I try to edit any already existing articles (or sections) I get a screen with an empty body tag.
The other pages in the administrator part seem to be working.
It seems to be the same (or very similar) problem as this: http://www.justanswer.com/computer-programming/32fo1-when-hit-new-button-article-manager-joomla.html but this is the only instance I could find of the problem, and it isn't resolved at the end of the article.
Thank you for your help.

My suggestion:
1- Try to disable the editor you are using (Set it to no editor on global settings or on the user you are trying to edit with)
2- Try to reupload components/com_content from Joomla 1.5.26 source to your website and overwrite the existing file. There might be something missing.

Related

Joomla 3.7 Change Default Registration Link ID

Right now I'm testing a site on local host. But to show the error I'm running into, go to this address:
http://www.bearvalleycomp.com/cust/twoil/index.php/component/users/?view=registration&Itemid=101
What I want it to do is show the page like this:
Edit: I don't have enough rep to post more than 2 links...Enter that same link above without the "&Itemid=101"
But I'm lost in the code to find the address to remove the Itemid=101
I have found a guide where I can edit it through the system menu as shown here:
https://www.templatemonster.com/help/joomla-3-x-edit-registration-page.html#gref
But it appears this 3.x might not be updated for the latest edition.
Any insight would be appreciated. Thank you
After looking through multiple files, I did find the answer to change the link. It's located under /modules/mod_login/tmpl/default.php. Down around line 101, I was able to add &Itemid=114 to the end of the index.php?option=com_users&view=registration making it look like this:
index.php?option=com_users&view=registration&Itemid=114
Now when I click on Create an account, I see a page for only registering an account.
However, now I get mail errors but I can look into that later I guess.
To work around this problem you have to add the register page to a hidden menu (normal menu, but willout position module) and use that alias item on your link.
This way you can decide which modules to show or not for that particular page.

How to change code on the front page of a Magento store?

I am helping out with a Magento store initially configured by another developer who is now gone from the company, and I have no experience using Magento at all. Instead of using the built-in newsletter tools, he created an HTML form which points to a completely different server (which he owns) and now we no longer get notifications when a customer signs up for it.
Somehow, he embedded the HTML into the front page of the Store's website. I spent hours looking for the HTML and did find it, in a page called "Subscribe.phtml". I got happy, changed the code inside that page to what I want it to be, uploaded it back to the server and... nothing. No change at all to the site. I flushed the cache but that did not help.
The page does not appear to have much code in it. In CMS->Pages->Content, it shows only this:
{{block type="featuredproductslider/featuredproductslider" name="featuredproductslider"
template="magentothem/featuredproductslider/featuredproductslider.phtml"}}{{block
type="newproduct/newproduct" name="newproduct"
template="magentothem/newproduct/newproduct.phtml"}}
Under Design, it shows only that the layout is "3 columns". There is literally nothing else in this section.
Can you help me understand how I can change the HTML in this area to make this work? If this is helpful, here's a picture of the area that I am trying to configure:
Thank you.
On page 44 of the manual, there's a section called "How to find out which layout file to modify". I used Template Hints and figured out where the code lived. This is what Jim was referring to. It would have been nice for someone to instruct me on how to do this.
I set it up and found that the previous developer had modified the template directly rather than use blocks or other parts built-in to the system to modify the front page.
You can enable template hints in the Magento configuration:
Go to System->Configuration
Change "Current Configuration Scope" to "Main Website"
Go to Advanced->Developer
Under the Debug tab, choose "Yes" for the "Template Path Hints"
Save configuration.
Now go to your homepage, refresh the page and you will see paths to all templates used on the homepage. You will then get a good idea of where each block comes from.
It won't solve your problem, but it might help you find the right template to edit.

MediaWiki with BlueSpice is not showing content after sidebar adjustment

I did some adjustments to the sidebar for instance added a link to a specific page. I was looking for guidance on this and found BlueSpice manual. They say you have to edit the site MediaWiki:Sidebar. Afterwards the link appeared in the sidebar. All fine.
But i noticed that the shiny icons disappeared. So i did some research on how to add an icon next to the link. The BlueSpice manual came up with
* recentchanges-url|recentchanges|Icon-letzte_Aenderungen.png
So i did this. Unfortunately i did not upload an icon via Special:Upload as recommende but named an icon form the skin folder. Thought this would work as well.
But since then i am not able to see any content in the wiki any more.
How could this happen and how can i revert this?
Since i am not able to login (because the content section stays empty) i cannot do changes to the page MediaWiki:Sidebar anymore.
I created a page via commandline with sample Mediawiki:Sidebarand tried to overwrite changes via
php edit.php -s "Quick edit" -m oldSidebar < newSidebar
But this just creates another entry in MySQL and did no changes to the other one.
Maybe there is a way to upload the named icon somewhere? Or to revert changes? Or something else...
Thanks for help in advance!
You may delete the Mediawiki:Sidebar page to restore back to the BlueSpice default sidebar. From the command line:
php <wikipath>/maintenance/nukePage.php --delete "Mediawiki:Sidebar"

customizeToolbar in mediawiki

In my project i need to customize the toobar section of mediawiki editor.
I read the article: Extension:WikiEditor/Toolbar customization on mediawiki.org.
In the basic step they specified like:
"So, to customizing the toolbar, put in your User:YourUserName/common.js a code such as this:.."
I didn't get the idea regarding this...
So please help me in order to customize the toolbar
Users can define custom javascript code in MediaWiki by editing the wiki page User:<username>/common.js (you need to enable $wgAllowUserJs for it to work). For sites that you administer, you don't want to do that; instead place the script in the wiki page MediaWiki:Common.js, which affects every user and visitor.
You need to do two steps:
Edit the file mediawiki\includes\EditPage.php. It is a good idea first to make a copy of it. The function to edit is getEditToolbar. Edit the $toolarray. You can find plenty of example code via Google, here is one example for various common edit buttons.
Add images to mediawiki\skins\common\images. These are the images for the buttons. You can find example images here.
Please remember - if you upgrade your software you will need manually to merge the EditPage.php file.

SMF displays raw HTML and PHP on browser

I am new to SMF.
I just installed SMF on my website. I tried editing the index.template.php . After saving changes, it displays raw HTML and PHP on the browser. I tried fixing the prob by returning the the page back to the original state to no avail.
At the moment, everything is gibberish both frontend and backend.
Pls what do i do?
There should be at least an open tag at the top of the file (at the top of every .php file). Make sure you didn't remove this tag. Everything outside of a <?php is interpreted as normal text so if you have removed this it would explain your issue.
Also, being an ex-team member for SMF I can assure you its better to create a copy of the default theme, then make your edits to that theme. Then if you experience an error you can always pass a param in the url to reset to the default theme (in case you need to get into the admin area). To do so end the url with index.php?theme=1

Categories