Yang Xiaojie's blog (Youngxj) provides free tutorial downloads and website building technical tutorials, mainly sharing and publishing website source code, and is committed to creating a sharing platform for high-quality online resource tutorials

Emlog background template Y+Eadmin

Young Xiaojie 2018-9-29 8:57 Website construction (116)31951 Querying Small label: emlog original

After a little more than a week, the Y+Eadmin background template was finally produced. I had this idea for a long time, but I was suffering from other things, so I put it on hold.

By writing this background template, I have a certain understanding of the background operation of Emlog. I refer to the N+template for various code transplants, style writing, repeated and continuous polishing, and successfully create this beautiful background template.

The fun of writing code is to constantly challenge, test, find new success, and even test hundreds of times for a small function. What kind of joy is the final success. Well, let's stop talking nonsense and start introducing my achievements over the past week.

narration

First of all, thank you for choosing Y+Eadmin. This template is the background template used by the open source EMlog

Y+Eadmin is based on the bootstrap open source template coco for low-level adaptation. The entire template refers to the N+template for global design and code trimming. At present, it is applicable to the background use of Emlog5.3. x and Emlog6.0.0.  

Many open source projects are used in this template:

  1. BootStrap
  2. Jquery
  3. Ckeditor
  4. Wait

Thanks for these excellent open source projects, otherwise there would be no current Y+Eadmin.

characteristic

  1. The adaptive template based on bootstrap has excellent effect experience on multiple devices, facilitating the background operation of Emlogger.
  2. It supports dual editors, including Ckeeditor and native editor, which can give you a better writing experience.
  3. Using the notifyjs plug-in can give you a friendly reminder experience.
  4. WeChat uploads pictures using Html5 to solve the embarrassment of not being able to transfer pictures on mobile phones

Installation Tutorial

  1. Download the compressed package, upload it to the admin directory and decompress it directly (the original file needs to be overwritten)
  2. If template setting is required, the specified template setting plug-in must be installed. It has been integrated into the compressed package and can be uploaded and installed directly

Using Help

  1. Modify Editor

    Modify the $editType variable in the fourth line of the path/y/header.php file

    1. 0 ->native editor
    2. 1 ->Multi functional Ckeeditor
  2. Modify background announcement

    Back stage sidebar announcement modify path/y/header.php file sixth line $Notice variable

  3. The plug-in failed to insert pictures, contents, attachments, etc

    Because the class The IDs are different. Plug in authors usually write and insert classes ID attribute, so the insertion fails. To solve this problem, you can only modify the corresponding class id。 Xiao Jie provides you with a method for adding, inserting, and obtaining data in the Ckeeditor editor to facilitate you to modify bugs
     

 //Get content // CKEDITOR.instances.content.getData(); //Set content // CKEDITOR.instances.content.setData( 'This is the editor data.' ); //Insert Content //CKEDITOR. instances. content. insertHtml ("new content");

common problem

  1. because emlog Mechanism problem. When you create a new article, the article logid will not be generated. When you select to upload and insert an attachment, or when you browse the attachment library, you will be prompted that the permission is insufficient, The mechanism of emlog is that automatic js triggers saving to generate logids to page IDs, and then the attachments can be operated. This is the biggest problem I encountered when writing background.
  2. For template settings, because the official template settings plug-in and template class There are some differences in IDs, so the setting button will not appear, and the specified template setting plug-in must be installed for normal use
  3. Since Ckeeditor does not support the features of Android phones, Xiao Jie tried to modify the core code of Ckeeditor. If you have any exceptions in your writing, please contact Xiao Jie.
  4. Because there are some differences between the emlog official core file and the template function, Y+Eadmin has modified the three emlog background core files. If these three files are not overwritten, the template will not work properly

    globals.php
    Modify the template path and the official service domain name to https

    store.php
    Fix bugs that failed online installation

    template.php
    Add more topic information output

Template Preview

 login.png

 index.png

 em.yum6.cn_admin_twitter.php.png em.yum6.cn_admin_write_log.php.png em.yum6.cn_admin_.png

 em.yum6.cn_admin_y_doc_index.html.png

