Jump to content

fisnik

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About fisnik

  • Rank
    Jr. Member

Recent Profile Visitors

1,360 profile views
  1. Can anybody point to me to right direction on how to import wordpress "featured image" since here we are getting only images that are embed on body field? Thanks in advance.
  2. Hi @adrian i hope you are doing well. I have managed to migrate multi language posts with a help from a friend. What i just found out is that this module is not importing "featured image" from wordpress, it is importing only images that are embed on body. Is this right or did i miss something? Is there an easy way to fix this since it is very important? FYI: wordpress exporter by default it does not extrcat that image in .xml file, i did use this plugin to do that. https://wordpress.org/plugins/export-media-with-selected-content/
  3. @adrian Thanks a lot for info. I will try to do something and if it works i will share the info. Regarding usage usually myself when there is not too much content i copy it directly, i think this is the case for others too. But in cases like this one that i have now, we need modules like this i have to move 1000+ posts. I have to say that this module is life saver and very easy/simple to use, it does the job perfectly.
  4. Hi, I am trying to import to processwire a wordpress site with multi language. I have installed Processmigrator and MigratorWordpress(also in processwire multi laguage support is installed and fields have been change to support multi language). I have exported content(posts) from wordpress and successfully migrated to processwire. Currently both language posts are showing up as different pages. Can someone point me to right direction is there a way to migrate these posts into one or when i start importing from wordpress what should i do to have them imported in multilanguage?
  5. Hi, How can i add <a> class to first level of a href, excactly like in this example below, that class should not be added to all <a>. Also how can i make a link Not clickable for those who have chlidrens? Currently to hide some menus i am using 'selector' => 'navhide!=1, template!=sitemap'. But is there a way where i can assign a field to parent template not to have dropdown, and how to do that? Thank you P.s i have read documentation but i dint find a way to achieve this <ul class="main-menu"> <li class="main-menu__item m
  6. Hello all, I am trying to enable webp support for images, but i am having some problems with it. Somehow i have uploaded some images but i cannot delete them from field, when i try to delete it is log me out of processwire. See attached screenshots. P.s my server supports webp images. On my server logs i have only these errors: [Mon Jun 01 21:57:30.399211 2020] [fcgid:warn] [pid 26424] [client 162.158.88.107:22838] mod_fcgid: stderr: #4 /public_html/wire/core/ProcessController.php(337): ProcessWire\\Wire->__call('executeEdit', Array), referer: /setup/language-transl
  7. [%%.sessions] Error: Table '%%.sessions' doesn't exist [%%.sessions] status: Operation failed I dont know why this happend but i also cannot create new tabel with name "sessions" on same database. Workaround: I did create new database, imported old one (sessions does not exist here) then i run: CREATE TABLE `sessions` ( `data` mediumtext NOT NULL, `id` int(11) NOT NULL, `ip` varchar(256) NOT NULL, `pages_id` varchar(256) NOT NULL, `ts` varchar(256) NOT NULL, `ua` varchar(256) NOT NULL, `user_id` varchar(256) NOT NULL ) ENGINE=MyISAM DEFAULT
  8. Does anyone know why i am getting this error on some site today, no changes were made? Error: Exception: SQLSTATE[42S02]: Base table or view not found: 1146 Table '%%.sessions' doesn't exist (in wire/core/WireDatabasePDO.php line 454) #0 wire/core/WireDatabasePDO.php(454): PDOStatement->execute() #1 wire/modules/Session/SessionHandlerDB/SessionHandlerDB.module(74): WireDatabasePDO->execute(Object(PDOStatement)) #2 [internal function]: SessionHandlerDB->read('vvvciffpban8u80...') #3 wire/core/Session.php(267): session_start() #4 Wire.php(380): Session-&g
  9. I am using processwire with multi language. I have set up multi language and it is working perfect. What i need is that when a user chooses a language when he visits web for the first time to be remembered like a session or cookie next time when he visit that web. I have searched in forum but couldn't find anything. Ant help would be appreciated. Thank you
  10. This is working fine, only when i use language alternative fields it is not showing the other language file. i have created both fileds pdf and pdf_de. This is the code that i am currently using to call the files: <?php $features = $pages->get("1029")->children("limit=6, sort=sort"); foreach($features as $feature) { echo "<li>" . "<a class='readmore4' href='{$feature->url}'><p class='texti4'>{$feature->title}</p></a>" . "</li>"; } ?>
  11. Thanks for you reply Rayn, that line is not commented and it is still no overwirting windows default temp folder, i have managed somehow (i am not sure how, i told server admin to make some folders writable...) to upload pictures only on new posts and it is working fine. With old posts i have problem with uploadin pictures, i have an error destinationPath is now writable. But it is ok like this if new posts are working, if i found a solution for old posts i will let you now.
  12. i have a problem uploading images/file at processwire installed on windows 2012 iis7.5 server when i try to upload it shows: Error writing to C:\Windows\TEMP. PLease define $config->uploadTmpDir and ensure it is writable. at config.php i have $config->uploadTmpDir = dirname(__FILE__) . '/assets/uploads/'; this folder is created. Any idea how to fix this? php shows this info - Can i overwrite it from processwire? upload_tmp_dir C:\Windows\temp C:\Windows\temp
×
×
  • Create New...