为网站设置XML编码

时间:2022-12-05 07:45:10

I don't have any experience when it comes to coding any type of language, but I do want to try and understand the logic flow. For my website, I am using magento as the backend system and trying to create a blogging page on my site. I have third party developer working for me, but they gave me an estimate that doesn't seem right. In the backend, I can create he CMS page for blog, but I want to design the template or even buy a template off a free lancer. Only thing is that there seems to be two method to design the blog and that is either manually typing in the Xml coding for the page layout or select the xml file from within my server. I don't have admin access to my server because I left that for my developers to work on, but I do have the ftp access. I'm honestly not sure if the ftp is my actual server access or not. To make things short I have two question. First is that is it possible to simply copy and paste the xml coding into the page layout? The other question is if I were to download the xml document, would I simply upload it via ftp access and choose that template on magento backend?

在编写任何类型的语言时我没有任何经验,但我确实想尝试理解逻辑流程。对于我的网站,我使用magento作为后端系统并尝试在我的网站上创建一个博客页面。我有第三方开发人员为我工作,但他们给了我一个似乎不正确的估计。在后端,我可以创建他的博客CMS页面,但我想设计模板甚至从免费的枪手购买模板。唯一的问题是设计博客似乎有两种方法,即手动输入页面布局的Xml编码或从我的服务器中选择xml文件。我没有管理员访问我的服务器因为我离开了我的开发人员工作,但我确实有ftp访问权限。我老实说不确定ftp是否是我的实际服务器访问权限。为了缩短时间,我有两个问题。首先,是否可以简单地将xml编码复制并粘贴到页面布局中?另一个问题是,如果我要下载xml文档,我只需通过ftp访问上传它并在magento后端选择该模板吗?

1 个解决方案

#1


0  

Developing a Magento page involves significantly more work than dropping some XML into a Magento CMS page. You need to code the relevant HTML and CSS, put it into the correct files (.phtml template files for the HTML, .css stylesheets for the CSS), and then reference it correctly via the layout XML or through other means.

开发Magento页面比将一些XML放入Magento CMS页面要多得多。您需要对相关的HTML和CSS进行编码,将其放入正确的文件(HTML的.phtml模板文件,CSS的.css样式表),然后通过布局XML或其他方式正确引用它。

So, to answer your questions:

那么,回答你的问题:

First is that is it possible to simply copy and paste the xml coding into the page layout?

首先,是否可以简单地将xml编码复制并粘贴到页面布局中?

Yes, you can copy and paste layout XML into a CMS page. However, XML layout configuration is only a small piece of building a page.

是的,您可以将布局XML复制并粘贴到CMS页面中。但是,XML布局配置只是构建页面的一小部分。

The other question is if I were to download the xml document, would I simply upload it via ftp access and choose that template on magento backend?

另一个问题是,如果我要下载xml文档,我只需通过ftp访问上传它并在magento后端选择该模板吗?

There's a lot more to it than uploading an XML document. As I said above, you have to think about the HTML and CSS files, ensuring they are integrated correctly within Magento's structure.

除了上传XML文档之外,还有很多其他内容。如上所述,您必须考虑HTML和CSS文件,确保它们在Magento的结构中正确集成。

#1


0  

Developing a Magento page involves significantly more work than dropping some XML into a Magento CMS page. You need to code the relevant HTML and CSS, put it into the correct files (.phtml template files for the HTML, .css stylesheets for the CSS), and then reference it correctly via the layout XML or through other means.

开发Magento页面比将一些XML放入Magento CMS页面要多得多。您需要对相关的HTML和CSS进行编码,将其放入正确的文件(HTML的.phtml模板文件,CSS的.css样式表),然后通过布局XML或其他方式正确引用它。

So, to answer your questions:

那么,回答你的问题:

First is that is it possible to simply copy and paste the xml coding into the page layout?

首先,是否可以简单地将xml编码复制并粘贴到页面布局中?

Yes, you can copy and paste layout XML into a CMS page. However, XML layout configuration is only a small piece of building a page.

是的,您可以将布局XML复制并粘贴到CMS页面中。但是,XML布局配置只是构建页面的一小部分。

The other question is if I were to download the xml document, would I simply upload it via ftp access and choose that template on magento backend?

另一个问题是,如果我要下载xml文档,我只需通过ftp访问上传它并在magento后端选择该模板吗?

There's a lot more to it than uploading an XML document. As I said above, you have to think about the HTML and CSS files, ensuring they are integrated correctly within Magento's structure.

除了上传XML文档之外,还有很多其他内容。如上所述,您必须考虑HTML和CSS文件,确保它们在Magento的结构中正确集成。