to update

December 9, 2018: complete Emlog6.0.0 adaptation

lower
load
noodles
plate

File name: Emlog background template Y+Eadmin

Updated: 2018-12-09

Download statement: The default decompression password of this site (www.youngxj. cn) is the network resource collected from the network or originally created by myself. Please indicate the source for reprinting! If the resource infringes your copyright, please contact the blogger, and we will delete the infringing resource within 24h!

Download Now

This article was last updated on September 29, 2018, and has not been updated for more than one year. If the article content or picture resources are invalid, please leave a message for feedback, and we will deal with it in a timely manner. Thank you!

Comment list:

  • Laugh at others Lv 1 TOP

    Template settings are not available

    • Young Xiaojie stationmaster

      Reply: Install the plug-in in the compressed package

    • Flying fish Lv 3

      Reply to Young Xiaojie: Are you manually setting the top in the background?

    • Young Xiaojie stationmaster

      Reply to the flying fish: Yes, you can check https://blog.youngxj.cn/554.html

  •  avatar
    . Lv 1

    Template settings are not available. Installing the plug-ins in the installation package still doesn't work. The template setting page still has no setting function.

  • Remember to take a look

  • Pings Lv 1

    It is recommended to add a WeChat function to the background navigation bar, otherwise it will take a long time.

    • Young Xiaojie stationmaster

      Reply to Pings: The bird icon on the left navigation bar is WeChat

  • Li Wenjie Lv 1

    The following problems occurred after replacement:
    1. Basic settings. After clicking Save Settings, the site address will cause incompatibility between internal and external network display. (Personal site built with nas)
    2. Insert the source code, which is very different from the original input method. It feels incompatible and cannot match the original code content and presentation method. (This is my personal experience, but it does not represent all netizens)
    3. Weakly ask the boss whether the function of "article directory" has been incorporated into it. It seems that I didn't experience it when writing articles. After all, I opened it in the wrong way!

    • Young Xiaojie stationmaster

      Reply to Li Wenjie: 1, reason unknown
      2. Built in dual editor, switch to KindEditor editor to view documents
      3. The article directory function has not been tested, not clear

  • How can I download it? Your article is so well written that I like a reply [awesome]

  • (✪ω✪) Lv 1

    Boss, it seems that this background editor can't add videos Not even with plug-ins I don't know if it's the editor or me

    • Young Xiaojie stationmaster

      Reply (© ω©): The article said that the plug-in is not compatible, and it needs to be modified directly to insert. It's really impossible to switch to the native editor

  • The Dragon is at the End of the World Lv 1

    After overwriting, the background page prompts: error!

    • Young Xiaojie stationmaster

      Reply to Long at the End of the World: emphasize again: the posture is wrong

    • The Dragon is at the End of the World Lv 1

      Reply to Young Xiaojie: I can give some guidance online

    • Young Xiaojie stationmaster

      I replied to Long in the End of the World: First, this way, then that way, and finally this way, that's all. Horizontal scroll: Can't you understand the tutorial? Do you want me to copy the above tutorial again for you?

    • The Dragon is at the End of the World Lv 1

      Reply to Young Xiaojie: Maybe I really can't understand the tutorial. I followed the tutorial, but it still prompted me with this error. Novice, please give me some guidance

    • Young Xiaojie stationmaster

      Long Zaitian replied: How do you want me to guide you? How do you expect me to teach you here? Do you have no QQ or do I have no QQ?

    • The Dragon is at the End of the World Lv 1

      Reply to Young Xiaojie: I add you don't know the verification password, please add me, thank you very much, my QQ 87855767

  • Flying fish Lv 3

    view picture The other person doesn't want to talk to you and replies by losing a small yellow flower (flowers)
    Clock in successfully, now time: 3:14, remember to clock in every day!

  • A Yujun Job No Lv 1

    Boss, I used your background template and installed your repair plug-in, but the background still cannot set the template. How to solve emlog5.3.1

    • Young Xiaojie stationmaster

      Reply to A Yujun's job number: It is reasonable to say that there is no problem, there may be a cache

  • Mobile phone scanning QR code
    Better reading experience