Forum Replies Created
-
AuthorPosts
-
Reinstalling WP does the trick on Webkit-Failer Chrome. Didn’t reinstall Enfold at all.
Affirmative. Same prob here.
Updated Enfold to 2.9.2
Updated WordPress to 4.0Builder won’t work anymore.
Console output:
Uncaught Error: Syntax error, unrecognized expression: a[rel=] load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb.error load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb.tokenize load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb.compile load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb.select load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2fb.matches load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2m.filter load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2w load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2m.fn.extend.filter load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2initLayout avia_colorpicker.js:948(anonymous function) avia_colorpicker.js:652m.extend.each load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2window.EYE.init avia_colorpicker.js:651j load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2k.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2m.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,plupload,json2&ver=4.0:2J
Edit: This belongs to Chrome in latest rev – on FF/IE everything is fine… doh!
- This reply was modified 10 years, 2 months ago by formateins.
Hey, I’d like to drop an update to this issue.
After playing around with Enfold for quite a lot of time I’ve decided to put this piece into a own plugin instead of messing with a child theme.
The main reason to do so is just the fact that Enfold comes along with a own framework. It’s nearly impossible (and really time consuming) to mess with existing arrays within the child. Impossible? No, not really. But you’ll have to copy so many files from the parent it is pretty much useless. So I had to decide if I mess up the theme itself making the automated updates useless OR go for a plugin.
Of course I do use the Enfold styles adding only a few more to keep things in place. The categories are read through the post type and taxonomy provided by the portfolio. For each category a certain amount of single entries are read (at the moment 4) and beeing displayed inside with the use of the Enfold slider capabilities. Still messy, but working.
The product browser is simply inserted by a shortcode. Some attributes are planned (like category id’s and amount of single entries for each category and also a feature to select random products) but first everything has to be working perfectly.
The final plugin will take quite a while to be finished as the customer is a slow pacer. So if you are interested, just drop me a note and I’ll keep you informed.
At this point there’s nothing really exiting to show to you. Sorry.
Regards,
JoschiYadda… now 2.5 just popped out… ty! ;)
You may work around those heavy loaded servers by setting it up correctly. If you use a CDN (external or own one) to deliver the static contents and if you’re able to configure the headers and expires of your webserver, it will grant you a real boost in performance. But overall if so many instances are running on a single (or clustered) machine, you should think about a different hosting plan. Saves a lot of time and pain… :)
After investigating the responses from your server… well… about 5 secs to get the DNS resolve… ain’t that good at all. After the resolve, your page loads within 3 secs, so this ain’t that bad at all. Maybe a phonecall to your provider could help also.
Order posts (any type): http://wordpress.org/plugins/post-types-order/
Order Taxonomies: http://wordpress.org/plugins/taxonomy-terms-order/There are serveral ways to achieve this depending on your php skills.
Easy, but not that good idea is to copy all related files to the child so your modified iconbox.php will be loaded. You need to traverse this back to the file, where the shortcode is executed. In case of Enfold (individual framework) I wouldn’t recommend that.
Easiest way is simply modifying the original files and track the changes (file, linenumber, etc.). So it’s quite fast to readd the changes in a new version of the theme.
If you’re familiar with oop, you can write your own code straight into functions.php. In this specific case you should extend the avia_sc_icon_box class overwriting/redefining the shortcode_handler function. Be aware of the ShortcodeHelper reference (removing the wpautop).
And finally, if you’re familiar with jQuery, go this way. :) Create your own custom.js, append it to the footer, read out the href of each iconbox element and wrap whatever you like to have a link on.
I’ve never had any probs with that. And yeah, wrapping block elements should be best avoided. Just give it a shot and see if it works for you.
If you’re talking about the repositioning, try to add some whitespace to the top and bottom of the image. Maybe 10 to 20 pixels would do the trick. Not by css, change the image itself. If you are aware of the pity image quality on mobile devices, generate several logos in different sizes. Place them into the media queries and you’re fine. :)
Have a look to this thread, maybe it’s kinda useful:
https://kriesi.at/support/topic/solution-making-the-iconbox-element-fully-linked/PS: You may also achieve this with a few lines of jQuery, but this is a bit more complicated (as you have to read the link of the item beforehand).
- This reply was modified 10 years, 12 months ago by formateins.
There’s no prob with Enfold overall. It’s by far the most advanced theme currently available anywhere with a custom framework (!). It’s got lesser options to mess around with compared to other themes, but this is for a good reason. Themes with custom frameworks (even those with some modified Options Framework fork) are quite a bit harder to understand than regular themes. The Avia Layout Builder is just one part and it is neccessary to render the page contents in a more or less different way than WordPress may support it with the core API.
Also, nesting objects is a tough part and Enfold doesn’t support this out of the box. It can be done, but I guess a lot of people will run in unpredictable probs with that. This doesn’t stick to Enfold, it’s a major hurdle on WordPress. Nesting plain and easy shortcodes is one thing. Processing serveral layers of shortcodes with dozens of attribs and layouted/formatted contents way different.
As a conclusion, you shouldn’t think about modifying an existing theme if you don’t have enough PHP knowledge. This raises furthermore, if the code is well shaped and object oriented.
As answer to this thread:
The blog can be easily modified by css. There’s no need to touch any of the source files at all. But by default, some views (selectable in builder) won’t provide a featured image in single view. A quick look at the corresponding file shows exactly, where the $thumb is placed and what to do. If you got some pretty much decent PHP/WordPress knowledge. As for the thumb sizes itself… well… Enfold generates a lot of different sizes. It’s easy to modify a existing or add a new thumbsize within functions.php.Note:
You shouldn’t mess up your installation (and it is definitly messed up). Start fresh and always have a clean backup copy of the database. None of your so called errors/bugs occur on a newly installed WordPress with Enfold. Create a concept instead of messing around with features and stuff – this leads nowhere. Start easy and try to modify the simple tasks by css.As a personal hint I would recommend using a real CMS instead of a sloppy and pity blog solution for your project. But this could be even more complicated…
November 23, 2013 at 5:42 am in reply to: Child-theme does not call /config-templatebuilder/config.php #192206This reply has been marked as private.November 20, 2013 at 8:57 pm in reply to: Child-theme does not call /config-templatebuilder/config.php #191130That’s not right, Devin. The content of a child theme will always be first loaded, if it’s in the same directory structure as the parent. If I’d like to have a custom category view on Enfold, a copy of functions/loop-single.php within the child will do the trick quite nice.
As for the framework-specific stuff it get’s more complicated, because the developer needs to know where and when files are included. This is the hard stuff where “regular” people will get stuck. Thous, this can be handled the same way, if you copy over the file which is including the other (or calling the function).
Frequently asked as example:
Enabling the post type or other post types so they may use the layout builder. This needs to be done in the parent (meta.php) and get’s lost, if the theme is updated. So copying this file won’t do the trick, because meta.php is included elsewhere. Applying the filter within the child functions.php also won’t work, because it is overwriten from the parent (and the inclusion of a different file afterwards).If I set a stop point in eclipse, the array from the child functions.php is substituted. On a later point it get’s overwritten by the include.
So if I move on to the template-builder.class.php where the meta.php is included around line 409 within the function apply_editor_wrap. If I copy over this file to my child, the meta.php from my child will be loaded.
I don’t need to tell that this is a rookie way – developers would/may e. g. refactor the function – otherwise if you like to have a lot of customisation you are forced to include around 50% of the Enfold framework… bad idea. ;)
Just to let you know.
Regards,
JörgHey Axel,
most common things may be configured using a css declaration. So for the homepage you may try this:
.home .title_container {display:none;}
If you like to remove the html source, you may stick with the conditional is_home() and remove the output (which I currently don’t know).
But wait – I think you’re talking about the container holding the title of the page. Well, open up your homepage within the backend and have a look at the Layout section on the right. Just disable the header. :)
Regards,
Jörg
Hey,
as far as I’ve read your first request in Enoia forum, you’d like to have the category base in you URL? If so, you need to configure the Permalinks with /%category%/%postname%/ – otherwise it won’t work.
So it’s a bit unclear to me what you exactly like to achieve. Sorting on portfolio grid or the URL stuff?
Regards
Hey,
what do you like to achieve?
Have a look to the answer in my topic from Dude: https://kriesi.at/support/topic/portfolio-sorting-options/
Do you like to have a full portfolio grid sorted by categories first and within each category then alphabetically? Doesn’t make that much sense because of the filter option…
Otherwise you could manually create pages and put the portfolio with selected cats on it. You may take a look here: http://kunden.formateins.de/kvm/hardware/ > Take a look at the subpages. Maybe it gives you an idea…
Regards
Ok,
nice to hear that. I got that nav meanwhile close to a functional state (still bugs when on subcategory), but code is messy. So I won’t publish that here.
Thanks for your help, guys!
Yeah, stumbled upon the topic on stack exchange (and some others), but they won’t work. Tried also to add the category, but it seems to run out of boundaries when getting into more nested levels.
Otherwise I decide to simply disable the post nav for the portfolio type because it doesn’t make sense there. Won’t give up that fast… ;)
Thanks again for the input! Appreciate that!
I always love endless discussions over the years and nothing is happening… “future release” – so I won’t place a bet on 3.8 for that. :D
Made a first step filling an array with all post id’s based on the sorting (bit tough with the post titles) and which are in the same category currently displayed, so I could walk one entry in each direction, grab post link and title and there we go. Bit messy for now, because it also affects the regular posts so I need to set the post type.
Leave this post open for a few days – I’ll drop the code once it’s finished (and flexible enough). Have to buy another license of Enfold for a new customer… ;)
Cheerio,
Joschi
Another question: while in single portfolio view there’s the prev/next navigation on left/right of the browser window. This func needs to be fixed too, as it still walks through the date created instead of alphabetical sorting.
Screen: http://s7.directupload.net/file/d/3405/yyo8dgd6_jpg.htm
Would be nice if you could point out the avia_hook so I can get this sorted aswell.
Thanks!
Edit:
Having a few looks at the avia_post_nav in function-enfold and I’m sad to say I have to write my own function for this. :( Did have some reading on get_adjacent_post() and this function also hooks on static post_date in prepare call… Doh! This one will be tricky…- This reply was modified 11 years, 1 month ago by formateins.
Hey Peter,
thanks for the quick response. Thought already this way and I’ll try to add this as an option to the builder aswell.
Don’t like to add _any_ additional plugins so I give the manual ordering a shot on my own. :)
Regards,
Joschi
Hi,
just bumping in presenting http://www.pcamobile.de as multilanguage site using WPML.
Progress is still ongoing (especially translation stuff). Don’t blame me for that navigation – customer choice and I had to do it.
Not that much changes mostly CSS (can be found in some of ym other posts) and some javascript opts. Alaso made some mods to the iconbox having it fully linked (custom graphic icons are done by CSS), changed the portfolio ordering to random and made some backend tweaks to the avia builder.
Still expiriencing some weird behaviours with WPML and the layout builder, but this sticks to WPML (and partly to Enfold/Avia).
Looking forward to use Enfold in another project where the navigation will be completly rewritten with a fresh approach and a big addition to the portfolio (selective category display with attached single item slider, maybe with instanced ajax portfolio preview).
Thanks to the support guys who kept up in solving the difficult probs!
*waves*
Seems there’s a css file missing:
I’ve checked this on local unzipped Enfold package and there are no skin files within. So maybe this need to be checked by support. :)
Maybe I didn’t express it correctly. A global setting should always applied, if no individual setting is done. Unfortunately, a individual setting is applied by default when creating a new page/post/portfolio entry. There’s simply a “Default” with no value missing in post meta box. :)
I’ve been thinking to do the replace straight within the database, but for now I’ll leave this as is. Obviously, this wastes a lot of time and could be done by a simple display:none to the socket.
Thanks for getting into it – I’ll save the snippet to my wiki. :)
I’ll test it out and keep you informed (don’t close the thread right now, I do need some time)…
Utilize your brain… on posts/pages you may leave a comment (displaying the comment form). Just create a page (or post), name it guestbook, put a few lines above and there ya go. Depending on the page-id-selector you may also format the display of comments to your needs.
No plugins required. :)
Try to add a text widget above and give it a title. The extra spacing may be corrected with CSS.
Next step:
If I do a search on the dutch site and click on “View all results” the link is pointing to the main site. So I do have to manually add the $lang from the request, because I do use WPML with path setting (no subdomains). As for the primary language, the language setting must be removed.
So I changed in functions-enfold
$output .= "<a class='ajax_search_entry ajax_search_entry_view_all' href='".home_url('?' . $query )."'>".__('View all results','avia_framework')."</a>";
to
<br />
$lurl = $_REQUEST['lang'].'/';
if (empty($_REQUEST['lang']) || $_REQUEST['lang'] == 'de')
{
$lurl = '';
}
$output .= "<a class='ajax_search_entry ajax_search_entry_view_all' href='".home_url($lurl.'?' . $query )."'>".__('View all results','avia_framework')."</a>";Not the best…
Try to do this on your own. Use e. g. Contact Form 7 plugin, create your form and insert the shortcode provided by CF7 into a text widget. ;)
-
AuthorPosts